This test checks the following properties: - when no DOI/PMCID/PMID/URL, in order of priority, appears as plain text in an item, the title should be linkified with one of those identifiers - shortDOIs should be handled correctly, meaning that every shortDOI of the form 10/abcde should be converted to the DOI abcde >>===== MODE =====>> bibliography <<===== MODE =====<< >>===== OPTIONS =====>> { "linkBibliography" : true } <<===== OPTIONS =====<< >>===== RESULT =====>>
Apple. AAAA. 2010
Blueberry. BBBB. 2011
Cherry. CCCC. 2012
Durian. DDDD. 2013
Elderberry. EEEE. 2014
Fig. FFFF. 2015
Grapefruit. GGGG. 2016
Honeydew. HHHH. 2017
<<===== RESULT =====<< >>===== CSL =====>> <<===== CSL =====<< >>===== INPUT =====>> [ { "author": [ { "family": "Apple", "given": "Andrew" } ], "id": "ITEM-A", "type": "book", "title": "AAAA", "DOI": "10.1021/ja01577a030", "issued": { "date-parts": [ [ 2010 ] ] } }, { "author": [ { "family": "Blueberry", "given": "Bethany" } ], "id": "ITEM-B", "type": "book", "title": "BBBB", "DOI": "10/bbbbb", "issued": { "date-parts": [ [ 2011 ] ] } }, { "author": [ { "family": "Cherry", "given": "Carlos" } ], "id": "ITEM-C", "type": "book", "title": "CCCC", "URL": "https://pandoc.org/", "issued": { "date-parts": [ [ 2012 ] ] } }, { "author": [ { "family": "Durian", "given": "Denice" } ], "id": "ITEM-D", "type": "book", "title": "DDDD", "PMID": "30310042", "issued": { "date-parts": [ [ 2013 ] ] } }, { "author": [ { "family": "Elderberry", "given": "Edward" } ], "id": "ITEM-E", "type": "book", "title": "EEEE", "PMCID": "PMC3531190", "issued": { "date-parts": [ [ 2014 ] ] } }, { "author": [ { "family": "Fig", "given": "Francella" } ], "id": "ITEM-F", "type": "book", "title": "FFFF", "DOI": "10/bbbbb", "PMCID": "PMC3531190", "PMID": "30310042", "URL": "https://pandoc.org/", "issued": { "date-parts": [ [ 2015 ] ] } }, { "author": [ { "family": "Grapefruit", "given": "Gordon" } ], "id": "ITEM-G", "type": "book", "title": "GGGG", "PMCID": "PMC3531190", "PMID": "30310042", "URL": "https://pandoc.org/", "issued": { "date-parts": [ [ 2016 ] ] } }, { "author": [ { "family": "Honeydew", "given": "Helen" } ], "id": "ITEM-H", "type": "book", "title": "HHHH", "PMID": "30310042", "URL": "https://pandoc.org/", "issued": { "date-parts": [ [ 2017 ] ] } } ] <<===== INPUT =====<< >>===== VERSION =====>> 1.0 <<===== VERSION =====<<