File tree 1 file changed +10
-1
lines changed
1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -397,7 +397,12 @@ impl TryFrom<&tex::Entry> for Entry {
397
397
if let Some ( parent) = book ( & mut item, parent) {
398
398
parent. set_issue ( number) ;
399
399
} else {
400
- item. set_issue ( number) ;
400
+ match item. entry_type {
401
+ EntryType :: Report | EntryType :: Patent | EntryType :: Entry | EntryType :: Reference => {
402
+ item. set_keyed_serial_number ( "serial" , number. to_string ( ) )
403
+ }
404
+ _ => item. set_issue ( number) ,
405
+ }
401
406
}
402
407
}
403
408
@@ -558,6 +563,10 @@ impl TryFrom<&tex::Entry> for Entry {
558
563
item. set_abstract_ ( abstract_. into ( ) )
559
564
}
560
565
566
+ if let Some ( type_) = map_res ( entry. type_ ( ) ) ? {
567
+ item. set_genre ( type_. into ( ) ) ;
568
+ }
569
+
561
570
if let Some ( series) = map_res ( entry. series ( ) ) ? {
562
571
let title: FormatString = series. into ( ) ;
563
572
let mut new = Entry :: new ( & entry. key , item. entry_type ) ;
You can’t perform that action at this time.
0 commit comments