Add natbib a/b year suffixes for duplicate author-year entries
This commit is contained in:
1 parent
87b6b6e44e
commit
2fca019237
6 files changed
+76
-5
No files matched your search
@@ -99,6 +99,9 @@ pub struct DocumentModel {
|
||||
pub labels: HashMap<String, String>,
|
||||
pub citations: HashMap<String, usize>,
|
||||
pub citation_metadata: HashMap<String, CitationMetadata>,
|
||||
/// Bibliography keys in the order their metadata was declared. Needed to
|
||||
/// assign natbib-style year suffixes (2014a, 2014b, ...) deterministically.
|
||||
pub bibliography_order: Vec<String>,
|
||||
pub author_year_citations: bool,
|
||||
pub footnotes: Vec<Footnote>,
|
||||
pub page_style: PageStyle,
|
||||
@@ -125,6 +128,7 @@ impl Default for DocumentModel {
|
||||
labels: HashMap::new(),
|
||||
citations: HashMap::new(),
|
||||
citation_metadata: HashMap::new(),
|
||||
bibliography_order: Vec::new(),
|
||||
author_year_citations: false,
|
||||
footnotes: Vec::new(),
|
||||
page_style: PageStyle::default(),
|
||||
|
||||
Reference in new issue
Block a user