Annotate href labels with PDF link targets
This commit is contained in:
1 parent
88646c9453
commit
05d7980561
7 files changed
+68
-35
No files matched your search
@@ -99,6 +99,8 @@ pub struct DocumentModel {
|
||||
pub labels: HashMap<String, String>,
|
||||
pub citations: HashMap<String, usize>,
|
||||
pub citation_metadata: HashMap<String, CitationMetadata>,
|
||||
/// Display text -> hyperlink URL for `\href` annotations.
|
||||
pub link_targets: HashMap<String, String>,
|
||||
/// Bibliography keys in the order their metadata was declared. Needed to
|
||||
/// assign natbib-style year suffixes (2014a, 2014b, ...) deterministically.
|
||||
pub bibliography_order: Vec<String>,
|
||||
@@ -128,6 +130,7 @@ impl Default for DocumentModel {
|
||||
labels: HashMap::new(),
|
||||
citations: HashMap::new(),
|
||||
citation_metadata: HashMap::new(),
|
||||
link_targets: HashMap::new(),
|
||||
bibliography_order: Vec::new(),
|
||||
author_year_citations: false,
|
||||
footnotes: Vec::new(),
|
||||
|
||||
Reference in new issue
Block a user