Permalink
Browse files
Add doi field in BibTeX and BibLaTeX export (#1572)
- Loading branch information...
Showing
with
6 additions
and
5 deletions.
-
+3
−2
BibLaTeX.js
-
+3
−3
BibTeX.js
|
@@ -15,7 +15,7 @@ |
|
|
"exportFileData": false,
|
|
|
"useJournalAbbreviation": false
|
|
|
},
|
|
|
"lastUpdated": "2017-08-28 10:55:00"
|
|
|
"lastUpdated": "2018-03-03 14:00:00"
|
|
|
}
|
|
|
|
|
|
|
|
@@ -57,7 +57,8 @@ var revExtraIds = { |
|
|
MR: 'mrnumber',
|
|
|
Zbl: 'zmnumber',
|
|
|
PMCID: 'pmcid',
|
|
|
PMID: 'pmid'
|
|
|
PMID: 'pmid',
|
|
|
DOI: 'doi'
|
|
|
};
|
|
|
|
|
|
// Imported by BibTeX. Exported by BibLaTeX only
|
|
|
|
@@ -19,7 +19,7 @@ |
|
|
"inRepository": true,
|
|
|
"translatorType": 3,
|
|
|
"browserSupport": "gcsv",
|
|
|
"lastUpdated": "2017-12-27 22:23:20"
|
|
|
"lastUpdated": "2018-03-03 13:10:16"
|
|
|
}
|
|
|
|
|
|
function detectImport() {
|
|
@@ -117,8 +117,8 @@ var extraIdentifiers = { |
|
|
//ssrn? http://cyber.law.harvard.edu/cybersecurity/Guidelines_for_adding_Bibliography_entries
|
|
|
};
|
|
|
|
|
|
// Make a reverse map for convenience
|
|
|
var revExtraIds = {};
|
|
|
// Make a reverse map for convenience with additional DOI handling
|
|
|
var revExtraIds = {'DOI': 'doi'};
|
|
|
for(var field in extraIdentifiers) {
|
|
|
revExtraIds[extraIdentifiers[field]] = field;
|
|
|
}
|
|
|
0 comments on commit
01f5b5c