├── .npmrc ├── test └── fixtures │ ├── export │ ├── Should not parse junk.bib │ ├── Should parse comment.bib │ ├── Should not parse junk.csl │ ├── Should parse comment.csl │ ├── Blank citation should not parse.bib │ ├── Blank citation should not parse.csl │ ├── Should not parse junk.json │ ├── Sample test.bib │ ├── Blank citation should not parse.json │ ├── Quote should work.bib │ ├── LaTeX should parse.bib │ ├── Better BibTeX.014.bib │ ├── Sample test.csl │ ├── @jurisdiction; map court,authority to institution #326.biblatex.bib │ ├── Quote should work.csl │ ├── Better BibTeX.006.bib │ ├── Better BibTeX.013.bib │ ├── Better BibTeX.014.csl │ ├── CSL status = biblatex pubstate #573.biblatex.bib │ ├── LaTeX should parse.csl │ ├── auth leaves punctuation in citation key #310.biblatex.bib │ ├── pre not working in Extra field #559.biblatex.bib │ ├── whitespace.bib │ ├── Better BibLaTeX.006.biblatex.bib │ ├── BibLaTeX; export CSL override 'issued' to date or year #351.biblatex.bib │ ├── Spaces lost when expanding string variables during import.bib │ ├── Better BibTeX.026.bibtex.bib │ ├── escape.bib │ ├── Chinese should parse.bib │ ├── Import fails to perform @String substitutions #154.bib │ ├── Better BibTeX.006.csl │ ├── References with multiple notes fail to export #174.biblatex.bib │ ├── Numbers confuse capital-preservation #295.bibtex.bib │ ├── Better BibLaTeX.006.biblatex.csl │ ├── Better BibTeX.005.bib │ ├── Empty bibtex clause in extra gobbles whatever follows #99.bibtex.bib │ ├── Underscores break capital-preservation #300.bibtex.bib │ ├── HTML Fragment separator escaped in url #140 #147.biblatex.bib │ ├── round-braces.bib │ ├── Better BibLaTeX.005.biblatex.bib │ ├── Export mapping for reporter field #219.biblatex.bib │ ├── Should parse citation that starts with number.bib │ ├── bare-string-terminated-by-tab.bib │ ├── Export error for items without publicationTitle and Preserve BibTeX variables enabled #201.biblatex.bib │ ├── month-name-in-brackets.bib │ ├── Better BibTeX.013.csl │ ├── BibTeX variable support for journal titles. #309.biblatex.bib │ ├── Persian should work.bib │ ├── biblatex export of phdthesis does not case-protect -type- #435.biblatex.bib │ ├── CrossRef should parse.bib │ ├── Better BibTeX.012.bib │ ├── @legislation; map code,container-title to journaltitle #327.biblatex.bib │ ├── Book citation should parse.bib │ ├── CSL status = biblatex pubstate #573.biblatex.csl │ ├── underscores in URL fields should not be escaped #104.biblatex.bib │ ├── pre not working in Extra field #559.biblatex.csl │ ├── Better BibTeX.011.bib │ ├── Better BibTeX.027.bibtex.bib │ ├── Better BibTeX.029.bibtex.bib │ ├── Wikipedia should parse.bib │ ├── transliteration for citekey #580.biblatex.bib │ ├── Better BibTeX.008.bib │ ├── biblatex; Language tag xx is exported, xx-XX is not #380.biblatex.bib │ ├── jabref-meta.bib │ ├── Better BibTeX.004.bib │ ├── DOI with underscores in extra field #108.biblatex.bib │ ├── referencetype= does not work #278.biblatex.bib │ ├── Better BibLaTeX.023.biblatex.bib │ ├── Better BibLaTeX.011.biblatex.bib │ ├── Better BibLaTeX.004.biblatex.bib │ ├── Better BibTeX.018.bibtex.bib │ ├── Math parts in title #113.biblatex.bib │ ├── Better BibTeX.026.bibtex.csl │ ├── Should parse citation with publisher.bib │ ├── remove the field if the override is empty #303.biblatex.bib │ ├── Better BibLaTeX.016.biblatex.bib │ ├── Import fails to perform @String substitutions #154.csl │ ├── Sample test.json │ ├── Allow explicit field override.biblatex.bib │ ├── BibTeX name escaping has a million inconsistencies #438.bibtex.bib │ ├── @jurisdiction; map court,authority to institution #326.biblatex.csl │ ├── Dollar sign in title not properly escaped #485.biblatex.bib │ ├── Malformed HTML.biblatex.bib │ ├── Book converted to mvbook #288.biblatex.bib │ ├── Better BibLaTeX.019.biblatex.bib │ ├── Better BibLaTeX.020.biblatex.bib │ ├── don't escape entry key fields for #296.biblatex.bib │ ├── less-or-equal.bib │ ├── Better BibLaTeX.017.biblatex.bib │ ├── arXiv should parse.bib │ ├── Better BibTeX.014.json │ ├── Export Newspaper Article misses section field #132.biblatex.bib │ ├── InspiredHEP should parse.bib │ ├── typo stature-statute (zotero item type) #284.biblatex.bib │ ├── Author splitter failure.bib │ ├── preserve BibTeX Variables does not check for null values while escaping #337.bibtex.bib │ ├── Ignore HTML tags when generating citation key #264.biblatex.bib │ ├── JabRef groupsformat 4.bib │ ├── auth leaves punctuation in citation key #310.biblatex.csl │ ├── bookSection is always converted to @inbook, never @incollection #282.biblatex.bib │ ├── Should handle crazy delimiter.bib │ ├── Better BibLaTeX.003.biblatex.bib │ ├── Do not caps-protect literal lists #391.biblatex.bib │ ├── Empty bibtex clause in extra gobbles whatever follows #99.bibtex.csl │ ├── Spaces lost when expanding string variables during import.csl │ ├── Export Forthcoming as Forthcoming.biblatex.bib │ ├── Chinese should parse.csl │ ├── whitespace.csl │ ├── bibtex; url export does not survive underscores #402.biblatex.bib │ ├── escape.csl │ ├── thesis zotero entries always create @phdthesis bibtex entries #307.biblatex.bib │ ├── Should parse citation that starts with number.csl │ ├── bibtex; url export does not survive underscores #402.bibtex.bib │ ├── Better BibTeX.003.bib │ ├── Better BibTeX.001.bib │ ├── Numbers confuse capital-preservation #295.bibtex.csl │ ├── Failure to handle unparsed author names (92).bib │ ├── Better BibLaTeX.001.biblatex.bib │ ├── Spaces not stripped from citation keys #294.biblatex.bib │ ├── Better BibTeX.002.bib │ ├── Juris-M missing multi-lingual fields #482.biblatex.bib │ ├── LaTeX should parse.json │ ├── Cut off citation should not parse.bib │ ├── Should parse comment.json │ ├── thesis zotero entries always create @phdthesis bibtex entries #307.bibtex.bib │ ├── Better BibLaTeX.002.biblatex.bib │ ├── Better BibLaTeX.013.biblatex.bib │ ├── Better BibLaTeX.015.biblatex.bib │ ├── Inproceeding should parse.bib │ ├── Diacritics stripped from keys regardless of ascii or fold filters #266-fold.biblatex.bib │ ├── Diacritics stripped from keys regardless of ascii or fold filters #266-nofold.biblatex.bib │ ├── Underscores break capital-preservation #300.bibtex.csl │ ├── Be robust against misconfigured journal abbreviator #127.biblatex.bib │ ├── transliteration for citekey #580.biblatex.csl │ ├── Better BibLaTeX.014.biblatex.bib │ ├── Date parses incorrectly with year 1000 when source Zotero field is in datetime format. #515.biblatex.bib │ ├── month-name-in-brackets.csl │ ├── Do not caps-protect literal lists #391.biblatex.csl │ ├── Journal abbreviations exported in bibtex (81).bibtex.bib │ ├── Abbreviations in key generated for Conference Proceedings #548.biblatex.bib │ ├── Better BibLaTeX.021.biblatex.bib │ ├── Better BibTeX.005.csl │ ├── References with multiple notes fail to export #174.biblatex.csl │ ├── @legislation; map code,container-title to journaltitle #327.biblatex.csl │ ├── Better BibLaTeX.012.biblatex.bib │ ├── Better BibTeX does not use biblatex fields eprint and eprinttype #170.biblatex.bib │ ├── Colon in bibtex key #405.biblatex.bib │ ├── bare-string-terminated-by-tab.csl │ ├── Better BibLaTeX.022.biblatex.bib │ ├── condense in cite key format not working #308.biblatex.bib │ ├── Better BibLaTeX.005.biblatex.csl │ ├── Better BibTeX.007.bib │ ├── biblatex export of phdthesis does not case-protect -type- #435.biblatex.csl │ ├── italics in title - capitalization #541.biblatex.bib │ ├── referencetype= does not work #278.biblatex.csl │ ├── Better BibTeX.007.roundtrip.bib │ ├── Better BibTeX.015.csl │ ├── BibLaTeX; export CSL override 'issued' to date or year #351.biblatex.csl │ ├── Export mapping for reporter field #219.biblatex.csl │ ├── BibTeX variable support for journal titles. #309.biblatex.csl │ ├── Better BibTeX.012.csl │ ├── Fields in Extra should override defaults.biblatex.bib │ ├── HTML Fragment separator escaped in url #140 #147.biblatex.csl │ ├── round-braces.csl │ ├── CrossRef should parse.csl │ ├── Better BibLaTeX.007.biblatex.bib │ ├── Malformed HTML.biblatex.csl │ ├── less-or-equal.csl │ ├── Juris-M missing multi-lingual fields #482.juris-m.biblatex.bib │ ├── BibTeX; URL missing in bibtex for Book Section #412.off.bibtex.bib │ ├── Export web page to misc type with notes and howpublished custom fields #329.bibtex.bib │ ├── Better BibTeX.018.bibtex.csl │ ├── Export error for items without publicationTitle and Preserve BibTeX variables enabled #201.biblatex.csl │ ├── Should parse citation with publisher.csl │ ├── Book citation should parse.csl │ ├── German Umlaut separated by brackets #146.biblatex.bib │ └── biblatex; Language tag xx is exported, xx-XX is not #380.biblatex.csl │ └── import │ ├── csl │ ├── Should not parse junk.csl │ ├── Should not parse junk.json │ ├── Should parse comment.csl │ ├── Should parse comment.json │ ├── Blank citation should not parse.csl │ ├── Blank citation should not parse.json │ ├── Sample test.csl │ ├── Quote should work.csl │ ├── Better BibTeX.014.csl │ ├── LaTeX should parse.csl │ ├── Better BibTeX.006.csl │ ├── Better BibLaTeX.006.biblatex.csl │ ├── Better BibTeX.013.csl │ ├── Sample test.json │ ├── Quote should work.json │ ├── CSL status = biblatex pubstate #573.biblatex.csl │ ├── pre not working in Extra field #559.biblatex.csl │ ├── Better BibTeX.014.json │ ├── LaTeX should parse.json │ ├── Better BibTeX.026.bibtex.csl │ ├── Better BibTeX.006.json │ ├── Import fails to perform @String substitutions #154.csl │ ├── @jurisdiction; map court,authority to institution #326.biblatex.csl │ ├── @jurisdiction; map court,authority to institution #326.biblatex.json │ ├── auth leaves punctuation in citation key #310.biblatex.csl │ ├── Empty bibtex clause in extra gobbles whatever follows #99.bibtex.csl │ ├── Spaces lost when expanding string variables during import.csl │ ├── Chinese should parse.csl │ ├── whitespace.csl │ ├── Should parse citation that starts with number.csl │ ├── Numbers confuse capital-preservation #295.bibtex.csl │ ├── Underscores break capital-preservation #300.bibtex.csl │ ├── month-name-in-brackets.csl │ ├── transliteration for citekey #580.biblatex.csl │ ├── Do not caps-protect literal lists #391.biblatex.csl │ ├── Better BibTeX.005.csl │ ├── References with multiple notes fail to export #174.biblatex.csl │ ├── @legislation; map code,container-title to journaltitle #327.biblatex.csl │ ├── bare-string-terminated-by-tab.csl │ ├── Better BibLaTeX.005.biblatex.csl │ ├── biblatex export of phdthesis does not case-protect -type- #435.biblatex.csl │ ├── referencetype= does not work #278.biblatex.csl │ ├── BibLaTeX; export CSL override 'issued' to date or year #351.biblatex.csl │ ├── Better BibTeX.013.json │ ├── Better BibTeX.015.csl │ ├── Export mapping for reporter field #219.biblatex.csl │ ├── BibTeX variable support for journal titles. #309.biblatex.csl │ ├── round-braces.csl │ ├── Better BibTeX.012.csl │ ├── HTML Fragment separator escaped in url #140 #147.biblatex.csl │ ├── CrossRef should parse.csl │ ├── Better BibLaTeX.006.biblatex.json │ ├── Malformed HTML.biblatex.csl │ ├── less-or-equal.csl │ ├── Better BibTeX.018.bibtex.csl │ ├── Export error for items without publicationTitle and Preserve BibTeX variables enabled #201.biblatex.csl │ └── Should parse citation with publisher.csl │ └── bib │ ├── Blank citation should not parse.bib │ ├── Should not parse junk.bib │ ├── Should not parse junk.json │ ├── Sample test.bib │ ├── Blank citation should not parse.json │ ├── LaTeX should parse.bib │ ├── Better BibTeX.014.bib │ ├── Quote should work.bib │ ├── pre not working in Extra field #559.biblatex.bib │ ├── Better BibTeX.006.bib │ ├── whitespace.bib │ ├── CSL status = biblatex pubstate #573.biblatex.bib │ ├── auth leaves punctuation in citation key #310.biblatex.bib │ ├── Spaces lost when expanding string variables during import.bib │ ├── BibLaTeX; export CSL override 'issued' to date or year #351.biblatex.bib │ ├── Better BibLaTeX.006.biblatex.bib │ ├── Chinese should parse.bib │ ├── Better BibTeX.005.bib │ ├── bare-string-terminated-by-tab.bib │ ├── round-braces.bib │ ├── Export error for items without publicationTitle and Preserve BibTeX variables enabled #201.biblatex.bib │ ├── Import fails to perform @String substitutions #154.bib │ ├── Numbers confuse capital-preservation #295.bibtex.bib │ ├── Persian should work.bib │ ├── Underscores break capital-preservation #300.bibtex.bib │ ├── Better BibTeX.012.bib │ ├── Better BibLaTeX.005.biblatex.bib │ ├── HTML Fragment separator escaped in url #140 #147.biblatex.bib │ ├── References with multiple notes fail to export #174.biblatex.bib │ ├── CrossRef should parse.bib │ ├── month-name-in-brackets.bib │ ├── Book citation should parse.bib │ ├── Better BibTeX.004.bib │ ├── @jurisdiction; map court,authority to institution #326.biblatex.bib │ ├── Better BibTeX.008.bib │ ├── BibTeX variable support for journal titles. #309.biblatex.bib │ ├── biblatex export of phdthesis does not case-protect -type- #435.biblatex.bib │ ├── underscores in URL fields should not be escaped #104.biblatex.bib │ ├── Better BibTeX.026.bibtex.bib │ ├── Wikipedia should parse.bib │ ├── Cut off citation should not parse.bib │ ├── Better BibTeX.013.bib │ ├── Empty bibtex clause in extra gobbles whatever follows #99.bibtex.bib │ ├── Sample test.json │ ├── Should handle crazy delimiter.bib │ ├── Better BibLaTeX.023.biblatex.bib │ ├── Author splitter failure.bib │ ├── Should parse citation with publisher.bib │ ├── referencetype= does not work #278.biblatex.bib │ ├── DOI with underscores in extra field #108.biblatex.bib │ ├── biblatex; Language tag xx is exported, xx-XX is not #380.biblatex.bib │ ├── transliteration for citekey #580.biblatex.bib │ ├── Export mapping for reporter field #219.biblatex.bib │ ├── Better BibLaTeX.016.biblatex.bib │ ├── Better BibTeX.014.json │ ├── Better BibTeX.003.bib │ ├── Better BibTeX.018.bibtex.bib │ ├── Allow explicit field override.biblatex.bib │ ├── Better BibLaTeX.004.biblatex.bib │ ├── Better BibLaTeX.019.biblatex.bib │ ├── Malformed HTML.biblatex.bib │ ├── Better BibLaTeX.017.biblatex.bib │ ├── Better BibLaTeX.003.biblatex.bib │ ├── Better BibLaTeX.020.biblatex.bib │ ├── BibTeX name escaping has a million inconsistencies #438.bibtex.bib │ ├── Dollar sign in title not properly escaped #485.biblatex.bib │ ├── remove the field if the override is empty #303.biblatex.bib │ ├── Better BibTeX.027.bibtex.bib │ ├── Better BibTeX.029.bibtex.bib │ ├── Book converted to mvbook #288.biblatex.bib │ ├── Math parts in title #113.biblatex.bib │ ├── @legislation; map code,container-title to journaltitle #327.biblatex.bib │ ├── Should parse citation that starts with number.bib │ ├── Export Newspaper Article misses section field #132.biblatex.bib │ ├── Handle origdate.biblatex.bib │ ├── Better BibTeX.002.bib │ ├── Better BibLaTeX.001.biblatex.bib │ ├── Do not caps-protect literal lists #391.biblatex.bib │ ├── bibtex; url export does not survive underscores #402.biblatex.bib │ ├── don't escape entry key fields for #296.biblatex.bib │ ├── less-or-equal.bib │ ├── Better BibLaTeX.013.biblatex.bib │ ├── Better BibLaTeX.015.biblatex.bib │ ├── Better BibLaTeX.014.biblatex.bib │ ├── Better BibTeX.001.bib │ ├── bookSection is always converted to @inbook, never @incollection #282.biblatex.bib │ ├── preserve BibTeX Variables does not check for null values while escaping #337.bibtex.bib │ ├── Ignore HTML tags when generating citation key #264.biblatex.bib │ ├── bibtex; url export does not survive underscores #402.bibtex.bib │ ├── LaTeX should parse.json │ ├── arXiv should parse.bib │ ├── Should parse comment.json │ ├── Export Forthcoming as Forthcoming.biblatex.bib │ ├── Better BibTeX.011.bib │ ├── thesis zotero entries always create @phdthesis bibtex entries #307.biblatex.bib │ ├── Better BibLaTeX.011.biblatex.bib │ ├── Abbreviations in key generated for Conference Proceedings #548.biblatex.bib │ ├── thesis zotero entries always create @phdthesis bibtex entries #307.bibtex.bib │ ├── typo stature-statute (zotero item type) #284.biblatex.bib │ ├── Failure to handle unparsed author names (92).bib │ ├── Should parse comment.bib │ ├── Better BibLaTeX.002.biblatex.bib │ ├── Journal abbreviations exported in bibtex (81).bibtex.bib │ ├── Spaces not stripped from citation keys #294.biblatex.bib │ ├── InspiredHEP should parse.bib │ ├── Inproceeding should parse.bib │ ├── Better BibLaTeX.012.biblatex.bib │ ├── Diacritics stripped from keys regardless of ascii or fold filters #266-fold.biblatex.bib │ ├── Diacritics stripped from keys regardless of ascii or fold filters #266-nofold.biblatex.bib │ ├── BibTeX; URL missing in bibtex for Book Section #412.off.bibtex.bib │ ├── Better BibTeX.007.bib │ ├── Colon in bibtex key #405.biblatex.bib │ ├── Be robust against misconfigured journal abbreviator #127.biblatex.bib │ ├── condense in cite key format not working #308.biblatex.bib │ ├── Better BibTeX does not use biblatex fields eprint and eprinttype #170.biblatex.bib │ ├── Better BibTeX.007.roundtrip.bib │ ├── Better BibLaTeX.022.biblatex.bib │ ├── Date parses incorrectly with year 1000 when source Zotero field is in datetime format. #515.biblatex.bib │ ├── Better BibLaTeX.007.biblatex.bib │ ├── BibTeX; URL missing in bibtex for Book Section #412.url.bibtex.bib │ ├── Juris-M missing multi-lingual fields #482.biblatex.bib │ └── BibTeX; URL missing in bibtex for Book Section #412.note.bibtex.bib ├── .editorconfig ├── .prettierignore ├── .prettierrc ├── src ├── build │ ├── browser-import-csl.js │ ├── browser-export-csl.js │ ├── browser-import-bibtex.js │ ├── browser-export-biblatex.js │ └── browser-biblatex-csl-converter.js ├── export │ └── const.ts ├── unescape-csl.ts └── index.ts ├── rollup.config.dts.mjs ├── .ackrc ├── .gitignore ├── rollup.config.es.mjs ├── .npmignore ├── .babelrc ├── tsconfig.json ├── browser └── README.md └── .github └── workflows └── npm.yml /.npmrc: -------------------------------------------------------------------------------- 1 | legacy-peer-deps=true 2 | -------------------------------------------------------------------------------- /test/fixtures/export/Should not parse junk.bib: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/export/Should parse comment.bib: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/export/Should not parse junk.csl: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /test/fixtures/export/Should parse comment.csl: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /test/fixtures/export/Blank citation should not parse.bib: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/Should not parse junk.csl: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/Should not parse junk.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/Should parse comment.csl: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/Should parse comment.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /test/fixtures/export/Blank citation should not parse.csl: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Blank citation should not parse.bib: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/Blank citation should not parse.csl: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/Blank citation should not parse.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /test/fixtures/export/Should not parse junk.json: -------------------------------------------------------------------------------- 1 | { 2 | "entries": {} 3 | } 4 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 4 6 | -------------------------------------------------------------------------------- /test/fixtures/export/Sample test.bib: -------------------------------------------------------------------------------- 1 | @article{sample1, 2 | title = {sample title} 3 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/Should not parse junk.bib: -------------------------------------------------------------------------------- 1 | 2 | fsdfasdfsadfsdafasdfsdafdsa 3 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Should not parse junk.json: -------------------------------------------------------------------------------- 1 | { 2 | "entries": {} 3 | } 4 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | lib/ 2 | gh-pages/ 3 | browser/ 4 | .nyc_output/ 5 | tmp/ 6 | coverage/ 7 | -------------------------------------------------------------------------------- /test/fixtures/export/Blank citation should not parse.json: -------------------------------------------------------------------------------- 1 | { 2 | "entries": {} 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Sample test.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{sample1,title={sample title}} 3 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "tabWidth": 4, 3 | "useTabs": false, 4 | "semi": false 5 | } 6 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Blank citation should not parse.json: -------------------------------------------------------------------------------- 1 | { 2 | "entries": {} 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/export/Quote should work.bib: -------------------------------------------------------------------------------- 1 | @article{sample1, 2 | title = {sample "Quote" title} 3 | } -------------------------------------------------------------------------------- /src/build/browser-import-csl.js: -------------------------------------------------------------------------------- 1 | import { CSLParser } from "../import/csl" 2 | 3 | global.CSLParser = CSLParser 4 | -------------------------------------------------------------------------------- /test/fixtures/export/LaTeX should parse.bib: -------------------------------------------------------------------------------- 1 | @article{sample1, 2 | title = {'Isample title extregistered  n  n} 3 | } -------------------------------------------------------------------------------- /src/build/browser-export-csl.js: -------------------------------------------------------------------------------- 1 | import { CSLExporter } from "../export/csl" 2 | 3 | global.CSLExporter = CSLExporter 4 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/LaTeX should parse.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{sample1,title={'Isample title extregistered ~n {~n}}} 3 | -------------------------------------------------------------------------------- /test/fixtures/export/Better BibTeX.014.bib: -------------------------------------------------------------------------------- 1 | @article{BibTeXEscapeTest1, 2 | title = {Escaped backslash followed by \{ \} : 3 | } 4 | } -------------------------------------------------------------------------------- /src/build/browser-import-bibtex.js: -------------------------------------------------------------------------------- 1 | import { BibLatexParser } from "../import/biblatex" 2 | 3 | global.BibLatexParser = BibLatexParser 4 | -------------------------------------------------------------------------------- /src/build/browser-export-biblatex.js: -------------------------------------------------------------------------------- 1 | import { BibLatexExporter } from "../export/biblatex" 2 | 3 | global.BibLatexExporter = BibLatexExporter 4 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibTeX.014.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{BibTeXEscapeTest1, 3 | title = {Escaped backslash followed by \{\}: \\{}} 4 | } 5 | -------------------------------------------------------------------------------- /test/fixtures/export/Sample test.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "title": "sample title", 4 | "type": "article", 5 | "id": "1" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Quote should work.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{sample1, 3 | title={sample "Quote" title}, 4 | name={sample "Quote" title"} 5 | } 6 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/Sample test.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "title": "sample title", 4 | "type": "article", 5 | "id": "1" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /test/fixtures/export/@jurisdiction; map court,authority to institution #326.biblatex.bib: -------------------------------------------------------------------------------- 1 | @misc{_dalain_2010, 2 | date = {2010-12-23}, 3 | langid = {french}, 4 | title = {Dalain} 5 | } -------------------------------------------------------------------------------- /test/fixtures/export/Quote should work.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "title": "sample \"Quote\" title", 4 | "type": "article", 5 | "id": "1" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/Quote should work.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "title": "sample \"Quote\" title", 4 | "type": "article", 5 | "id": "1" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /test/fixtures/export/Better BibTeX.006.bib: -------------------------------------------------------------------------------- 1 | @article{test-ticket1661, 2 | title = {non-braking space:  ; accented characters: ñ {and} ñ; tilde in URL: {\url{http://example.com/~user}}} 3 | } -------------------------------------------------------------------------------- /test/fixtures/export/Better BibTeX.013.bib: -------------------------------------------------------------------------------- 1 | @book{id, 2 | title = {Filename character test. Relative path} 3 | } 4 | 5 | @book{id2, 6 | title = {Filename character test. Absolute path} 7 | } -------------------------------------------------------------------------------- /test/fixtures/export/Better BibTeX.014.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "title": "Escaped backslash followed by {}: \n", 4 | "type": "article", 5 | "id": "1" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /test/fixtures/export/CSL status = biblatex pubstate #573.biblatex.bib: -------------------------------------------------------------------------------- 1 | @book{doe_title_????, 2 | author = {given={John}, family={Doe}}, 3 | pubstate = {forthcoming}, 4 | title = {Title} 5 | } -------------------------------------------------------------------------------- /test/fixtures/export/LaTeX should parse.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "title": "'isample title extregistered  n  n", 4 | "type": "article", 5 | "id": "1" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /test/fixtures/export/auth leaves punctuation in citation key #310.biblatex.bib: -------------------------------------------------------------------------------- 1 | @book{Ohara2015, 2 | date = {2015}, 3 | author = {given={james}, family={O'hara}}, 4 | title = {A Testbook} 5 | } -------------------------------------------------------------------------------- /test/fixtures/export/pre not working in Extra field #559.biblatex.bib: -------------------------------------------------------------------------------- 1 | @article{Brons:pretest, 2 | author = {given={Morten}, family={Brøns}}, 3 | note = {Hello hej}, 4 | title = {pretest} 5 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/pre not working in Extra field #559.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{Brons:pretest, 3 | author = {Brøns, Morten}, 4 | note = {Hello hej }, 5 | title = {$pretest$} 6 | } 7 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/Better BibTeX.014.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "title": "Escaped backslash followed by {}: \n", 4 | "type": "article", 5 | "id": "1" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/LaTeX should parse.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "title": "'isample title extregistered  n  n", 4 | "type": "article", 5 | "id": "1" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /test/fixtures/export/whitespace.bib: -------------------------------------------------------------------------------- 1 | @article{SomeKey, 2 | date = {2017}, 3 | author = {given={John}, family={Doe}}, 4 | title = {Foo Bar}, 5 | journaltitle = {Transactions on Foobar}, 6 | volume = {42} 7 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibTeX.006.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{test-ticket1661, 3 | title = {non-braking space: ~; accented characters: {\~n} and \~{n}; tilde in URL: \url{http://example.com/~user}} 4 | } 5 | -------------------------------------------------------------------------------- /rollup.config.dts.mjs: -------------------------------------------------------------------------------- 1 | import dts from "rollup-plugin-dts" 2 | 3 | export default { 4 | input: "src/index.ts", 5 | output: [{ file: "lib/index.d.ts", format: "es" }], 6 | plugins: [dts()], 7 | } 8 | -------------------------------------------------------------------------------- /test/fixtures/export/Better BibLaTeX.006.biblatex.bib: -------------------------------------------------------------------------------- 1 | @article{test-ticket1661, 2 | title = {Non-Breaking Space: ; Accented Characters: Ñ {and} Ñ; Tilde in {{URL}}: http://example.com/{\textasciitilde}user} 3 | } -------------------------------------------------------------------------------- /.ackrc: -------------------------------------------------------------------------------- 1 | --ignore-directory=is:lib 2 | --ignore-directory=is:gh-pages 3 | --ignore-directory=is:browser 4 | --ignore-directory=is:venv 5 | --ignore-directory=is:coverage 6 | --ignore-file=is:demo-transpiled.js 7 | 8 | -------------------------------------------------------------------------------- /test/fixtures/export/BibLaTeX; export CSL override 'issued' to date or year #351.biblatex.bib: -------------------------------------------------------------------------------- 1 | @online{doe_test, 2 | date = {2014-12-31/2015-01-01}, 3 | author = {given={John}, family={Doe}}, 4 | title = {Test} 5 | } -------------------------------------------------------------------------------- /test/fixtures/export/Spaces lost when expanding string variables during import.bib: -------------------------------------------------------------------------------- 1 | @article{key, 2 | date = {1990}, 3 | author = {{Author}}, 4 | title = {Title}, 5 | journaltitle = {a space between this {and} this} 6 | } -------------------------------------------------------------------------------- /test/fixtures/export/Better BibTeX.026.bibtex.bib: -------------------------------------------------------------------------------- 1 | @unpublished{traumNDcomputationalmodelsnoncooperative, 2 | author = {given={David}, family={Traum}}, 3 | title = {Computational {{Models}} of {{Non}}-Cooperative Dialogue} 4 | } -------------------------------------------------------------------------------- /test/fixtures/export/escape.bib: -------------------------------------------------------------------------------- 1 | @article{unescaped_html, 2 | date = {2009}, 3 | author = {given={Peter}, family={H.T.M.L.}}, 4 | title = {A title with Style!}, 5 | journaltitle = {Issues with unescaped HTML} 6 | } -------------------------------------------------------------------------------- /test/fixtures/export/Chinese should parse.bib: -------------------------------------------------------------------------------- 1 | @article{羊憶蓉1999人的素質提昇之重要性, 2 | date = {1999}, 3 | title = {人的素質提昇之重要性--建立在法治精神之上的多元主義}, 4 | author = {{羊憶蓉}}, 5 | journaltitle = {人的素質--[人文關懷與社會實踐] 國際學術研討會論文集}, 6 | pages = {174--180} 7 | } -------------------------------------------------------------------------------- /test/fixtures/export/Import fails to perform @String substitutions #154.bib: -------------------------------------------------------------------------------- 1 | @book{Bert:2001:SQL, 2 | author = {given={R. A.}, family={Bert}}, 3 | title = {SQL is great}, 4 | publisher = {Freds Publishing}, 5 | location = {London, UK} 6 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/whitespace.bib: -------------------------------------------------------------------------------- 1 | @article{SomeKey, 2 | author = {John Doe}, 3 | title = {Foo Bar}, 4 | journal= {Transactions on Foobar}, 5 | volume = {42}, 6 | year ={2017} 7 | } 8 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/CSL status = biblatex pubstate #573.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @book{doe_title_????, 3 | author = {Doe, John}, 4 | pubstate = {forthcoming}, 5 | timestamp = {2015-02-24 12:14:36 +0100}, 6 | title = {Title} 7 | } 8 | -------------------------------------------------------------------------------- /test/fixtures/export/Better BibTeX.006.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "title": "non-braking space:  ; accented characters: ñ and ñ; tilde in URL: http://example.com/~user", 4 | "type": "article", 5 | "id": "1" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/auth leaves punctuation in citation key #310.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @book{Ohara2015, 3 | author = {O'hara, james}, 4 | date = {2015}, 5 | timestamp = {2015-02-24 12:14:36 +0100}, 6 | title = {A Testbook} 7 | } 8 | 9 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | lib/ 3 | venv/ 4 | coverage/ 5 | gh-pages/*.js 6 | gh-pages/*.js.map 7 | browser/*.js 8 | browser/*.js.map 9 | tmp/ 10 | .nyc_output 11 | .vscode 12 | package-lock.json 13 | yarn.lock 14 | .direnv/ 15 | .envrc 16 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/Better BibTeX.006.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "title": "non-braking space:  ; accented characters: ñ and ñ; tilde in URL: http://example.com/~user", 4 | "type": "article", 5 | "id": "1" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /test/fixtures/export/References with multiple notes fail to export #174.biblatex.bib: -------------------------------------------------------------------------------- 1 | @misc{Torre2008, 2 | date = {2008}, 3 | annotation = {note 2}, 4 | author = {given={Joe}, family={Torre} and given={Tom}, family={Verducci}}, 5 | title = {{{XYZZY}}} 6 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/Spaces lost when expanding string variables during import.bib: -------------------------------------------------------------------------------- 1 | @string{j = {a space between this }} 2 | @article{key, 3 | author = "Author", 4 | title = "Title", 5 | year = 1990, 6 | journal = j # "and this" 7 | } 8 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/BibLaTeX; export CSL override 'issued' to date or year #351.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @online{doe_test, 3 | author = {Doe, John}, 4 | date = {2014-12-31/2015-01-01}, 5 | timestamp = {2015-02-24 12:14:36 +0100}, 6 | title = {Test} 7 | } 8 | -------------------------------------------------------------------------------- /test/fixtures/export/Numbers confuse capital-preservation #295.bibtex.bib: -------------------------------------------------------------------------------- 1 | @article{zotero-1855286-1414, 2 | note = {{\url{http://www.patanalyse.com/sample-analysis.html}}}, 3 | title = {Patent {{Landscape}} Analysis: Sample from {{S40RTS}}}, 4 | urldate = {2014-10-18} 5 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibLaTeX.006.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{test-ticket1661, 3 | timestamp = {2015-02-24 12:14:36 +0100}, 4 | title = {Non-Breaking Space: ; Accented Characters: Ñ and Ñ; Tilde in {{URL}}: {{http://example.com/\textasciitilde{}user}}} 5 | } 6 | 7 | -------------------------------------------------------------------------------- /test/fixtures/export/Better BibLaTeX.006.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "title": "Non-breaking space: ; accented characters: Ñ and Ñ; tilde in URL: http://example.com/~user", 4 | "type": "article", 5 | "id": "1" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /test/fixtures/export/Better BibTeX.005.bib: -------------------------------------------------------------------------------- 1 | @article{Oliveira_2009, 2 | date = {2009}, 3 | title = {USGS monitoring ecological impacts}, 4 | volume = {107}, 5 | number = {29}, 6 | journaltitle = {Oil {\&} Gas Journal}, 7 | author = {given={A}, family={Oliveira}}, 8 | pages = {29} 9 | } -------------------------------------------------------------------------------- /test/fixtures/export/Empty bibtex clause in extra gobbles whatever follows #99.bibtex.bib: -------------------------------------------------------------------------------- 1 | @book{2014, 2 | date = {2014}, 3 | note = {{\url{http://ptolemy.org/books/Systems}}}, 4 | publisher = {Ptolemy.org}, 5 | title = {System Design, Modeling, {and} Simulation Using {{Ptolemy II}}} 6 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/Chinese should parse.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{羊憶蓉1999人的素質提昇之重要性, 3 | title={人的素質提昇之重要性--建立在法治精神之上的多元主義}, 4 | author={羊憶蓉}, 5 | journal={人的素質--[人文關懷與社會實踐] 國際學術研討會論文集}, 6 | pages={174--180}, 7 | year={1999}, 8 | publisher={法鼓人文社會學院} 9 | } 10 | -------------------------------------------------------------------------------- /rollup.config.es.mjs: -------------------------------------------------------------------------------- 1 | import typescript from "@rollup/plugin-typescript" 2 | 3 | export default { 4 | input: "src/index.ts", 5 | output: { 6 | sourcemap: true, 7 | }, 8 | plugins: [typescript({ sourceMap: true })], 9 | external: ["xregexp"], 10 | } 11 | -------------------------------------------------------------------------------- /test/fixtures/export/Underscores break capital-preservation #300.bibtex.bib: -------------------------------------------------------------------------------- 1 | @article{zotero-1855286-1414, 2 | note = {{\url{http://www.patanalyse.com/sample-analysis.html}}}, 3 | title = {Patent {{Landscape}} Analysis: Sample from {{SPECFEM3D}}{\_}{{GLOBE}}}, 4 | urldate = {2014-10-18} 5 | } -------------------------------------------------------------------------------- /test/fixtures/import/csl/Better BibLaTeX.006.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "title": "Non-breaking space: ; accented characters: Ñ and Ñ; tilde in URL: http://example.com/~user", 4 | "type": "article", 5 | "id": "1" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /test/fixtures/export/HTML Fragment separator escaped in url #140 #147.biblatex.bib: -------------------------------------------------------------------------------- 1 | @misc{MacFarlaneJohna, 2 | author = {given={John}, family={MacFarlane}}, 3 | title = {Pandoc {{User}}’s {{Guide}}}, 4 | url = {http://johnmacfarlane.net/pandoc/README.html#citations}, 5 | urldate = {2015-01-31} 6 | } -------------------------------------------------------------------------------- /test/fixtures/export/round-braces.bib: -------------------------------------------------------------------------------- 1 | @report{McDermott:72, 2 | date = {1972-05}, 3 | author = {given={Drew V.}, family={McDermott} and given={Gerald J.}, family={Sussman}}, 4 | institution = {MIT Artificial Intelligence Laboratory}, 5 | title = {The {{\textsc{CONNIVER}}} Reference Manual} 6 | } -------------------------------------------------------------------------------- /test/fixtures/export/Better BibLaTeX.005.biblatex.bib: -------------------------------------------------------------------------------- 1 | @article{Oliveira_2009, 2 | date = {2009}, 3 | author = {given={A}, family={Oliveira}}, 4 | journaltitle = {Oil {\&} Gas Journal}, 5 | number = {29}, 6 | pages = {29}, 7 | title = {{{USGS}} Monitoring Ecological Impacts}, 8 | volume = {107} 9 | } -------------------------------------------------------------------------------- /test/fixtures/export/Export mapping for reporter field #219.biblatex.bib: -------------------------------------------------------------------------------- 1 | @misc{kartinyeri, 2 | date = {1998-04-01}, 3 | author = {given={Kaetinyeri}, family={Commonwealth}, prefix={v}, useprefix=true}, 4 | keywords = {au}, 5 | shorttitle = {Kartinyeri}, 6 | title = {Kartinyeri v {{Commonwealth}}} 7 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibTeX.005.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{Oliveira_2009, 3 | title = {USGS monitoring ecological impacts}, 4 | volume = {107}, 5 | number = {29}, 6 | journal = {Oil \& Gas Journal}, 7 | author = {Oliveira, A}, 8 | year = {2009}, 9 | pages = {29} 10 | } 11 | -------------------------------------------------------------------------------- /test/fixtures/export/Should parse citation that starts with number.bib: -------------------------------------------------------------------------------- 1 | @report{2013current, 2 | date = {2013}, 3 | author = {given={Kelly A.}, family={Lack}}, 4 | institution = {Ithaka S+R}, 5 | keywords = {0sotl}, 6 | title = {Current Status of Research on Online Learning in Postsecondary Education} 7 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/bare-string-terminated-by-tab.bib: -------------------------------------------------------------------------------- 1 | @book(Warren:78, 2 | author = {Beatrice Warren}, 3 | year = {1978}, 4 | publisher = {Acta Universitatis Gothoburgen}, 5 | title = "Semantic Patterns of Noun-Noun Compound", 6 | series = {Gothenburg Studies in English}, 7 | volume = 41 8 | ) 9 | -------------------------------------------------------------------------------- /test/fixtures/export/bare-string-terminated-by-tab.bib: -------------------------------------------------------------------------------- 1 | @book{Warren:78, 2 | date = {1978}, 3 | author = {given={Beatrice}, family={Warren}}, 4 | publisher = {Acta Universitatis Gothoburgen}, 5 | title = {Semantic Patterns of Noun-Noun Compound}, 6 | series = {Gothenburg Studies in English}, 7 | volume = {41} 8 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/round-braces.bib: -------------------------------------------------------------------------------- 1 | @String{MCDERMOTT = "McDermott, Drew V."} 2 | @techreport(McDermott:72, 3 | author = MCDERMOTT # { and Gerald J. Sussman}, 4 | year = {1972}, 5 | month = May, 6 | institution = {MIT Artificial Intelligence Laboratory}, 7 | title = {The {\sc CONNIVER} Reference Manual} 8 | ) 9 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Export error for items without publicationTitle and Preserve BibTeX variables enabled #201.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @book{Blandford2006, 3 | author = {Blandford, Roger D. and Thorne, Kip S.}, 4 | date = {2006}, 5 | publisher = {{Caltech}}, 6 | title = {Applications of {{Classical Physics}}} 7 | } 8 | 9 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Import fails to perform @String substitutions #154.bib: -------------------------------------------------------------------------------- 1 | 2 | @String{pub-FRED = "Freds Publishing"} 3 | @String{pub-FRED:adr = "London, UK"} 4 | 5 | @Book{Bert:2001:SQL, 6 | author = "R. A. Bert", 7 | title = "SQL is great", 8 | publisher = pub-FRED, 9 | address = pub-FRED:adr, 10 | } 11 | -------------------------------------------------------------------------------- /src/build/browser-biblatex-csl-converter.js: -------------------------------------------------------------------------------- 1 | import { BibLatexExporter } from "../export/biblatex" 2 | import { BibLatexParser } from "../import/biblatex" 3 | import { CSLExporter } from "../export/csl" 4 | 5 | global.CSLExporter = CSLExporter 6 | global.BibLatexParser = BibLatexParser 7 | global.BibLatexExporter = BibLatexExporter 8 | -------------------------------------------------------------------------------- /test/fixtures/export/Export error for items without publicationTitle and Preserve BibTeX variables enabled #201.biblatex.bib: -------------------------------------------------------------------------------- 1 | @book{Blandford2006, 2 | date = {2006}, 3 | author = {given={Roger D.}, family={Blandford} and given={Kip S.}, family={Thorne}}, 4 | publisher = {Caltech}, 5 | title = {Applications of {{Classical Physics}}} 6 | } -------------------------------------------------------------------------------- /test/fixtures/export/month-name-in-brackets.bib: -------------------------------------------------------------------------------- 1 | @incollection{2014, 2 | date = {2014-10}, 3 | doi = {10.1002/9781119019138.ch10}, 4 | url = {https://doi.org/10.1002%2F9781119019138.ch10}, 5 | publisher = {John Wiley {\&} Sons, Ltd}, 6 | pages = {159--169}, 7 | title = {The Origins of Bitcoin}, 8 | booktitle = {Understanding Bitcoin} 9 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/Numbers confuse capital-preservation #295.bibtex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{zotero-1855286-1414, 3 | note = {\url{http://www.patanalyse.com/sample-analysis.html}}, 4 | timestamp = {2015-02-24 12:14:36 +0100}, 5 | title = {Patent {{Landscape}} Analysis: Sample from {{S40RTS}}}, 6 | urldate = {2014-10-18} 7 | } 8 | 9 | -------------------------------------------------------------------------------- /test/fixtures/export/Better BibTeX.013.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "title": "Filename character test. Relative path", 4 | "type": "book", 5 | "id": "1" 6 | }, 7 | "2": { 8 | "title": "Filename character test. Absolute path", 9 | "type": "book", 10 | "id": "2" 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/Better BibTeX.013.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "title": "Filename character test. Relative path", 4 | "type": "book", 5 | "id": "1" 6 | }, 7 | "2": { 8 | "title": "Filename character test. Absolute path", 9 | "type": "book", 10 | "id": "2" 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /test/fixtures/export/BibTeX variable support for journal titles. #309.biblatex.bib: -------------------------------------------------------------------------------- 1 | @article{blahut_capacity, 2 | date = {1972}, 3 | author = {given={Richard E}, family={Blahut}}, 4 | journaltitle = IEEE_J_IT , 5 | number = {4}, 6 | pages = {460--473}, 7 | title = {Computation of Channel Capacity {and} Rate-Distortion Functions}, 8 | volume = {18} 9 | } -------------------------------------------------------------------------------- /test/fixtures/export/Persian should work.bib: -------------------------------------------------------------------------------- 1 | @article{داودی2015بررسی, 2 | date = {2015}, 3 | title = {بررسی مکانیزمهای سایش و عمر ابزار در تراشکاری سوپرآلیاژ پایه آهن-نیکل N-155}, 4 | author = {given={بهنام}, family={داودی} and {بهنام} and {اسکندری} and {بهزاد}}, 5 | journaltitle = {مهندسی مکانیک مدرس}, 6 | volume = {14}, 7 | pages = {51--58} 8 | } -------------------------------------------------------------------------------- /test/fixtures/export/biblatex export of phdthesis does not case-protect -type- #435.biblatex.bib: -------------------------------------------------------------------------------- 1 | @thesis{TayW12, 2 | date = {2012}, 3 | author = {given={Luis Roberto}, family={Tay Wo Chong Hilares}}, 4 | institution = {TU München}, 5 | title = {Numerical {{Simulation}} of the {{Dynamics}} of {{Turbulent Swirling Flames}}}, 6 | type = {PhD Thesis} 7 | } -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | docs/ 2 | !lib/* 3 | .travis/ 4 | test/ 5 | .nyc_output/ 6 | .travis.yml 7 | venv/ 8 | coverage/ 9 | .direnv/ 10 | .envrc 11 | gh-pages/ 12 | browser/ 13 | .nyc_output/ 14 | coverage/ 15 | tmp/ 16 | src/ 17 | .github/ 18 | .editorconfig 19 | .prettierignore 20 | .prettierrc 21 | .ackrc 22 | .babelrc 23 | .eslintrc 24 | README.md 25 | -------------------------------------------------------------------------------- /test/fixtures/export/CrossRef should parse.bib: -------------------------------------------------------------------------------- 1 | @article{Peters_2004, 2 | date = {2004}, 3 | title = {Bibtex from CrossRef}, 4 | issn = {0263-9475}, 5 | url = {http://dx.doi.org/10.2307/25564177}, 6 | doi = {10.2307/25564177}, 7 | number = {109}, 8 | journaltitle = {Circa}, 9 | author = {given={Robert}, family={Peters}}, 10 | pages = {24} 11 | } -------------------------------------------------------------------------------- /test/fixtures/export/Better BibTeX.012.bib: -------------------------------------------------------------------------------- 1 | @incollection{moller2012conceptsrisksafety, 2 | date = {2012}, 3 | title = {{{The Concepts of Risk {and} Safety}}}, 4 | booktitle = {{{Handbook of Risk Theory: Epistemology, Decision Theory, Ethics, {and} Social Implications of Risk}}}, 5 | publisher = {Springer}, 6 | author = {given={Niklas}, family={Möller}} 7 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/Persian should work.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{داودی2015بررسی, 3 | title={بررسی مکانیزمهای سایش و عمر ابزار در تراشکاری سوپرآلیاژ پایه آهن-نیکل N-155 }, 4 | author={داودی, بهنام and بهنام and اسکندری and بهزاد}, 5 | journal={مهندسی مکانیک مدرس}, 6 | volume={14}, 7 | pages={51--58}, 8 | year={2015} 9 | } 10 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Underscores break capital-preservation #300.bibtex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{zotero-1855286-1414, 3 | note = {\url{http://www.patanalyse.com/sample-analysis.html}}, 4 | timestamp = {2015-02-24 12:14:36 +0100}, 5 | title = {Patent {{Landscape}} Analysis: Sample from {{SPECFEM3D}}\_{{GLOBE}}}, 6 | urldate = {2014-10-18} 7 | } 8 | 9 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibTeX.012.bib: -------------------------------------------------------------------------------- 1 | 2 | @incollection{moller2012conceptsrisksafety, 3 | title = {{The Concepts of Risk and Safety}}, 4 | booktitle = {{Handbook of Risk Theory: Epistemology, Decision Theory, Ethics, and Social Implications of Risk}}, 5 | publisher = {{Springer}}, 6 | author = {M\"{o}ller, Niklas}, 7 | year = {2012} 8 | } 9 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibLaTeX.005.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{Oliveira_2009, 3 | author = {Oliveira, A}, 4 | date = {2009}, 5 | journaltitle = {Oil \& Gas Journal}, 6 | number = {29}, 7 | pages = {29}, 8 | timestamp = {2015-02-24 12:14:36 +0100}, 9 | title = {{{USGS}} Monitoring Ecological Impacts}, 10 | volume = {107} 11 | } 12 | 13 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/HTML Fragment separator escaped in url #140 #147.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @archived{MacFarlaneJohna, 3 | author = {MacFarlane, John}, 4 | timestamp = {2015-02-24 12:14:36 +0100}, 5 | title = {Pandoc {{User}}’s {{Guide}}}, 6 | url = {http://johnmacfarlane.net/pandoc/README.html#citations}, 7 | urldate = {2015-01-31} 8 | } 9 | 10 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/References with multiple notes fail to export #174.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @misc{Torre2008, 3 | annotation = {note 1}, 4 | annotation = {note 2}, 5 | author = {Torre, Joe and Verducci, Tom}, 6 | date = {2008}, 7 | publisher = {{Doubleday}}, 8 | timestamp = {2015-02-24 12:14:36 +0100}, 9 | title = {{{XYZZY}}} 10 | } 11 | 12 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/Sample test.json: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "entry_key": "1", 4 | "bib_type": "article", 5 | "fields": { 6 | "title": [ 7 | { 8 | "type": "text", 9 | "text": "sample title" 10 | } 11 | ] 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /test/fixtures/export/@legislation; map code,container-title to journaltitle #327.biblatex.bib: -------------------------------------------------------------------------------- 1 | @misc{_loi_2011, 2 | date = {2011-05-18}, 3 | langid = {french}, 4 | title = {Loi n$^{o}$ 2011-525 du 17 mai 2011 de simplification et d'amélioration de la qualité du droit}, 5 | url = {http://www.legifrance.gouv.fr/affichTexte.do?cidTexte=JORFTEXT000024021430&categorieLien=id} 6 | } -------------------------------------------------------------------------------- /test/fixtures/export/Book citation should parse.bib: -------------------------------------------------------------------------------- 1 | @book{book, 2 | date = {1993-07}, 3 | author = {given={Peter}, family={Babington}}, 4 | title = {The title of the work}, 5 | publisher = {The name of the publisher}, 6 | volume = {4}, 7 | series = {10}, 8 | location = {The address}, 9 | edition = {3}, 10 | note = {An optional note}, 11 | isbn = {3257227892} 12 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/CrossRef should parse.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{Peters_2004, 3 | title={Bibtex from CrossRef}, 4 | ISSN={0263-9475}, 5 | url={http://dx.doi.org/10.2307/25564177}, 6 | DOI={10.2307/25564177}, 7 | number={109}, 8 | journal={Circa}, 9 | publisher={JSTOR}, 10 | author={Peters, Robert}, 11 | year={2004}, 12 | pages={24} 13 | } 14 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/month-name-in-brackets.bib: -------------------------------------------------------------------------------- 1 | @incollection{2014, 2 | doi = {10.1002/9781119019138.ch10}, 3 | url = {https://doi.org/10.1002%2F9781119019138.ch10}, 4 | year = 2014, 5 | month = {oct}, 6 | publisher = {John Wiley {\&} Sons, Ltd}, 7 | pages = {159--169}, 8 | title = {The Origins of Bitcoin}, 9 | booktitle = {Understanding Bitcoin} 10 | } 11 | -------------------------------------------------------------------------------- /test/fixtures/export/CSL status = biblatex pubstate #573.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "author": [ 4 | { 5 | "given": "John", 6 | "family": "Doe" 7 | } 8 | ], 9 | "status": "forthcoming", 10 | "title": "Title", 11 | "type": "book", 12 | "id": "1" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /test/fixtures/export/underscores in URL fields should not be escaped #104.biblatex.bib: -------------------------------------------------------------------------------- 1 | @article{american_rights_at_work_public_2012, 2 | date = {2012}, 3 | author = {given={American Rights}, family={Work}, prefix={at}, useprefix=true}, 4 | title = {Public {{Service Research Foundation}}}, 5 | url = {http://www.americanrightsatwork.org/blogcategory_275/}, 6 | urldate = {2012-07-27} 7 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/Book citation should parse.bib: -------------------------------------------------------------------------------- 1 | 2 | @book{book, 3 | author={Peter Babington}, 4 | title ={The title of the work}, 5 | publisher = {The name of the publisher}, 6 | year={1993}, 7 | volume=4, 8 | series=10, 9 | address ={The address}, 10 | edition =3, 11 | month =7, 12 | note={An optional note}, 13 | isbn={3257227892} 14 | } 15 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/Quote should work.json: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "entry_key": "1", 4 | "bib_type": "article", 5 | "fields": { 6 | "title": [ 7 | { 8 | "type": "text", 9 | "text": "sample \"Quote\" title" 10 | } 11 | ] 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /test/fixtures/export/pre not working in Extra field #559.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "author": [ 4 | { 5 | "given": "Morten", 6 | "family": "Brøns" 7 | } 8 | ], 9 | "note": "Hello hej", 10 | "title": "pretest", 11 | "type": "article", 12 | "id": "1" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/CSL status = biblatex pubstate #573.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "author": [ 4 | { 5 | "given": "John", 6 | "family": "Doe" 7 | } 8 | ], 9 | "status": "forthcoming", 10 | "title": "Title", 11 | "type": "book", 12 | "id": "1" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /test/fixtures/export/Better BibTeX.011.bib: -------------------------------------------------------------------------------- 1 | @inproceedings{Klassen2010, 2 | date = {2010}, 3 | author = {given={Myungsook}, family={Klassen} and given={Nyunsu}, family={Kim} and given={Wei Ming}, family={Liu}}, 4 | title = {Empirical Study of Support Vector Machine Kernels with Applications to Microarray Data}, 5 | booktitle = {CATA}, 6 | pages = {25--30}, 7 | note = {svm liniowe najlepsze} 8 | } -------------------------------------------------------------------------------- /test/fixtures/export/Better BibTeX.027.bibtex.bib: -------------------------------------------------------------------------------- 1 | @article{BaltesStaudinger2000, 2 | date = {2000}, 3 | author = {given={Paul B}, family={Baltes} and given={Ursula M}, family={Staudinger}}, 4 | journaltitle = {American psychologist}, 5 | number = {1}, 6 | pages = {122}, 7 | title = {Wisdom: A Metaheuristic (Pragmatic) to Orchestrate Mind {and} Virtue toward Excellence.}, 8 | volume = {55} 9 | } -------------------------------------------------------------------------------- /test/fixtures/export/Better BibTeX.029.bibtex.bib: -------------------------------------------------------------------------------- 1 | @article{BaltesStaudinger2000Am.Psychol., 2 | date = {2000}, 3 | author = {given={Paul B}, family={Baltes} and given={Ursula M}, family={Staudinger}}, 4 | journaltitle = {Am. Psychol.}, 5 | number = {1}, 6 | pages = {122}, 7 | title = {Wisdom: A Metaheuristic (Pragmatic) to Orchestrate Mind {and} Virtue toward Excellence.}, 8 | volume = {55} 9 | } -------------------------------------------------------------------------------- /test/fixtures/export/Wikipedia should parse.bib: -------------------------------------------------------------------------------- 1 | @book{abramowitz+stegun, 2 | date = {1964}, 3 | author = {given={Milton}, family={Abramowitz} and given={Irene A.}, family={Stegun}}, 4 | title = {Handbook of Mathematical Functions with Formulas, Graphs, {and} Mathematical Tables}, 5 | publisher = {Dover}, 6 | location = {New York}, 7 | edition = {ninth Dover printing, tenth GPO printing} 8 | } -------------------------------------------------------------------------------- /test/fixtures/import/csl/pre not working in Extra field #559.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "author": [ 4 | { 5 | "given": "Morten", 6 | "family": "Brøns" 7 | } 8 | ], 9 | "note": "Hello hej", 10 | "title": "pretest", 11 | "type": "article", 12 | "id": "1" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibTeX.004.bib: -------------------------------------------------------------------------------- 1 | 2 | @book{hicks2001, 3 | author = {von Hicks, III, Michael}, 4 | title = {Design of a Carbon Fiber Composite Grid Structure for the GLAST Spacecraft Using a Novel Manufacturing Technique}, 5 | publisher = {Stanford Press}, 6 | year = {2001}, 7 | address = {Palo Alto}, 8 | edition = {1st,}, 9 | isbn = {0-69-697269-4} 10 | } 11 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/Better BibTeX.014.json: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "entry_key": "1", 4 | "bib_type": "article", 5 | "fields": { 6 | "title": [ 7 | { 8 | "type": "text", 9 | "text": "Escaped backslash followed by {}: \n" 10 | } 11 | ] 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/LaTeX should parse.json: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "entry_key": "1", 4 | "bib_type": "article", 5 | "fields": { 6 | "title": [ 7 | { 8 | "type": "text", 9 | "text": "'isample title extregistered  n  n" 10 | } 11 | ] 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /test/fixtures/export/transliteration for citekey #580.biblatex.bib: -------------------------------------------------------------------------------- 1 | @book{Medvedev2002, 2 | date = {2002}, 3 | author = {given={Григорий}, family={Медведев}}, 4 | keywords = {Chernobyl Nuclear Accident, Chornobylʹ, Ukraine, 1986, Nuclear industry, Nuclear reactor accidents, Radioactive wastes}, 5 | langid = {russian}, 6 | pagetotal = {520}, 7 | publisher = {МК-Периодика}, 8 | title = {Ядерный загар} 9 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/@jurisdiction; map court,authority to institution #326.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @jurisdiction{_dalain_2010, 3 | date = {2010-12-23}, 4 | institution = {{CE, Ass.}}, 5 | journaltitle = {Rec.}, 6 | langid = {french}, 7 | number = {337033}, 8 | pages = {649}, 9 | timestamp = {2015-02-24 12:14:36 +0100}, 10 | title = {Dalain}, 11 | volume = {I} 12 | } 13 | 14 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibTeX.008.bib: -------------------------------------------------------------------------------- 1 | 2 | @misc{american_rights_at_work_public_2012, 3 | title = {Public Service Research Foundation}, 4 | url = {http://www.americanrightsatwork.org/blogcategory-275/}, 5 | urldate = {2012-07-27}, 6 | author = {at Work, American Rights}, 7 | year = {2012}, 8 | howpublished = {http://www.americanrightsatwork.org/blogcategory-275/} 9 | } 10 | -------------------------------------------------------------------------------- /test/fixtures/export/Better BibTeX.008.bib: -------------------------------------------------------------------------------- 1 | @misc{american_rights_at_work_public_2012, 2 | date = {2012}, 3 | title = {Public Service Research Foundation}, 4 | url = {http://www.americanrightsatwork.org/blogcategory-275/}, 5 | urldate = {2012-07-27}, 6 | author = {given={American Rights}, family={Work}, prefix={at}, useprefix=true}, 7 | howpublished = {http://www.americanrightsatwork.org/blogcategory-275/} 8 | } -------------------------------------------------------------------------------- /test/fixtures/export/biblatex; Language tag xx is exported, xx-XX is not #380.biblatex.bib: -------------------------------------------------------------------------------- 1 | @article{Spitzer1941, 2 | date = {1941}, 3 | author = {given={Leo}, family={Spitzer}}, 4 | doi = {10.2307/2911510}, 5 | issn = {01496611}, 6 | journaltitle = {Modern Language Notes}, 7 | langid = {french}, 8 | number = {2}, 9 | pages = {110--113}, 10 | title = {Le poêle de Descartes}, 11 | volume = {56} 12 | } -------------------------------------------------------------------------------- /test/fixtures/export/jabref-meta.bib: -------------------------------------------------------------------------------- 1 | @article{Doe-2017, 2 | date = {2017}, 3 | author = {given={John}, family={Doe}}, 4 | title = {The paper in subgroup} 5 | } 6 | 7 | @article{Other-, 8 | author = {given={I.}, family={Other}}, 9 | title = {The article in my other subgroup} 10 | } 11 | 12 | @article{Unkonw-, 13 | title = {the paper not in a group}, 14 | author = {given={I}, family={Unkonw}} 15 | } -------------------------------------------------------------------------------- /test/fixtures/export/Better BibTeX.004.bib: -------------------------------------------------------------------------------- 1 | @book{hicks2001, 2 | date = {2001}, 3 | author = {given={Michael}, family={Hicks}, suffix={III}, prefix={von}, useprefix=true}, 4 | title = {Design of a Carbon Fiber Composite Grid Structure for the GLAST Spacecraft Using a Novel Manufacturing Technique}, 5 | publisher = {Stanford Press}, 6 | location = {Palo Alto}, 7 | edition = {1st,}, 8 | isbn = {0-69-697269-4} 9 | } -------------------------------------------------------------------------------- /test/fixtures/export/DOI with underscores in extra field #108.biblatex.bib: -------------------------------------------------------------------------------- 1 | @incollection{koopman_efficient_99, 2 | date = {1999}, 3 | author = {given={Pieter}, family={Koopman} and given={Rinus}, family={Plasmeijer}}, 4 | booktitle = {Implementation of {{Functional Languages}}}, 5 | doi = {10.1007/3-540-48515-5_8}, 6 | pages = {120--136}, 7 | publisher = {Springer}, 8 | title = {Efficient Combinator Parsers} 9 | } -------------------------------------------------------------------------------- /test/fixtures/export/referencetype= does not work #278.biblatex.bib: -------------------------------------------------------------------------------- 1 | @mvreference{ea, 2 | date = {2009}, 3 | annotation = {https://katalog.ub.uni-leipzig.de/Record/0002828121}, 4 | editor = {given={Kees}, family={Versteegh}}, 5 | location = {Leiden}, 6 | publisher = {Brill}, 7 | title = {Encyclopedia of Arabic Language {and} Linguistics}, 8 | url = {https://katalog.ub.uni-leipzig.de/Record/0002828121/Multipart} 9 | } -------------------------------------------------------------------------------- /test/fixtures/export/Better BibLaTeX.023.biblatex.bib: -------------------------------------------------------------------------------- 1 | @book{Manning2008, 2 | date = {2008-07-07}, 3 | author = {given={Christopher D.}, family={Manning} and given={Prabhakar}, family={Raghavan} and given={Hinrich}, family={Schütze}}, 4 | isbn = {978-0-521-86571-5}, 5 | location = {New York}, 6 | pagetotal = {496}, 7 | publisher = {Cambridge University Press}, 8 | title = {Introduction to {{Information Retrieval}}} 9 | } -------------------------------------------------------------------------------- /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@babel/preset-env", 5 | { 6 | "modules": false, 7 | "targets": { 8 | "browsers": ["last 2 versions", "ie >= 10"], 9 | "node": "current" 10 | } 11 | } 12 | ] 13 | ], 14 | "plugins": ["@babel/plugin-transform-runtime"] 15 | } 16 | -------------------------------------------------------------------------------- /test/fixtures/export/Better BibLaTeX.011.biblatex.bib: -------------------------------------------------------------------------------- 1 | @inproceedings{Klassen2010, 2 | date = {2010}, 3 | author = {given={Myungsook}, family={Klassen} and given={Nyunsu}, family={Kim} and given={Wei Ming}, family={Liu}}, 4 | booktitle = {{{CATA}}}, 5 | note = {svm liniowe najlepsze}, 6 | pages = {25--30}, 7 | title = {Empirical {{Study}} of {{Support Vector Machine Kernels}} with {{Applications}} to {{Microarray Data}}} 8 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/BibTeX variable support for journal titles. #309.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{blahut_capacity, 3 | author = {Blahut, Richard E}, 4 | date = {1972}, 5 | journaltitle = IEEE_J_IT, 6 | number = {4}, 7 | pages = {460--473}, 8 | timestamp = {2015-02-24 12:14:36 +0100}, 9 | title = {Computation of Channel Capacity and Rate-Distortion Functions}, 10 | volume = {18} 11 | } 12 | 13 | -------------------------------------------------------------------------------- /test/fixtures/export/Better BibLaTeX.004.biblatex.bib: -------------------------------------------------------------------------------- 1 | @book{hicks2001, 2 | date = {2001}, 3 | author = {given={Michael}, family={Hicks}, suffix={III}, prefix={von}, useprefix=true}, 4 | edition = {1st,}, 5 | isbn = {0-69-697269-4}, 6 | location = {Palo Alto}, 7 | publisher = {Stanford Press}, 8 | title = {Design of a {{Carbon Fiber Composite Grid Structure}} for the {{GLAST}} Spacecraft Using a Novel Manufacturing Technique} 9 | } -------------------------------------------------------------------------------- /test/fixtures/export/Better BibTeX.018.bibtex.bib: -------------------------------------------------------------------------------- 1 | @article{Dassler2001, 2 | date = {2001}, 3 | author = {given={Klaus}, family={Däßler}}, 4 | doi = {10.1175/1520-0493(1987)115<1606:GARSPP>2.0.CO;2}, 5 | journaltitle = {Title, with comma}, 6 | keywords = {Vulcanian eruptions, breadcrust, plinian}, 7 | title = {The Physical: Violent Volcanology of the 1600 Eruption of {{Huaynaputina}}, Southern {{Peru}}}, 8 | volume = {62} 9 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/biblatex export of phdthesis does not case-protect -type- #435.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @thesis{TayW12, 3 | author = {Tay Wo Chong Hilares, Luis Roberto}, 4 | date = {2012}, 5 | institution = {{TU München}}, 6 | timestamp = {2015-02-24 12:14:36 +0100}, 7 | title = {Numerical {{Simulation}} of the {{Dynamics}} of {{Turbulent Swirling Flames}}}, 8 | type = {{{PhD Thesis}}} 9 | } 10 | 11 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/underscores in URL fields should not be escaped #104.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{american_rights_at_work_public_2012, 3 | author = {at Work, American Rights}, 4 | date = {2012}, 5 | timestamp = {2015-02-24 12:14:36 +0100}, 6 | title = {Public {{Service Research Foundation}}}, 7 | url = {http://www.americanrightsatwork.org/blogcategory_275/}, 8 | urldate = {2012-07-27} 9 | } 10 | 11 | -------------------------------------------------------------------------------- /test/fixtures/export/Math parts in title #113.biblatex.bib: -------------------------------------------------------------------------------- 1 | @online{stackexchange_integers_14, 2 | date = {2014-10}, 3 | shorttitle = {Do integers modulo n minus n 2 (i.e. signed integers) still form a commutative ring?}, 4 | title = {Do integers modulo n minus n 2 (i.e. signed integers) still form a commutative ring? - Mathematics Stack Exchange}, 5 | url = {http://math.stackexchange.com/q/978420}, 6 | urldate = {2014-10-26} 7 | } -------------------------------------------------------------------------------- /test/fixtures/export/Better BibTeX.026.bibtex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "author": [ 4 | { 5 | "given": "David", 6 | "family": "Traum" 7 | } 8 | ], 9 | "title": "Computational Models of Non-cooperative dialogue", 10 | "type": "manuscript", 11 | "id": "1" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibTeX.026.bibtex.bib: -------------------------------------------------------------------------------- 1 | 2 | @unpublished{traumNDcomputationalmodelsnoncooperative, 3 | author = {Traum, David}, 4 | file = {Traum - Computational Models of Non-cooperative dialogue.pdf:files/1/Traum - Computational Models of Non-cooperative dialogue.pdf:application/pdf}, 5 | timestamp = {2015-02-24 12:14:36 +0100}, 6 | title = {Computational {{Models}} of {{Non}}-Cooperative Dialogue} 7 | } 8 | 9 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Wikipedia should parse.bib: -------------------------------------------------------------------------------- 1 | 2 | @Book{abramowitz+stegun, 3 | author = "Milton {Abramowitz} and Irene A. {Stegun}", 4 | title = "Handbook of Mathematical Functions with 5 | Formulas, Graphs, and Mathematical Tables", 6 | publisher = "Dover", 7 | year = {1964}, 8 | address = "New York", 9 | edition = "ninth Dover printing, tenth GPO printing" 10 | } 11 | -------------------------------------------------------------------------------- /test/fixtures/export/Should parse citation with publisher.bib: -------------------------------------------------------------------------------- 1 | @incollection{hennemann2009vernetzung, 2 | date = {2009}, 3 | title = {Vernetzung in der Grundlagenforschung}, 4 | author = {given={S.}, family={Hennemann}}, 5 | booktitle = {Planungsverband Ballungsraum Frankfurt-Rhein-Main (Hrsg.): Wissensatlas FrankfurtRheinMain: die Wissensregion stellt sich vor}, 6 | pages = {33--36}, 7 | publisher = {Planungsverband, Frankfurt-Rhein-Main} 8 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/Cut off citation should not parse.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{smolvcic2009dust, 3 | title={The Dust-Unbiased Cosmic Star-Formation History from the 20 CM VLA-COSMOS Survey}, 4 | author={Smol{ {c}}i{'c}, V and Schinnerer, E and Zamorani, G and Bell, EF and Bondi, M and Carilli, CL and Ciliegi, P and Mobasher, B and Paglione, T and Scodeggio, M and others}, 5 | journal={The Astrophysical Journal}, 6 | volume={690}, 7 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/Better BibTeX.026.bibtex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "author": [ 4 | { 5 | "given": "David", 6 | "family": "Traum" 7 | } 8 | ], 9 | "title": "Computational Models of Non-cooperative dialogue", 10 | "type": "manuscript", 11 | "id": "1" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /test/fixtures/export/remove the field if the override is empty #303.biblatex.bib: -------------------------------------------------------------------------------- 1 | @article{pattaro_dimensions_1988, 2 | date = {1988}, 3 | author = {given={Enrico}, family={Pattaro}}, 4 | journaltitle = {Revue interdisciplinaire d’études juridiques}, 5 | langid = {french}, 6 | number = {spécial anniversaire 1978-1988}, 7 | pages = {135--162}, 8 | title = {Dimensions du savoir juridique et orientations philosophiques}, 9 | volume = {21} 10 | } -------------------------------------------------------------------------------- /test/fixtures/export/Better BibLaTeX.016.biblatex.bib: -------------------------------------------------------------------------------- 1 | @article{arbesmanvonsecondname2001, 2 | date = {2001}, 3 | author = {given={Kendra}, family={Secondname}, prefix={Arbesman von}, useprefix=true}, 4 | journaltitle = {Title, with comma}, 5 | keywords = {Vulcanian eruptions, breadcrust, plinian}, 6 | pages = {493--518}, 7 | title = {The Physical: Violent Volcanology of the 1600 Eruption of {{Huaynaputina}}, Southern {{Peru}}}, 8 | volume = {62} 9 | } -------------------------------------------------------------------------------- /test/fixtures/export/Import fails to perform @String substitutions #154.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "author": [ 4 | { 5 | "given": "R. A.", 6 | "family": "Bert" 7 | } 8 | ], 9 | "title": "SQL is great", 10 | "publisher": "Freds Publishing", 11 | "publisher-place": "London, UK", 12 | "type": "book", 13 | "id": "1" 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /test/fixtures/export/Sample test.json: -------------------------------------------------------------------------------- 1 | { 2 | "entries": { 3 | "1": { 4 | "bib_type": "article", 5 | "entry_key": "sample1", 6 | "fields": { 7 | "title": [ 8 | { 9 | "type": "text", 10 | "text": "sample title" 11 | } 12 | ] 13 | } 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibTeX.013.bib: -------------------------------------------------------------------------------- 1 | 2 | @book{id, 3 | title = {Filename character test. Relative path}, 4 | file = {,.\;'[]\{\}`-=~!@#$%^&()_+.pdf:Better BibTeX.013/files/32/,.\;'[]\{\}`-=~!@#$%^&()_+.pdf:application/pdf} 5 | } 6 | @book{id2, 7 | title = {Filename character test. Absolute path}, 8 | file = {,.\;'[]\{\}`-=~!@#$%^&()_+.pdf:Better BibTeX.013/some/path/,.\;'[]\{\}`-=~!@#$%^&()_+.pdf:application/pdf} 9 | } 10 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/Better BibTeX.006.json: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "entry_key": "1", 4 | "bib_type": "article", 5 | "fields": { 6 | "title": [ 7 | { 8 | "type": "text", 9 | "text": "non-braking space:  ; accented characters: ñ and ñ; tilde in URL: http://example.com/~user" 10 | } 11 | ] 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Empty bibtex clause in extra gobbles whatever follows #99.bibtex.bib: -------------------------------------------------------------------------------- 1 | 2 | @book{2014, 3 | note = {bibtex:}, 4 | note = {\url{http://ptolemy.org/books/Systems}}, 5 | ptolemaeus:14:systemdesigneditor = {Claudius Ptolemaeus}, 6 | publisher = {{Ptolemy.org}}, 7 | timestamp = {2015-02-24 12:14:36 +0100}, 8 | title = {System Design, Modeling, and Simulation Using {{Ptolemy II}}}, 9 | year = {2014} 10 | } 11 | 12 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Sample test.json: -------------------------------------------------------------------------------- 1 | { 2 | "entries": { 3 | "1": { 4 | "bib_type": "article", 5 | "entry_key": "sample1", 6 | "fields": { 7 | "title": [ 8 | { 9 | "type": "text", 10 | "text": "sample title" 11 | } 12 | ] 13 | } 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Should handle crazy delimiter.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{RID:1118130922631-13,title = {Synthesis and structural characterization of unprecedented bis-asymmetric heteroscorpionate U(III) complexes: [U{kappa(3)-H2B(pz(tBu),(Me))(pz(Me,tBu))}(2)I] and [U{kappa(3) -H2B(pz(tBu,Me))( pz(Me2))}(2)I]},journal = {Inorganic Chemistry},year = {2003},author = {Maria, L and Domingos, A and Santos, I},volume = {42},number = {10},pages = {3323-3330}} 3 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/Import fails to perform @String substitutions #154.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "author": [ 4 | { 5 | "given": "R. A.", 6 | "family": "Bert" 7 | } 8 | ], 9 | "title": "SQL is great", 10 | "publisher": "Freds Publishing", 11 | "publisher-place": "London, UK", 12 | "type": "book", 13 | "id": "1" 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /test/fixtures/export/Allow explicit field override.biblatex.bib: -------------------------------------------------------------------------------- 1 | @article{anand2014technicalreportformally, 2 | date = {2014}, 3 | author = {given={Abhishek}, family={Anand} and given={Vincent}, family={Rahli}}, 4 | note = {http://www.nuprl.org/html/verification/}, 5 | origdate = {1856}, 6 | origtitle = {An Old Title}, 7 | title = {Technical {{Report}} : {{Towards}} a {{Formally Verified Proof Assistant}}}, 8 | url = {http://www.nuprl.org/html/verification/} 9 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibLaTeX.023.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @book{Manning2008, 3 | author = {Manning, Christopher D. and Raghavan, Prabhakar and Schütze, Hinrich}, 4 | date = {2008-07-07}, 5 | isbn = {978-0-521-86571-5}, 6 | location = {{New York}}, 7 | pagetotal = {496}, 8 | publisher = {{Cambridge University Press}}, 9 | timestamp = {2015-02-24 12:14:36 +0100}, 10 | title = {Introduction to {{Information Retrieval}}} 11 | } 12 | 13 | -------------------------------------------------------------------------------- /test/fixtures/export/BibTeX name escaping has a million inconsistencies #438.bibtex.bib: -------------------------------------------------------------------------------- 1 | @article{Nome2014, 2 | date = {2014}, 3 | author = {given={Name}, family={Nöme}}, 4 | title = {Why {{Is Apple Launching}} a {{New Version}} of the {{iPod}}?} 5 | } 6 | 7 | @article{vanGogh2014, 8 | date = {2014}, 9 | author = {given={Vincent}, family={Gögh}, prefix={van}, useprefix=true}, 10 | title = {Why {{Is Apple Launching}} a {{New Version}} of the {{iPod}}?} 11 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/Author splitter failure.bib: -------------------------------------------------------------------------------- 1 | 2 | @Article{Abu-Zeid_1986, 3 | Title = {Determination of the Thickness and Refractive Index of {Cu$_2$O} Thin Film Using Thermal and Optical 4 | Interferometry}, 5 | Author = {Abu-Zeid, M. E. and Rakhshani, A. E. and Al-Jassar, A. A. and Youssef, Y. A.}, 6 | Journal = {Physica Status Solidi (a)}, 7 | Year = {1986}, 8 | Pages = {613--620}, 9 | Volume = {93}, 10 | Doi = {10.1002/pssa.2210930226} 11 | } 12 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Should parse citation with publisher.bib: -------------------------------------------------------------------------------- 1 | 2 | @incollection{hennemann2009vernetzung, 3 | title={Vernetzung in der Grundlagenforschung}, 4 | author={Hennemann, S.}, 5 | booktitle={Planungsverband Ballungsraum Frankfurt-Rhein-Main (Hrsg.): Wissensatlas FrankfurtRheinMain: die Wissensregion stellt sich vor}, 6 | pages={33--36}, 7 | year={2009}, 8 | publisher={Planungsverband, Frankfurt-Rhein-Main} 9 | } 10 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/referencetype= does not work #278.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @mvreference{ea, 3 | annotation = {https://katalog.ub.uni-leipzig.de/Record/0002828121}, 4 | date = {2009}, 5 | editor = {Versteegh, Kees}, 6 | location = {{Leiden}}, 7 | publisher = {{Brill}}, 8 | title = {Encyclopedia of Arabic Language and Linguistics}, 9 | url = {https://katalog.ub.uni-leipzig.de/Record/0002828121/Multipart}, 10 | volume = {1-5} 11 | } 12 | 13 | -------------------------------------------------------------------------------- /test/fixtures/export/@jurisdiction; map court,authority to institution #326.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2010, 7 | 12, 8 | 23 9 | ] 10 | ] 11 | }, 12 | "language": "fr-FR", 13 | "title": "Dalain", 14 | "type": "article", 15 | "id": "1" 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /test/fixtures/export/Dollar sign in title not properly escaped #485.biblatex.bib: -------------------------------------------------------------------------------- 1 | @article{sanders_largest_2016, 2 | date = {2016-04-06}, 3 | author = {given={Bernie}, family={Sanders}}, 4 | title = {The Largest {{U}}.{{S}}. Companies Would Owe {\$}620 Billion in {{U}}.{{S}}. Taxes on the Cash They Store in Tax Havens, the Equivalent of Our Defense Budget. [{{Tweet}}]}, 5 | titleaddon = {SenSanders}, 6 | url = {https://twitter.com/SenSanders/status/717771426284060673} 7 | } -------------------------------------------------------------------------------- /test/fixtures/export/Malformed HTML.biblatex.bib: -------------------------------------------------------------------------------- 1 | @unpublished{HackerManuscript-HACTRO, 2 | abstract = {P. M. S. \textbackslash ensuremathHacker\textbackslash ensuremath 1. The ?confusion of psychology? On the concluding page of what is now called ?Part II? of the Investigations, Wittgenstein wrote..}, 3 | author = {given={P. M. S.}, family={Hacker}}, 4 | title = {The {{Relevance}} of {{Wittgenstein}}'s {{Philosophy}} of {{Psychology}} to the {{Psychological Sciences}}} 5 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/DOI with underscores in extra field #108.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @incollection{koopman_efficient_99, 3 | author = {Koopman, Pieter and Plasmeijer, Rinus}, 4 | booktitle = {Implementation of {{Functional Languages}}}, 5 | date = {1999}, 6 | doi = {10.1007/3-540-48515-5_8}, 7 | pages = {120--136}, 8 | publisher = {{Springer}}, 9 | timestamp = {2015-02-24 12:14:36 +0100}, 10 | title = {Efficient Combinator Parsers} 11 | } 12 | 13 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/biblatex; Language tag xx is exported, xx-XX is not #380.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{Spitzer1941, 3 | author = {Spitzer, Leo}, 4 | date = {1941}, 5 | doi = {10.2307/2911510}, 6 | issn = {01496611}, 7 | journaltitle = {Modern Language Notes}, 8 | langid = {french}, 9 | number = {2}, 10 | pages = {110--113}, 11 | timestamp = {2015-02-24 12:14:36 +0100}, 12 | title = {Le poêle de Descartes}, 13 | volume = {56} 14 | } 15 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/transliteration for citekey #580.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @book{Medvedev2002, 3 | author = {Медведев, Григорий}, 4 | date = {2002}, 5 | keywords = {Chernobyl Nuclear Accident; Chornobylʹ; Ukraine; 1986,Nuclear industry,Nuclear reactor accidents,Radioactive wastes}, 6 | langid = {russian}, 7 | pagetotal = {520}, 8 | publisher = {{МК-Периодика}}, 9 | timestamp = {2015-02-24 12:14:36 +0100}, 10 | title = {Ядерный загар} 11 | } 12 | -------------------------------------------------------------------------------- /test/fixtures/export/Book converted to mvbook #288.biblatex.bib: -------------------------------------------------------------------------------- 1 | @mvbook{russ_savoir_1990, 2 | date = {1990}, 3 | annotation = {Comprend : t. 1, La puissance du désordre ; t. 2, La fin des dogmes}, 4 | author = {given={Jacqueline}, family={Russ}}, 5 | isbn = {2-218-05069-2}, 6 | langid = {french}, 7 | location = {Paris}, 8 | number = {746}, 9 | pagetotal = {79}, 10 | publisher = {Hatier}, 11 | series = {Profil}, 12 | title = {Savoir et pouvoir}, 13 | volumes = {2} 14 | } -------------------------------------------------------------------------------- /test/fixtures/import/csl/@jurisdiction; map court,authority to institution #326.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2010, 7 | 12, 8 | 23 9 | ] 10 | ] 11 | }, 12 | "language": "fr-FR", 13 | "title": "Dalain", 14 | "type": "article", 15 | "id": "1" 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /test/fixtures/export/Better BibLaTeX.019.biblatex.bib: -------------------------------------------------------------------------------- 1 | @article{ArbesmanvonSecondname2001, 2 | date = {2001}, 3 | author = {given={Kendra}, family={Secondname}, prefix={Arbesman von}, useprefix=true}, 4 | doi = {10.1175/1520-0493(1987)115<1606:GARSPP>2.0.CO;2}, 5 | journaltitle = {Title, with comma}, 6 | keywords = {Vulcanian eruptions, breadcrust, plinian}, 7 | title = {The Physical Volcanology of the 1600 Eruption of {{Huaynaputina}}, with L$^{A}$T$_{E}$X!}, 8 | volume = {62} 9 | } -------------------------------------------------------------------------------- /test/fixtures/export/Better BibLaTeX.020.biblatex.bib: -------------------------------------------------------------------------------- 1 | @inbook{Canguilhem1994, 2 | date = {1994}, 3 | author = {given={Georges}, family={Canguilhem}}, 4 | bookauthor = {given={Jean}, family={Cavaillès}}, 5 | booktitle = {Œuvres complètes de philosophie des sciences}, 6 | isbn = {2-7056-6221-9}, 7 | keywords = {Mathematics, Philosophy, Science}, 8 | langid = {french}, 9 | location = {Paris}, 10 | pages = {665--86}, 11 | publisher = {Hermann}, 12 | title = {In memoriam} 13 | } -------------------------------------------------------------------------------- /test/fixtures/export/don't escape entry key fields for #296.biblatex.bib: -------------------------------------------------------------------------------- 1 | @incollection{eisenmann_actes_1983, 2 | date = {1983}, 3 | author = {given={Charles}, family={Eisenmann}}, 4 | booktitle = {Cours de droit administratif}, 5 | isbn = {2-275-01408-X}, 6 | langid = {french}, 7 | location = {Paris}, 8 | pages = {9--332}, 9 | publisher = {LGDJ}, 10 | title = {Les actes de l’Administration [1949-1950]}, 11 | volume = {t. 2}, 12 | volumes = {2 vol. (786, xxiv+908 p.)} 13 | } -------------------------------------------------------------------------------- /test/fixtures/export/less-or-equal.bib: -------------------------------------------------------------------------------- 1 | @article{Zach2004a, 2 | date = {2004}, 3 | author = {given={Richard}, family={Zach}}, 4 | title = {Decidability of Quantified Propositional Intuitionistic Logic {and} S4 on Trees of Height {and} Arity ≤ω}, 5 | journaltitle = {Journal of Philosophical Logic}, 6 | volume = {33}, 7 | pages = {155--164}, 8 | doi = {10.1023/B:LOGI.0000021744.10237.d0}, 9 | eprinttype = {philpapers}, 10 | eprint = {ZACDOQ}, 11 | keywords = {article} 12 | } -------------------------------------------------------------------------------- /test/fixtures/import/csl/@jurisdiction; map court,authority to institution #326.biblatex.json: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "entry_key": "1", 4 | "bib_type": "article", 5 | "fields": { 6 | "date": "2010-12-23", 7 | "langid": "", 8 | "title": [ 9 | { 10 | "type": "text", 11 | "text": "Dalain" 12 | } 13 | ] 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /test/fixtures/export/Better BibLaTeX.017.biblatex.bib: -------------------------------------------------------------------------------- 1 | @article{arbesmanvonsecondname2001, 2 | date = {2001}, 3 | author = {given={Kendra}, family={Secondname}, prefix={Arbesman von}, useprefix=true}, 4 | doi = {10.1175/1520-0493(1987)115<1606:GARSPP>2.0.CO;2}, 5 | journaltitle = {Title, with comma}, 6 | keywords = {Vulcanian eruptions, breadcrust, plinian}, 7 | title = {The Physical: Violent Volcanology of the 1600 Eruption of {{Huaynaputina}}, Southern {{Peru}}}, 8 | volume = {62} 9 | } -------------------------------------------------------------------------------- /test/fixtures/export/arXiv should parse.bib: -------------------------------------------------------------------------------- 1 | @article{2009PhLA..373.2301C, 2 | date = {2009-06}, 3 | author = {given={D.}, family={Chru'sci'nski} and given={A.}, family={Kossakowski}}, 4 | title = {{{Geometry of quantum states: New construction of positive maps}}}, 5 | journaltitle = {Physics Letters A}, 6 | eprinttype = {arXiv}, 7 | eprint = {0902.0885}, 8 | eprintclass = {quant-ph}, 9 | volume = {373}, 10 | pages = {2301--2305}, 11 | doi = {10.1016/j.physleta.2009.04.068} 12 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/Export mapping for reporter field #219.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @jurisdiction{kartinyeri, 3 | author = {Kaetinyeri v Commonwealth}, 4 | date = {1998-04-01}, 5 | institution = {{HCA}}, 6 | journaltitle = {CLR}, 7 | keywords = {au}, 8 | pages = {337}, 9 | shorttitle = {Kartinyeri}, 10 | timestamp = {2015-02-24 12:14:36 +0100}, 11 | title = {Kartinyeri v {{Commonwealth}}}, 12 | translator = {Kartinyeri}, 13 | volume = {195} 14 | } 15 | 16 | -------------------------------------------------------------------------------- /test/fixtures/export/Better BibTeX.014.json: -------------------------------------------------------------------------------- 1 | { 2 | "entries": { 3 | "1": { 4 | "bib_type": "article", 5 | "entry_key": "BibTeXEscapeTest1", 6 | "fields": { 7 | "title": [ 8 | { 9 | "type": "text", 10 | "text": "Escaped backslash followed by {}: \n" 11 | } 12 | ] 13 | } 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /test/fixtures/export/Export Newspaper Article misses section field #132.biblatex.bib: -------------------------------------------------------------------------------- 1 | @article{Boas2014StikordTil, 2 | entrysubtype = {newspaper}, 3 | date = {2014-07-04}, 4 | author = {given={Anders}, family={Boas}}, 5 | journalsubtitle = {Ideer}, 6 | journaltitle = {Weekendavisen}, 7 | pages = {12}, 8 | title = {Stikord Til En Hukommelse}, 9 | url = {http://apps.infomedia.dk.ep.fjernadgang.kb.dk/Ms3E/ShowArticle.aspx?outputFormat=Full&Duid=e4798c41}, 10 | urldate = {2014-09-15} 11 | } -------------------------------------------------------------------------------- /test/fixtures/export/InspiredHEP should parse.bib: -------------------------------------------------------------------------------- 1 | @article{Chen:2014oha, 2 | date = {2014}, 3 | author = {given={Chien-Yi}, family={Chen} and given={Hooman}, family={Davoudiasl} and given={Doojin}, family={Kim}}, 4 | title = {Warped Graviton "Z + Missing Energy" Signal at Hadron Colliders}, 5 | journaltitle = {Phys.Rev.}, 6 | volume = {D89}, 7 | pages = {096007}, 8 | doi = {10.1103/PhysRevD.89.096007}, 9 | eprint = {1403.3399}, 10 | eprinttype = {arXiv}, 11 | eprintclass = {hep-ph} 12 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibLaTeX.016.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{arbesmanvonsecondname2001, 3 | author = {Arbesman von Secondname, Kendra}, 4 | date = {2001}, 5 | journaltitle = {Title, with comma}, 6 | keywords = {Vulcanian eruptions,breadcrust,plinian}, 7 | pages = {493--518}, 8 | timestamp = {2015-02-24 12:14:36 +0100}, 9 | title = {The Physical: Violent Volcanology of the 1600 Eruption of {{Huaynaputina}}, Southern {{Peru}}}, 10 | volume = {62} 11 | } 12 | 13 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibTeX.014.json: -------------------------------------------------------------------------------- 1 | { 2 | "entries": { 3 | "1": { 4 | "bib_type": "article", 5 | "entry_key": "BibTeXEscapeTest1", 6 | "fields": { 7 | "title": [ 8 | { 9 | "type": "text", 10 | "text": "Escaped backslash followed by {}: \n" 11 | } 12 | ] 13 | } 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibTeX.003.bib: -------------------------------------------------------------------------------- 1 | 2 | @inproceedings{author:06, 3 | title = {Some publication title}, 4 | author = {Author, First and Author, Second}, 5 | crossref = {conference:06}, 6 | pages = {330—331} 7 | } 8 | @proceedings{conference:06, 9 | editor = {Editor, First and Editor, Second}, 10 | title = {Proceedings of the Xth Conference on XYZ}, 11 | booktitle = {Proceedings of the Xth Conference on XYZ (Book)}, 12 | year = {2006}, 13 | month = {oct} 14 | } 15 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibTeX.018.bibtex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{Dassler2001, 3 | author = {D{\"a}\ss{}ler, Klaus}, 4 | doi = {10.1175/1520-0493(1987)115<1606:GARSPP>2.0.CO;2}, 5 | journal = {Title, with comma}, 6 | keywords = {Vulcanian eruptions,breadcrust,plinian}, 7 | timestamp = {2015-02-24 12:14:36 +0100}, 8 | title = {The Physical: Violent Volcanology of the 1600 Eruption of {{Huaynaputina}}, Southern {{Peru}}}, 9 | volume = {62}, 10 | year = {2001} 11 | } 12 | 13 | -------------------------------------------------------------------------------- /test/fixtures/export/typo stature-statute (zotero item type) #284.biblatex.bib: -------------------------------------------------------------------------------- 1 | @misc{_loi_2009, 2 | date = {2009-06-15}, 3 | abstract = {JORF n°0137 du 16 juin 2009 page 9784 texte n° 1}, 4 | langid = {french}, 5 | title = {Loi n° 2009-689 du 15 juin 2009 tendant à modifier l’ordonnance n° 58-1100 du 17 novembre 1958 relative au fonctionnement des assemblées parlementaires et à compléter le code de justice administrative}, 6 | url = {http://www.legifrance.gouv.fr/WAspad/UnTexteDeJorf?numjo=PRMX0908015L} 7 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/Allow explicit field override.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{anand2014technicalreportformally, 3 | author = {Anand, Abhishek and Rahli, Vincent}, 4 | date = {2014}, 5 | note = {http://www.nuprl.org/html/verification/}, 6 | origdate = {1856}, 7 | origtitle = {An Old Title}, 8 | timestamp = {2011.03.22}, 9 | title = {Technical {{Report}} : {{Towards}} a {{Formally Verified Proof Assistant}}}, 10 | url = {http://www.nuprl.org/html/verification/} 11 | } 12 | 13 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibLaTeX.004.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @book{hicks2001, 3 | author = {von Hicks, III, Michael}, 4 | date = {2001}, 5 | edition = {1st,}, 6 | isbn = {0-69-697269-4}, 7 | location = {{Palo Alto}}, 8 | options = {useprefix=true}, 9 | publisher = {{Stanford Press}}, 10 | timestamp = {2015-02-24 12:14:36 +0100}, 11 | title = {Design of a {{Carbon Fiber Composite Grid Structure}} for the {{GLAST}} Spacecraft Using a Novel Manufacturing Technique} 12 | } 13 | 14 | -------------------------------------------------------------------------------- /test/fixtures/export/Author splitter failure.bib: -------------------------------------------------------------------------------- 1 | @article{Abu-Zeid_1986, 2 | date = {1986}, 3 | title = {Determination of the Thickness {and} Refractive Index of {{Cu$_{2}$O}} Thin Film Using Thermal {and} Optical Interferometry}, 4 | author = {given={M. E.}, family={Abu-Zeid} and given={A. E.}, family={Rakhshani} and given={A. A.}, family={Al-Jassar} and given={Y. A.}, family={Youssef}}, 5 | journaltitle = {Physica Status Solidi (a)}, 6 | pages = {613--620}, 7 | volume = {93}, 8 | doi = {10.1002/pssa.2210930226} 9 | } -------------------------------------------------------------------------------- /test/fixtures/export/preserve BibTeX Variables does not check for null values while escaping #337.bibtex.bib: -------------------------------------------------------------------------------- 1 | @book{geophysicsstudycommittee_continental_1980, 2 | date = {1980}, 3 | author = {{Geophysics Study Committee} and {Geophysics Research Board} and {Assembly of Mathematical {and} Physical Sciences, National Research Council}}, 4 | isbn = {978-0-309-02928-5}, 5 | note = {{\url{http://www.nap.edu/openbook.php?record_id=203}}}, 6 | publisher = {The National Academies Press}, 7 | title = {Continental {{Tectonics}}} 8 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibLaTeX.019.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{ArbesmanvonSecondname2001, 3 | author = {Arbesman von Secondname, Kendra}, 4 | date = {2001}, 5 | doi = {10.1175/1520-0493(1987)115<1606:GARSPP>2.0.CO;2}, 6 | journaltitle = {Title, with comma}, 7 | keywords = {Vulcanian eruptions,breadcrust,plinian}, 8 | timestamp = {2015-02-24 12:14:36 +0100}, 9 | title = {The Physical Volcanology of the 1600 Eruption of {{Huaynaputina}}, with \LaTeX!}, 10 | volume = {62} 11 | } 12 | 13 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Malformed HTML.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @unpublished{HackerManuscript-HACTRO, 3 | abstract = {P. M. S. $\backslash$ensuremathHacker$\backslash$ensuremath 1. The ?confusion of psychology? On the concluding page of what is now called ?Part II? of the Investigations, Wittgenstein wrote..}, 4 | author = {Hacker, P. M. S.}, 5 | timestamp = {2015-02-24 12:14:36 +0100}, 6 | title = {The {{Relevance}} of {{Wittgenstein}}'s {{Philosophy}} of {{Psychology}} to the {{Psychological Sciences}}} 7 | } 8 | 9 | -------------------------------------------------------------------------------- /src/export/const.ts: -------------------------------------------------------------------------------- 1 | // A much smaller list for export than for import, as biblatex does understand utf8 2 | export const TexSpecialChars: [RegExp, string][] = [ 3 | [/\\/g, "\\textbackslash "], 4 | [/\{/g, "\\{ "], 5 | [/\}/g, "\\} "], 6 | [/&/g, "{\\&}"], 7 | [/%/g, "{\\%}"], 8 | [/\$/g, "{\\$}"], 9 | [/#/g, "{\\#}"], 10 | [/_/g, "{\\_}"], 11 | [/~/g, "{\\textasciitilde}"], 12 | [/\^/g, "{\\textasciicircum}"], 13 | [/ and /g, " {and} "], 14 | [/\uFFFD/g, ""], 15 | ] 16 | -------------------------------------------------------------------------------- /src/unescape-csl.ts: -------------------------------------------------------------------------------- 1 | // If one runs the CSL exporter with escapeText = true, the output from 2 | // citeproc (bibliography and citation entries) will need to be unescaped 3 | // using this function. 4 | 5 | export function unescapeCSL(theValue: string): string { 6 | return theValue 7 | .replace(/&amp;/g, "&") 8 | .replace(/&lt;/g, "<") 9 | .replace(/&gt;/g, ">") 10 | .replace(/&apos;/g, "'") 11 | .replace(/&quot;/g, """) 12 | } 13 | -------------------------------------------------------------------------------- /test/fixtures/export/Ignore HTML tags when generating citation key #264.biblatex.bib: -------------------------------------------------------------------------------- 1 | @article{hannam_nodo_1998, 2 | date = {1998}, 3 | author = {given={Walter A.}, family={Hannam}}, 4 | journaltitle = {Florilegium}, 5 | pages = {145--165}, 6 | title = {{{\mkbibitalic{Nodo unitatis et caritatis}}}: {{The}} Structure {and} Argument of {{Augustine}}'s {{\mkbibitalic{De doctrina Christiana}}}}, 7 | url = {https://journals.lib.unb.ca/index.php/flor/article/view/14263}, 8 | urldate = {2015-07-07}, 9 | volume = {15} 10 | } -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | export { BibLatexParser, parse, parseAsync } from "./import/biblatex" 2 | export { BibLatexExporter } from "./export/biblatex" 3 | export { CSLParser, parseCSL } from "./import/csl" 4 | export { CSLExporter } from "./export/csl" 5 | export { BibFieldTypes, BibTypes } from "./const" 6 | export { edtfParse } from "./edtf-parser" 7 | export { unescapeCSL } from "./unescape-csl" 8 | export type { BibDB, BiblatexParseResult } from "./import/biblatex" 9 | export type { CSLEntry, CSLOutput } from "./export/csl" 10 | -------------------------------------------------------------------------------- /test/fixtures/export/JabRef groupsformat 4.bib: -------------------------------------------------------------------------------- 1 | @article{Doe-2017, 2 | date = {2017}, 3 | author = {given={John}, family={Doe}}, 4 | title = {The paper in subgroup} 5 | } 6 | 7 | @article{Other-, 8 | author = {given={I.}, family={Other}}, 9 | title = {The article in my other subgroup} 10 | } 11 | 12 | @article{Unkonw-, 13 | author = {given={I}, family={Unkonw}}, 14 | title = {the paper in two groups} 15 | } 16 | 17 | @article{Unkonw, 18 | author = {given={I}, family={Unkonw}}, 19 | title = {the paper not in a group} 20 | } -------------------------------------------------------------------------------- /test/fixtures/export/auth leaves punctuation in citation key #310.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2015 7 | ] 8 | ] 9 | }, 10 | "author": [ 11 | { 12 | "given": "james", 13 | "family": "O'hara" 14 | } 15 | ], 16 | "title": "A testbook", 17 | "type": "book", 18 | "id": "1" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /test/fixtures/export/bookSection is always converted to @inbook, never @incollection #282.biblatex.bib: -------------------------------------------------------------------------------- 1 | @incollection{eisenmann_problemes_1982, 2 | date = {1982}, 3 | author = {given={Charles}, family={Eisenmann}}, 4 | booktitle = {Cours de droit administratif}, 5 | isbn = {2-275-01408-X}, 6 | langid = {french}, 7 | location = {Paris}, 8 | pages = {155--300}, 9 | publisher = {LGDJ}, 10 | title = {Problèmes d’organisation de l’Administration [1966-1967]}, 11 | volume = {t. 1}, 12 | volumes = {2 vol. (786, xxiv+908 p.)} 13 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibLaTeX.017.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{arbesmanvonsecondname2001, 3 | author = {Arbesman von Secondname, Kendra}, 4 | date = {2001}, 5 | doi = {10.1175/1520-0493(1987)115<1606:GARSPP>2.0.CO;2}, 6 | journaltitle = {Title, with comma}, 7 | keywords = {Vulcanian eruptions,breadcrust,plinian}, 8 | timestamp = {2015-02-24 12:14:36 +0100}, 9 | title = {The Physical: Violent Volcanology of the 1600 Eruption of {{Huaynaputina}}, Southern {{Peru}}}, 10 | volume = {62} 11 | } 12 | 13 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/auth leaves punctuation in citation key #310.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2015 7 | ] 8 | ] 9 | }, 10 | "author": [ 11 | { 12 | "given": "james", 13 | "family": "O'hara" 14 | } 15 | ], 16 | "title": "A testbook", 17 | "type": "book", 18 | "id": "1" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibLaTeX.003.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @inproceedings{author:06, 3 | author = {Author, First and Author, Second}, 4 | crossref = {conference:06}, 5 | pages = {330--331}, 6 | timestamp = {2015-02-24 12:14:36 +0100}, 7 | title = {Some Publication Title} 8 | } 9 | 10 | @collection{conference:06, 11 | date = {2006-10}, 12 | editor = {Editor, First and Editor, Second}, 13 | timestamp = {2015-02-24 12:14:36 +0100}, 14 | title = {Proceedings of the {{Xth}} Conference on {{XYZ}}} 15 | } 16 | 17 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibLaTeX.020.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @inbook{Canguilhem1994, 3 | author = {Canguilhem, Georges}, 4 | bookauthor = {Cavaillès, Jean}, 5 | booktitle = {Œuvres complètes de philosophie des sciences}, 6 | date = {1994}, 7 | isbn = {2-7056-6221-9}, 8 | keywords = {Mathematics,Philosophy,Science}, 9 | langid = {french}, 10 | location = {{Paris}}, 11 | pages = {665--86}, 12 | publisher = {{Hermann}}, 13 | timestamp = {2015-02-24 12:14:36 +0100}, 14 | title = {In memoriam} 15 | } 16 | 17 | -------------------------------------------------------------------------------- /test/fixtures/export/Should handle crazy delimiter.bib: -------------------------------------------------------------------------------- 1 | @article{RID:1118130922631-13, 2 | date = {2003}, 3 | title = {Synthesis {and} structural characterization of unprecedented bis-asymmetric heteroscorpionate U(III) complexes: [U{{kappa(3)-H2B(pz(tBu),(Me))(pz(Me,tBu))}}(2)I] {and} [U{{kappa(3) -H2B(pz(tBu,Me))( pz(Me2))}}(2)I]}, 4 | journaltitle = {Inorganic Chemistry}, 5 | author = {given={L}, family={Maria} and given={A}, family={Domingos} and given={I}, family={Santos}}, 6 | volume = {42}, 7 | number = {10}, 8 | pages = {3323--3330} 9 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/BibTeX name escaping has a million inconsistencies #438.bibtex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{Nome2014, 3 | author = {N{\"o}me, Name}, 4 | timestamp = {2015-02-24 12:14:36 +0100}, 5 | title = {Why {{Is Apple Launching}} a {{New Version}} of the {{iPod}}?}, 6 | year = {2014} 7 | } 8 | 9 | @article{vanGogh2014, 10 | author = {{van G{\"o}gh}, Vincent}, 11 | timestamp = {2015-02-24 12:14:36 +0100}, 12 | title = {Why {{Is Apple Launching}} a {{New Version}} of the {{iPod}}?}, 13 | year = {2014} 14 | } 15 | 16 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Dollar sign in title not properly escaped #485.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{sanders_largest_2016, 3 | author = {Sanders, Bernie}, 4 | date = {2016-04-06}, 5 | timestamp = {2015-02-24 12:14:36 +0100}, 6 | title = {The Largest {{U}}.{{S}}. Companies Would Owe \$620 Billion in {{U}}.{{S}}. Taxes on the Cash They Store in Tax Havens, the Equivalent of Our Defense Budget. [{{Tweet}}]}, 7 | titleaddon = {SenSanders}, 8 | url = {https://twitter.com/SenSanders/status/717771426284060673} 9 | } 10 | 11 | 12 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/remove the field if the override is empty #303.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{pattaro_dimensions_1988, 3 | author = {Pattaro, Enrico}, 4 | date = {1988}, 5 | journaltitle = {Revue interdisciplinaire d’études juridiques}, 6 | langid = {french}, 7 | number = {spécial anniversaire 1978-1988}, 8 | pages = {135--162}, 9 | shortjournal = {RIEJ}, 10 | timestamp = {2015-02-24 12:14:36 +0100}, 11 | title = {Dimensions du savoir juridique et orientations philosophiques}, 12 | volume = {21} 13 | } 14 | 15 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "ES2020", 4 | "esModuleInterop": true, 5 | "allowSyntheticDefaultImports": true, 6 | "target": "ES2019", 7 | "noImplicitAny": true, 8 | "moduleResolution": "node", 9 | "sourceMap": true, 10 | "outDir": "dist", 11 | "baseUrl": ".", 12 | "strict": true, 13 | "paths": { 14 | "*": ["node_modules/*", "src/types/*"] 15 | } 16 | }, 17 | "include": ["src/**/*"] 18 | } 19 | -------------------------------------------------------------------------------- /test/fixtures/export/Better BibLaTeX.003.biblatex.bib: -------------------------------------------------------------------------------- 1 | @inproceedings{author:06, 2 | date = {2006-10}, 3 | editor = {given={First}, family={Editor} and given={Second}, family={Editor}}, 4 | title = {Some Publication Title}, 5 | author = {given={First}, family={Author} and given={Second}, family={Author}}, 6 | pages = {330--331} 7 | } 8 | 9 | @collection{conference:06, 10 | date = {2006-10}, 11 | editor = {given={First}, family={Editor} and given={Second}, family={Editor}}, 12 | title = {Proceedings of the {{Xth}} Conference on {{XYZ}}} 13 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibTeX.027.bibtex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{BaltesStaudinger2000, 3 | author = {Baltes, Paul B and Staudinger, Ursula M}, 4 | file = {Baltes_Staudinger_2000_Wisdom.pdf:files/1/Baltes_Staudinger_2000_Wisdom.pdf:application/pdf}, 5 | journal = {American psychologist}, 6 | number = {1}, 7 | pages = {122}, 8 | timestamp = {2015-02-24 12:14:36 +0100}, 9 | title = {Wisdom: A Metaheuristic (Pragmatic) to Orchestrate Mind and Virtue toward Excellence.}, 10 | volume = {55}, 11 | year = {2000} 12 | } 13 | 14 | -------------------------------------------------------------------------------- /browser/README.md: -------------------------------------------------------------------------------- 1 | ### Download for browser usage 2 | 3 | To use biblatex-csl-converter on a webpage, simply include the corresponding file(s) in the header. All functions will be available in global namespace: [import-bibtex.js](/import-bibtex.js), [export-csl.js](/exoort-csl.js), [export-biblatex.js](/exoort-biblatex.js) or [biblatex-csl-converter.js](/biblatex-csl-converter.js) for a bundle that contains all of them. 4 | 5 | In more complex setups, use the version [hosted on NPMJS.com](https://www.npmjs.com/package/biblatex-csl-converter) instead. 6 | -------------------------------------------------------------------------------- /test/fixtures/export/Do not caps-protect literal lists #391.biblatex.bib: -------------------------------------------------------------------------------- 1 | @book{publisher, 2 | location = {Trinidad {and} Tobago}, 3 | origlocation = {Saint Kitts {and} Nevis}, 4 | origpublisher = {Doe {and} Company}, 5 | publisher = {Miller, Smith {and} Jones}, 6 | title = {Publisher} 7 | } 8 | 9 | @report{institution, 10 | institution = {Office of Information Management {and} Communications}, 11 | title = {Institution} 12 | } 13 | 14 | @thesis{university, 15 | institution = {University of Saint Kitts {and} Nevis}, 16 | title = {University} 17 | } -------------------------------------------------------------------------------- /test/fixtures/export/Empty bibtex clause in extra gobbles whatever follows #99.bibtex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2014 7 | ] 8 | ] 9 | }, 10 | "note": "http://ptolemy.org/books/Systems", 11 | "publisher": "Ptolemy.org", 12 | "title": "System design, modeling, and simulation using Ptolemy II", 13 | "type": "book", 14 | "id": "1" 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibTeX.029.bibtex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{BaltesStaudinger2000Am.Psychol., 3 | author = {Baltes, Paul B and Staudinger, Ursula M}, 4 | file = {Baltes_Staudinger_2000_Wisdom.pdf:files/1/Baltes_Staudinger_2000_Wisdom.pdf:application/pdf}, 5 | journal = {Am. Psychol.}, 6 | number = {1}, 7 | pages = {122}, 8 | timestamp = {2015-02-24 12:14:36 +0100}, 9 | title = {Wisdom: A Metaheuristic (Pragmatic) to Orchestrate Mind and Virtue toward Excellence.}, 10 | volume = {55}, 11 | year = {2000} 12 | } 13 | 14 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Book converted to mvbook #288.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @mvbook{russ_savoir_1990, 3 | annotation = {Comprend : t. 1, La puissance du désordre ; t. 2, La fin des dogmes}, 4 | author = {Russ, Jacqueline}, 5 | date = {1990}, 6 | isbn = {2-218-05069-2}, 7 | langid = {french}, 8 | location = {{Paris}}, 9 | number = {746}, 10 | pagetotal = {79}, 11 | publisher = {{Hatier}}, 12 | series = {Profil}, 13 | timestamp = {2015-02-24 12:14:36 +0100}, 14 | title = {Savoir et pouvoir}, 15 | volumes = {2} 16 | } 17 | 18 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Math parts in title #113.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @online{stackexchange_integers_14, 3 | date = {2014-10}, 4 | presort = {z}, 5 | shorttitle = {Do integers modulo $n$ minus $\frac n 2$ (i.e. signed integers) still form a commutative ring?}, 6 | timestamp = {2015-02-24 12:14:36 +0100}, 7 | title = {Do integers modulo $n$ minus $\frac n 2$ (i.e. signed integers) still form a commutative ring? - Mathematics Stack Exchange}, 8 | url = {http://math.stackexchange.com/q/978420}, 9 | urldate = {2014-10-26} 10 | } 11 | 12 | -------------------------------------------------------------------------------- /test/fixtures/export/Spaces lost when expanding string variables during import.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 1990 7 | ] 8 | ] 9 | }, 10 | "author": [ 11 | { 12 | "literal": "Author" 13 | } 14 | ], 15 | "title": "Title", 16 | "container-title": "a space between this and this", 17 | "type": "article", 18 | "id": "1" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/@legislation; map code,container-title to journaltitle #327.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @legislation{_loi_2011, 3 | date = {2011-05-18}, 4 | journaltitle = {JORF}, 5 | langid = {french}, 6 | number = {BCRX0929142L}, 7 | pages = {8537}, 8 | timestamp = {2015-02-24 12:14:36 +0100}, 9 | title = {Loi n\textsuperscript{o} 2011-525 du 17 mai 2011 de simplification et d'amélioration de la qualité du droit}, 10 | url = {http://www.legifrance.gouv.fr/affichTexte.do?cidTexte=JORFTEXT000024021430&categorieLien=id} 11 | } 12 | 13 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Should parse citation that starts with number.bib: -------------------------------------------------------------------------------- 1 | 2 | @techreport{2013current, 3 | Author = {Lack, Kelly A.}, 4 | Date-Added = {2013-04-09 19:09:56 +0000}, 5 | Date-Modified = {2013-04-09 19:10:58 +0000}, 6 | Institution = {Ithaka S+R}, 7 | Keywords = {0sotl}, 8 | Oa-Url = {http://www.sr.ithaka.org/sites/default/files/reports/ithaka-sr-online-learning-postsecondary-education-may2012.pdf}, 9 | Title = {Current Status of Research on Online Learning in Postsecondary Education}, 10 | Year = {2013}} 11 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/Empty bibtex clause in extra gobbles whatever follows #99.bibtex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2014 7 | ] 8 | ] 9 | }, 10 | "note": "http://ptolemy.org/books/Systems", 11 | "publisher": "Ptolemy.org", 12 | "title": "System design, modeling, and simulation using Ptolemy II", 13 | "type": "book", 14 | "id": "1" 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/Spaces lost when expanding string variables during import.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 1990 7 | ] 8 | ] 9 | }, 10 | "author": [ 11 | { 12 | "literal": "Author" 13 | } 14 | ], 15 | "title": "Title", 16 | "container-title": "a space between this and this", 17 | "type": "article", 18 | "id": "1" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /test/fixtures/export/Export Forthcoming as Forthcoming.biblatex.bib: -------------------------------------------------------------------------------- 1 | @incollection{BartoliniForthcoming, 2 | author = {given={Stefano}, family={Bartolini} and given={Ennio}, family={Bilancini} and given={Francesco}, family={Sarracino}}, 3 | booktitle = {Policies for {{Happiness}}}, 4 | location = {Oxford}, 5 | publisher = {Oxford University Press}, 6 | title = {Social {{Capital Predicts Happiness}}: {{World}}-{{Wide Evidence From Time Series}}}, 7 | url = {http://www.econ-pol.unisi.it/bartolini/papers/BARTOLINI-BILANCINI-SARRACINO.pdf}, 8 | urldate = {2015-02-07} 9 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/Export Newspaper Article misses section field #132.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{Boas2014StikordTil, 3 | author = {Boas, Anders}, 4 | date = {2014-07-04}, 5 | entrysubtype = {newspaper}, 6 | journalsubtitle = {Ideer}, 7 | journaltitle = {Weekendavisen}, 8 | pages = {12}, 9 | timestamp = {2015-02-24 12:14:36 +0100}, 10 | title = {Stikord Til En Hukommelse}, 11 | url = {http://apps.infomedia.dk.ep.fjernadgang.kb.dk/Ms3E/ShowArticle.aspx?outputFormat=Full&Duid=e4798c41}, 12 | urldate = {2014-09-15} 13 | } 14 | 15 | -------------------------------------------------------------------------------- /test/fixtures/export/Chinese should parse.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 1999 7 | ] 8 | ] 9 | }, 10 | "title": "人的素質提昇之重要性--建立在法治精神之上的多元主義", 11 | "author": [ 12 | { 13 | "literal": "羊憶蓉" 14 | } 15 | ], 16 | "container-title": "人的素質--[人文關懷與社會實踐] 國際學術研討會論文集", 17 | "page": "174-180", 18 | "type": "article", 19 | "id": "1" 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /test/fixtures/export/whitespace.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2017 7 | ] 8 | ] 9 | }, 10 | "author": [ 11 | { 12 | "given": "John", 13 | "family": "Doe" 14 | } 15 | ], 16 | "title": "Foo bar", 17 | "container-title": "Transactions on foobar", 18 | "volume": "42", 19 | "type": "article", 20 | "id": "1" 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Handle origdate.biblatex.bib: -------------------------------------------------------------------------------- 1 | @book{klein, 2 | author = {Ludwig Wittgenstein}, 3 | title = {{Vortrag} über {Ethik} und andere kleine {Schriften}}, 4 | editor = {Joachim Schulte}, 5 | publisher = {Suhrkamp}, 6 | address = {Frankfurt am Main}, 7 | date = {1989}, 8 | series = {{stw}}, 9 | number = 770, 10 | language={german}, 11 | langid={ngerman} 12 | } 13 | 14 | @inbook{onFrazer, 15 | title = {{Bemerkungen} über {Frazers} {Golden} {Bough}}, 16 | crossref = {klein}, 17 | pages = {29--46}, 18 | origdate = {1930/1939}, 19 | } -------------------------------------------------------------------------------- /test/fixtures/export/bibtex; url export does not survive underscores #402.biblatex.bib: -------------------------------------------------------------------------------- 1 | @inproceedings{EmmerJaens14a, 2 | date = {2014-09}, 3 | author = {given={Thomas}, family={Emmert} and given={Stefan}, family={Jaensch} and given={Carlo}, family={Sovardi} and given={Wolfgang}, family={Polifke}}, 4 | booktitle = {7th {{Forum Acusticum}}}, 5 | keywords = {NonPerRev}, 6 | location = {Krakow}, 7 | title = {{{taX}} - a {{Flexible Tool}} for {{Low}}-{{Order Duct Acoustic Simulation}} in {{Time}} {and} {{Frequency Domain}}}, 8 | url = {http://www.fa2014.agh.edu.pl/fa2014_cd/} 9 | } -------------------------------------------------------------------------------- /test/fixtures/import/csl/Chinese should parse.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 1999 7 | ] 8 | ] 9 | }, 10 | "title": "人的素質提昇之重要性--建立在法治精神之上的多元主義", 11 | "author": [ 12 | { 13 | "literal": "羊憶蓉" 14 | } 15 | ], 16 | "container-title": "人的素質--[人文關懷與社會實踐] 國際學術研討會論文集", 17 | "page": "174-180", 18 | "type": "article", 19 | "id": "1" 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/whitespace.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2017 7 | ] 8 | ] 9 | }, 10 | "author": [ 11 | { 12 | "given": "John", 13 | "family": "Doe" 14 | } 15 | ], 16 | "title": "Foo bar", 17 | "container-title": "Transactions on foobar", 18 | "volume": "42", 19 | "type": "article", 20 | "id": "1" 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /test/fixtures/export/escape.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2009 7 | ] 8 | ] 9 | }, 10 | "author": [ 11 | { 12 | "given": "Peter", 13 | "family": "H.T.M.L." 14 | } 15 | ], 16 | "title": "A title with style!", 17 | "container-title": "Issues with unescaped HTML", 18 | "type": "article", 19 | "id": "1" 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /test/fixtures/export/thesis zotero entries always create @phdthesis bibtex entries #307.biblatex.bib: -------------------------------------------------------------------------------- 1 | @thesis{Woller2011DetMultiple, 2 | date = {2011}, 3 | author = {given={Sune Brøndum}, family={Wøller}}, 4 | langid = {norsk}, 5 | title = {Det multiple arkæologiske objekt. Et studie af materialitet og arkæologiske tekstiler} 6 | } 7 | 8 | @thesis{Woller2011CTRDet, 9 | date = {2011}, 10 | author = {given={Sune Brøndum}, family={Wøller}}, 11 | langid = {norsk}, 12 | title = {CTR Det multiple arkæologiske objekt. Et studie af materialitet og arkæologiske tekstiler} 13 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibTeX.002.bib: -------------------------------------------------------------------------------- 1 | 2 | @book{abramowitz+stegun, 3 | author = {{Abramowitz}, Milton and {Stegun}, Irene A.}, 4 | title = {Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables}, 5 | publisher = {Dover}, 6 | year = {1964}, 7 | address = {New York}, 8 | edition = {ninth Dover printing, tenth GPO printing} 9 | } 10 | @book{Torre2008, 11 | author = {Torre, Joe and Verducci, Tom}, 12 | publisher = {Doubleday}, 13 | title = {The Yankee Years}, 14 | year = {2008}, 15 | isbn = {0385527403} 16 | } 17 | -------------------------------------------------------------------------------- /test/fixtures/export/Should parse citation that starts with number.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2013 7 | ] 8 | ] 9 | }, 10 | "author": [ 11 | { 12 | "given": "Kelly A.", 13 | "family": "Lack" 14 | } 15 | ], 16 | "title": "Current status of research on online learning in postsecondary education", 17 | "type": "report", 18 | "id": "1" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /test/fixtures/export/bibtex; url export does not survive underscores #402.bibtex.bib: -------------------------------------------------------------------------------- 1 | @inproceedings{EmmerJaens14a, 2 | date = {2014-09}, 3 | location = {Krakow}, 4 | author = {given={Thomas}, family={Emmert} and given={Stefan}, family={Jaensch} and given={Carlo}, family={Sovardi} and given={Wolfgang}, family={Polifke}}, 5 | booktitle = {7th {{Forum Acusticum}}}, 6 | keywords = {NonPerRev}, 7 | note = {{\url{http://www.fa2014.agh.edu.pl/fa2014_cd/}}}, 8 | title = {{{taX}} - a {{Flexible Tool}} for {{Low}}-{{Order Duct Acoustic Simulation}} in {{Time}} {and} {{Frequency Domain}}} 9 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibLaTeX.001.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{Adams2001, 3 | author = {Adams, Nancy K and DeSilva, Shanaka L and Self, Steven and Salas, Guido and Schubring, Steven and Permenter, Jason L and Arbesman, Kendra}, 4 | date = {2001}, 5 | journaltitle = {Bulletin of Volcanology}, 6 | keywords = {Vulcanian eruptions,breadcrust,plinian}, 7 | pages = {493--518}, 8 | timestamp = {2015-02-24 12:14:36 +0100}, 9 | title = {The Physical Volcanology of the 1600 Eruption of {{Huaynaputina}}, Southern {{Peru}}}, 10 | volume = {62} 11 | } 12 | 13 | -------------------------------------------------------------------------------- /test/fixtures/export/Better BibTeX.003.bib: -------------------------------------------------------------------------------- 1 | @inproceedings{author:06, 2 | date = {2006-10}, 3 | editor = {given={First}, family={Editor} and given={Second}, family={Editor}}, 4 | title = {Some publication title}, 5 | booktitle = {Proceedings of the Xth Conference on XYZ}, 6 | author = {given={First}, family={Author} and given={Second}, family={Author}}, 7 | pages = {330—331} 8 | } 9 | 10 | @proceedings{conference:06, 11 | date = {2006-10}, 12 | editor = {given={First}, family={Editor} and given={Second}, family={Editor}}, 13 | title = {Proceedings of the Xth Conference on XYZ} 14 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/Do not caps-protect literal lists #391.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @book{publisher, 3 | location = {{Trinidad and Tobago}}, 4 | origlocation = {{Saint Kitts and Nevis}}, 5 | origpublisher = {{Doe and Company}}, 6 | publisher = {{Miller, Smith and Jones}}, 7 | title = {Publisher} 8 | } 9 | 10 | @report{institution, 11 | institution = {{Office of Information Management and Communications}}, 12 | title = {Institution} 13 | } 14 | 15 | @thesis{university, 16 | institution = {{University of Saint Kitts and Nevis}}, 17 | title = {University} 18 | } 19 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/Should parse citation that starts with number.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2013 7 | ] 8 | ] 9 | }, 10 | "author": [ 11 | { 12 | "given": "Kelly A.", 13 | "family": "Lack" 14 | } 15 | ], 16 | "title": "Current status of research on online learning in postsecondary education", 17 | "type": "report", 18 | "id": "1" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /test/fixtures/export/Better BibTeX.001.bib: -------------------------------------------------------------------------------- 1 | @article{Adams2001, 2 | date = {2001}, 3 | author = {given={Nancy K}, family={Adams} and given={Shanaka L}, family={DeSilva} and given={Steven}, family={Self} and given={Guido}, family={Salas} and given={Steven}, family={Schubring} and given={Jason L}, family={Permenter} and given={Kendra}, family={Arbesman}}, 4 | title = {{{The physical volcanology of the 1600 eruption of Huaynaputina, southern Peru}}}, 5 | journaltitle = {Bulletin of Volcanology}, 6 | volume = {62}, 7 | pages = {493--518}, 8 | keywords = {Vulcanian eruptions, breadcrust, plinian} 9 | } -------------------------------------------------------------------------------- /test/fixtures/export/Numbers confuse capital-preservation #295.bibtex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "note": "http://www.patanalyse.com/sample-analysis.html", 4 | "title": "Patent Landscape analysis: sample from S40RTS", 5 | "accessed": { 6 | "date-parts": [ 7 | [ 8 | 2014, 9 | 10, 10 | 18 11 | ] 12 | ] 13 | }, 14 | "type": "article", 15 | "id": "1" 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/bibtex; url export does not survive underscores #402.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @inproceedings{EmmerJaens14a, 3 | author = {Emmert, Thomas and Jaensch, Stefan and Sovardi, Carlo and Polifke, Wolfgang}, 4 | booktitle = {7th {{Forum Acusticum}}}, 5 | date = {2014-09}, 6 | keywords = {NonPerRev}, 7 | location = {{Krakow}}, 8 | timestamp = {2015-02-24 12:14:36 +0100}, 9 | title = {{{taX}} - a {{Flexible Tool}} for {{Low}}-{{Order Duct Acoustic Simulation}} in {{Time}} and {{Frequency Domain}}}, 10 | url = {http://www.fa2014.agh.edu.pl/fa2014_cd/} 11 | } 12 | -------------------------------------------------------------------------------- /test/fixtures/export/Failure to handle unparsed author names (92).bib: -------------------------------------------------------------------------------- 1 | @incollection{Madelung_1998_LB_10681727_56, 2 | date = {1998}, 3 | title = {Cuprous oxide ({{Cu$_{2}$O}}) crystal structure, lattice parameters}, 4 | author = {given={O.}, family={Madelung} and {others}}, 5 | booktitle = {{{L}}andolt-{{B}}örnstein}, 6 | publisher = {Springer-Verlag}, 7 | editor = {given={O.}, family={Madelung} and given={U.}, family={Rössler} and given={M.}, family={Schulz}}, 8 | series = {SpringerMaterials - The Landolt-Börnstein Database}, 9 | volume = {III/41c}, 10 | doi = {10.1007/10681727_56} 11 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/don't escape entry key fields for #296.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @incollection{eisenmann_actes_1983, 3 | author = {Eisenmann, Charles}, 4 | booktitle = {Cours de droit administratif}, 5 | crossref = {eisenmann_cours_1982}, 6 | date = {1983}, 7 | isbn = {2-275-01408-X}, 8 | langid = {french}, 9 | location = {{Paris}}, 10 | pages = {9--332}, 11 | publisher = {{LGDJ}}, 12 | timestamp = {2015-02-24 12:14:36 +0100}, 13 | title = {Les actes de l’Administration [1949-1950]}, 14 | volume = {t. 2}, 15 | volumes = {2 vol. (786, xxiv+908 p.)} 16 | } 17 | 18 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/less-or-equal.bib: -------------------------------------------------------------------------------- 1 | @Article{Zach2004a, 2 | author = {Richard Zach}, 3 | title = {Decidability of Quantified Propositional 4 | Intuitionistic Logic and S4 on Trees of Height and 5 | Arity $\le\omega$}, 6 | journal = {Journal of Philosophical Logic}, 7 | year = 2004, 8 | volume = 33, 9 | pages = {155--164}, 10 | doi = {10.1023/B:LOGI.0000021744.10237.d0}, 11 | scholar = {15184825758825835157,15198214561219081821}, 12 | eprinttype = {philpapers}, eprint = {ZACDOQ}, 13 | keywords = {article} 14 | } 15 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/Numbers confuse capital-preservation #295.bibtex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "note": "http://www.patanalyse.com/sample-analysis.html", 4 | "title": "Patent Landscape analysis: sample from S40RTS", 5 | "accessed": { 6 | "date-parts": [ 7 | [ 8 | 2014, 9 | 10, 10 | 18 11 | ] 12 | ] 13 | }, 14 | "type": "article", 15 | "id": "1" 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibLaTeX.013.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{physicalviolentvolcanology, 3 | author = {Adams, Nancy K and DeSilva, Shanaka L and Self, Steven and Salas, Guido and Schubring, Steven and Permenter, Jason L and Arbesman, Kendra}, 4 | date = {2001}, 5 | journaltitle = {Title, with comma}, 6 | keywords = {Vulcanian eruptions,breadcrust,plinian}, 7 | pages = {493--518}, 8 | timestamp = {2015-02-24 12:14:36 +0100}, 9 | title = {The Physical, Violent Volcanology of the 1600 Eruption of {{Huaynaputina}}, Southern {{Peru}}}, 10 | volume = {62} 11 | } 12 | 13 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibLaTeX.015.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{physicalviolentvolcanology, 3 | author = {Adams, Nancy K and DeSilva, Shanaka L and Self, Steven and Salas, Guido and Schubring, Steven and Permenter, Jason L and Arbesman, Kendra}, 4 | date = {2001}, 5 | journaltitle = {Title, with comma}, 6 | keywords = {Vulcanian eruptions,breadcrust,plinian}, 7 | pages = {493--518}, 8 | timestamp = {2015-02-24 12:14:36 +0100}, 9 | title = {The Physical: Violent Volcanology of the 1600 Eruption of {{Huaynaputina}}, Southern {{Peru}}}, 10 | volume = {62} 11 | } 12 | 13 | -------------------------------------------------------------------------------- /test/fixtures/export/Better BibLaTeX.001.biblatex.bib: -------------------------------------------------------------------------------- 1 | @article{Adams2001, 2 | date = {2001}, 3 | author = {given={Nancy K}, family={Adams} and given={Shanaka L}, family={DeSilva} and given={Steven}, family={Self} and given={Guido}, family={Salas} and given={Steven}, family={Schubring} and given={Jason L}, family={Permenter} and given={Kendra}, family={Arbesman}}, 4 | journaltitle = {Bulletin of Volcanology}, 5 | keywords = {Vulcanian eruptions, breadcrust, plinian}, 6 | pages = {493--518}, 7 | title = {The Physical Volcanology of the 1600 Eruption of {{Huaynaputina}}, Southern {{Peru}}}, 8 | volume = {62} 9 | } -------------------------------------------------------------------------------- /test/fixtures/export/Spaces not stripped from citation keys #294.biblatex.bib: -------------------------------------------------------------------------------- 1 | @article{vlcek_historylatinterminology_2014, 2 | date = {2014-05-15}, 3 | author = {given={Martin}, family={Vlček} and given={Marek}, family={Vácha}}, 4 | doi = {10.1007/s00276-014-1305-7}, 5 | eprint = {24828123}, 6 | eprinttype = {pmid}, 7 | issn = {1279-8517}, 8 | journaltitle = {Surgical {and} Radiologic Anatomy}, 9 | langid = {usenglish}, 10 | title = {The History of {{Latin}} Terminology of Human Skeletal Muscles (from {{Vesalius}} to the Present)}, 11 | url = {http://link.springer.com/10.1007/s00276-014-1305-7} 12 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibLaTeX.014.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{physicalviolentvolcanology, 3 | author = {Adams, Nancy K and DeSilva, Shanaka L and Self, Steven and Salas, Guido and Schubring, Steven and Permenter, Jason L and Arbesman, Kendra}, 4 | date = {2001}, 5 | journaltitle = {Title, with comma}, 6 | keywords = {Vulcanian eruptions,breadcrust,plinian}, 7 | pages = {493--518}, 8 | timestamp = {2015-02-24 12:14:36 +0100}, 9 | title = {The {\emph{Physical}}, Violent Volcanology of the 1600 Eruption of {{Huaynaputina}}, Southern {{Peru}}}, 10 | volume = {62} 11 | } 12 | 13 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibTeX.001.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{Adams2001, 3 | author = {Adams, Nancy K and DeSilva, Shanaka L and Self, Steven and Salas, Guido and Schubring, Steven and Permenter, Jason L and Arbesman, Kendra}, 4 | title = {{The physical volcanology of the 1600 eruption of Huaynaputina, southern Peru}}, 5 | journal = {Bulletin of Volcanology}, 6 | year = {2001}, 7 | volume = {62}, 8 | pages = {493--518}, 9 | file = {:Better BibTeX.001/Users/heatherwright/Documents/Scientific Papers/AVX3W9~F.PDF:PDF}, 10 | keywords = {Vulcanian eruptions,breadcrust,plinian} 11 | } 12 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/bookSection is always converted to @inbook, never @incollection #282.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @incollection{eisenmann_problemes_1982, 3 | author = {Eisenmann, Charles}, 4 | booktitle = {Cours de droit administratif}, 5 | date = {1982}, 6 | isbn = {2-275-01408-X}, 7 | langid = {french}, 8 | location = {{Paris}}, 9 | pages = {155--300}, 10 | publisher = {{LGDJ}}, 11 | timestamp = {2015-02-24 12:14:36 +0100}, 12 | title = {Problèmes d’organisation de l’Administration [1966-1967]}, 13 | volume = {t. 1}, 14 | volumes = {2 vol. (786, xxiv+908 p.)} 15 | } 16 | 17 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/preserve BibTeX Variables does not check for null values while escaping #337.bibtex.bib: -------------------------------------------------------------------------------- 1 | 2 | @book{geophysicsstudycommittee_continental_1980, 3 | author = {{Geophysics Study Committee} and {Geophysics Research Board} and {Assembly of Mathematical and Physical Sciences, National Research Council}}, 4 | isbn = {978-0-309-02928-5}, 5 | note = {\url{http://www.nap.edu/openbook.php?record_id=203}}, 6 | publisher = {{The National Academies Press}}, 7 | timestamp = {2015-02-24 12:14:36 +0100}, 8 | title = {Continental {{Tectonics}}}, 9 | year = {1980} 10 | } 11 | 12 | -------------------------------------------------------------------------------- /test/fixtures/export/Better BibTeX.002.bib: -------------------------------------------------------------------------------- 1 | @book{abramowitz+stegun, 2 | date = {1964}, 3 | author = {given={Milton}, family={Abramowitz} and given={Irene A.}, family={Stegun}}, 4 | title = {Handbook of Mathematical Functions with Formulas, Graphs, {and} Mathematical Tables}, 5 | publisher = {Dover}, 6 | location = {New York}, 7 | edition = {ninth Dover printing, tenth GPO printing} 8 | } 9 | 10 | @book{Torre2008, 11 | date = {2008}, 12 | author = {given={Joe}, family={Torre} and given={Tom}, family={Verducci}}, 13 | publisher = {Doubleday}, 14 | title = {The Yankee Years}, 15 | isbn = {0385527403} 16 | } -------------------------------------------------------------------------------- /test/fixtures/export/Juris-M missing multi-lingual fields #482.biblatex.bib: -------------------------------------------------------------------------------- 1 | @online{leishuku, 2 | author = {{愛如生}}, 3 | langid = {pinyin}, 4 | shorttitle = {leishuku}, 5 | title = {中國類書庫}, 6 | url = {http://server.wenzibase.com}, 7 | urldate = {2016-04-20} 8 | } 9 | 10 | @thesis{yan_cairong__2003, 11 | date = {2003}, 12 | author = {{顏采容}}, 13 | institution = {國立暨南國際大學}, 14 | langid = {pinyin}, 15 | pagetotal = {214}, 16 | title = {明清時期出版與文化─以「才子佳人」小說為中心}, 17 | type = {Ph.D. Dissertation}, 18 | url = {http://ndltd.ncl.edu.tw/cgi-bin/gs32/gsweb.cgi?o=dnclcdr&s=id=%22091NCNU0493006%22.&searchmode=basic} 19 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/Ignore HTML tags when generating citation key #264.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{hannam_nodo_1998, 3 | author = {Hannam, Walter A.}, 4 | date = {1998}, 5 | journaltitle = {Florilegium}, 6 | pages = {145--165}, 7 | shortjournal = {Florilegium}, 8 | timestamp = {2015-02-24 12:14:36 +0100}, 9 | title = {{{{\emph{Nodo unitatis et caritatis}}}}: {{The}} Structure and Argument of {{Augustine}}'s {{{\emph{De doctrina Christiana}}}}}, 10 | url = {https://journals.lib.unb.ca/index.php/flor/article/view/14263}, 11 | urldate = {2015-07-07}, 12 | volume = {15} 13 | } 14 | 15 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/bibtex; url export does not survive underscores #402.bibtex.bib: -------------------------------------------------------------------------------- 1 | 2 | @inproceedings{EmmerJaens14a, 3 | address = {Krakow}, 4 | author = {Emmert, Thomas and Jaensch, Stefan and Sovardi, Carlo and Polifke, Wolfgang}, 5 | booktitle = {7th {{Forum Acusticum}}}, 6 | keywords = {NonPerRev}, 7 | month = sep, 8 | note = {\url{http://www.fa2014.agh.edu.pl/fa2014_cd/}}, 9 | timestamp = {2015-02-24 12:14:36 +0100}, 10 | title = {{{taX}} - a {{Flexible Tool}} for {{Low}}-{{Order Duct Acoustic Simulation}} in {{Time}} and {{Frequency Domain}}}, 11 | year = {2014} 12 | } 13 | -------------------------------------------------------------------------------- /test/fixtures/export/LaTeX should parse.json: -------------------------------------------------------------------------------- 1 | { 2 | "entries": { 3 | "1": { 4 | "bib_type": "article", 5 | "entry_key": "sample1", 6 | "fields": { 7 | "title": [ 8 | { 9 | "type": "text", 10 | "text": "'Isample title extregistered  n " 11 | }, 12 | { 13 | "type": "text", 14 | "text": " n" 15 | } 16 | ] 17 | } 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/LaTeX should parse.json: -------------------------------------------------------------------------------- 1 | { 2 | "entries": { 3 | "1": { 4 | "bib_type": "article", 5 | "entry_key": "sample1", 6 | "fields": { 7 | "title": [ 8 | { 9 | "type": "text", 10 | "text": "'Isample title extregistered  n " 11 | }, 12 | { 13 | "type": "text", 14 | "text": " n" 15 | } 16 | ] 17 | } 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/arXiv should parse.bib: -------------------------------------------------------------------------------- 1 | @ARTICLE{2009PhLA..373.2301C, 2 | author = {{Chru{'s}ci{'n}ski}, D. and {Kossakowski}, A.}, 3 | title = "{Geometry of quantum states: New construction of positive maps}", 4 | journal = {Physics Letters A}, 5 | archivePrefix = "arXiv", 6 | eprint = {0902.0885}, 7 | primaryClass = "quant-ph", 8 | year = 2009, 9 | month = jun, 10 | volume = 373, 11 | pages = {2301-2305}, 12 | doi = {10.1016/j.physleta.2009.04.068}, 13 | adsurl = {http://adsabs.harvard.edu/abs/2009PhLA..373.2301C}, 14 | adsnote = {Provided by the SAO/NASA Astrophysics Data System} 15 | } -------------------------------------------------------------------------------- /test/fixtures/export/Cut off citation should not parse.bib: -------------------------------------------------------------------------------- 1 | @article{smolvcic2009dust, 2 | title = {The Dust-Unbiased Cosmic Star-Formation History from the 20 CM VLA-COSMOS Survey}, 3 | author = {given={V}, family={ci'c}, prefix={Smol}, useprefix=true and given={E}, family={Schinnerer} and given={G}, family={Zamorani} and given={EF}, family={Bell} and given={M}, family={Bondi} and given={CL}, family={Carilli} and given={P}, family={Ciliegi} and given={B}, family={Mobasher} and given={T}, family={Paglione} and given={M}, family={Scodeggio} and {others}}, 4 | journaltitle = {The Astrophysical Journal}, 5 | volume = {690} 6 | } -------------------------------------------------------------------------------- /test/fixtures/export/Should parse comment.json: -------------------------------------------------------------------------------- 1 | { 2 | "entries": {}, 3 | "comments": [ 4 | "\"\nslkdjflksdjflkdsjf\"", 5 | "paglione2001mapping,\n\t title={A Mapping Survey of the 13CO and 12CO Emission in Galaxies},\n\t author={Paglione, T.A.D. and Wall, WF and Young, J.S. and Heyer, M.H. and Richard, M. and Goldstein, M. and Kaufman, Z. and Nantais, J. and Perry, G.},\n\t journal={The Astrophysical Journal Supplement Series},\n\t volume={135},\n\t pages={183}, %test end comment out\n\t year={2001},\n\t %comment out ={}\n\t publisher={IOP % comment middel works test Publishing}" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /test/fixtures/export/thesis zotero entries always create @phdthesis bibtex entries #307.bibtex.bib: -------------------------------------------------------------------------------- 1 | @thesis{Woller2011DetMultiple, 2 | date = {2011}, 3 | langid = {norsk}, 4 | author = {given={Sune Brøndum}, family={Wøller}}, 5 | language = {norsk}, 6 | title = {Det multiple arkæologiske objekt. Et studie af materialitet og arkæologiske tekstiler} 7 | } 8 | 9 | @thesis{Woller2011CTRDet, 10 | date = {2011}, 11 | langid = {norsk}, 12 | author = {given={Sune Brøndum}, family={Wøller}}, 13 | language = {norsk}, 14 | title = {CTR Det multiple arkæologiske objekt. Et studie af materialitet og arkæologiske tekstiler} 15 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/Should parse comment.json: -------------------------------------------------------------------------------- 1 | { 2 | "entries": {}, 3 | "comments": [ 4 | "\"\nslkdjflksdjflkdsjf\"", 5 | "paglione2001mapping,\n\t title={A Mapping Survey of the 13CO and 12CO Emission in Galaxies},\n\t author={Paglione, T.A.D. and Wall, WF and Young, J.S. and Heyer, M.H. and Richard, M. and Goldstein, M. and Kaufman, Z. and Nantais, J. and Perry, G.},\n\t journal={The Astrophysical Journal Supplement Series},\n\t volume={135},\n\t pages={183}, %test end comment out\n\t year={2001},\n\t %comment out ={}\n\t publisher={IOP % comment middel works test Publishing}" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /.github/workflows/npm.yml: -------------------------------------------------------------------------------- 1 | name: NPM CI 2 | on: 3 | push: 4 | tags: 5 | - "*" 6 | jobs: 7 | build: 8 | runs-on: ubuntu-latest 9 | steps: 10 | - uses: actions/checkout@v4 11 | # Setup .npmrc file to publish to npm 12 | - uses: actions/setup-node@v4 13 | with: 14 | node-version: "22.x" 15 | registry-url: "https://registry.npmjs.org" 16 | - run: npm install 17 | - run: npm publish 18 | env: 19 | NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} 20 | -------------------------------------------------------------------------------- /test/fixtures/export/Better BibLaTeX.002.biblatex.bib: -------------------------------------------------------------------------------- 1 | @book{Abramowitz1964, 2 | date = {1964}, 3 | author = {given={Milton}, family={Abramowitz} and given={Irene A.}, family={Stegun}}, 4 | edition = {ninth Dover printing, tenth GPO printing}, 5 | location = {New York}, 6 | publisher = {Dover}, 7 | title = {Handbook of Mathematical Functions with Formulas, Graphs, {and} Mathematical Tables} 8 | } 9 | 10 | @book{Torre2008, 11 | date = {2008}, 12 | author = {given={Joe}, family={Torre} and given={Tom}, family={Verducci}}, 13 | isbn = {0-385-52740-3}, 14 | publisher = {Doubleday}, 15 | title = {The {{Yankee}} Years} 16 | } -------------------------------------------------------------------------------- /test/fixtures/export/Better BibLaTeX.013.biblatex.bib: -------------------------------------------------------------------------------- 1 | @article{physicalviolentvolcanology, 2 | date = {2001}, 3 | author = {given={Nancy K}, family={Adams} and given={Shanaka L}, family={DeSilva} and given={Steven}, family={Self} and given={Guido}, family={Salas} and given={Steven}, family={Schubring} and given={Jason L}, family={Permenter} and given={Kendra}, family={Arbesman}}, 4 | journaltitle = {Title, with comma}, 5 | keywords = {Vulcanian eruptions, breadcrust, plinian}, 6 | pages = {493--518}, 7 | title = {The Physical, Violent Volcanology of the 1600 Eruption of {{Huaynaputina}}, Southern {{Peru}}}, 8 | volume = {62} 9 | } -------------------------------------------------------------------------------- /test/fixtures/export/Better BibLaTeX.015.biblatex.bib: -------------------------------------------------------------------------------- 1 | @article{physicalviolentvolcanology, 2 | date = {2001}, 3 | author = {given={Nancy K}, family={Adams} and given={Shanaka L}, family={DeSilva} and given={Steven}, family={Self} and given={Guido}, family={Salas} and given={Steven}, family={Schubring} and given={Jason L}, family={Permenter} and given={Kendra}, family={Arbesman}}, 4 | journaltitle = {Title, with comma}, 5 | keywords = {Vulcanian eruptions, breadcrust, plinian}, 6 | pages = {493--518}, 7 | title = {The Physical: Violent Volcanology of the 1600 Eruption of {{Huaynaputina}}, Southern {{Peru}}}, 8 | volume = {62} 9 | } -------------------------------------------------------------------------------- /test/fixtures/export/Inproceeding should parse.bib: -------------------------------------------------------------------------------- 1 | @inproceedings{Lysenko:2010:GMC:1839778.1839781, 2 | date = {2010}, 3 | author = {given={Mikola}, family={Lysenko} and given={Saigopal}, family={Nelaturi} and given={Vadim}, family={Shapiro}}, 4 | title = {Group morphology with convolution algebras}, 5 | booktitle = {Proceedings of the 14th ACM Symposium on Solid {and} Physical Modeling}, 6 | series = {SPM '10}, 7 | isbn = {978-1-60558-984-8}, 8 | location = {Haifa, Israel}, 9 | pages = {11--22}, 10 | url = {http://doi.acm.org/10.1145/1839778.1839781}, 11 | doi = {10.1145/1839778.1839781}, 12 | publisher = {ACM} 13 | } -------------------------------------------------------------------------------- /test/fixtures/export/Diacritics stripped from keys regardless of ascii or fold filters #266-fold.biblatex.bib: -------------------------------------------------------------------------------- 1 | @article{VlcekVacha2014HistoryLatin, 2 | date = {2014-05-15}, 3 | author = {given={Martin}, family={Vlček} and given={Marek}, family={Vácha}}, 4 | doi = {10.1007/s00276-014-1305-7}, 5 | eprint = {24828123}, 6 | eprinttype = {pmid}, 7 | issn = {1279-8517}, 8 | journaltitle = {Surgical {and} Radiologic Anatomy}, 9 | langid = {usenglish}, 10 | title = {The History of {{Latin}} Terminology of Human Skeletal Muscles (from {{Vesalius}} to the Present)}, 11 | url = {http://link.springer.com/10.1007/s00276-014-1305-7} 12 | } -------------------------------------------------------------------------------- /test/fixtures/export/Diacritics stripped from keys regardless of ascii or fold filters #266-nofold.biblatex.bib: -------------------------------------------------------------------------------- 1 | @article{VlčekVácha2014HistoryLatin, 2 | date = {2014-05-15}, 3 | author = {given={Martin}, family={Vlček} and given={Marek}, family={Vácha}}, 4 | doi = {10.1007/s00276-014-1305-7}, 5 | eprint = {24828123}, 6 | eprinttype = {pmid}, 7 | issn = {1279-8517}, 8 | journaltitle = {Surgical {and} Radiologic Anatomy}, 9 | langid = {usenglish}, 10 | title = {The History of {{Latin}} Terminology of Human Skeletal Muscles (from {{Vesalius}} to the Present)}, 11 | url = {http://link.springer.com/10.1007/s00276-014-1305-7} 12 | } -------------------------------------------------------------------------------- /test/fixtures/export/Underscores break capital-preservation #300.bibtex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "note": "http://www.patanalyse.com/sample-analysis.html", 4 | "title": "Patent Landscape analysis: sample from SPECFEM3D_GLOBE", 5 | "accessed": { 6 | "date-parts": [ 7 | [ 8 | 2014, 9 | 10, 10 | 18 11 | ] 12 | ] 13 | }, 14 | "type": "article", 15 | "id": "1" 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /test/fixtures/export/Be robust against misconfigured journal abbreviator #127.biblatex.bib: -------------------------------------------------------------------------------- 1 | @article{Yeh1985, 2 | date = {1985}, 3 | author = {given={J. J.}, family={Yeh} and given={I.}, family={Lindau}}, 4 | journaltitle = {Atomic data {and} nuclear data tables}, 5 | number = {1}, 6 | pages = {1--155}, 7 | shorttitle = {Atomic Subshell Photoionization Cross Sections {and} Asymmetry Parameters}, 8 | title = {Atomic Subshell Photoionization Cross Sections {and} Asymmetry Parameters: 1⩽< i> {{Z}}⩽ 103}, 9 | url = {http://www.sciencedirect.com/science/article/pii/0092640X85900166}, 10 | urldate = {2013-01-11}, 11 | volume = {32} 12 | } -------------------------------------------------------------------------------- /test/fixtures/export/transliteration for citekey #580.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2002 7 | ] 8 | ] 9 | }, 10 | "author": [ 11 | { 12 | "given": "Григорий", 13 | "family": "Медведев" 14 | } 15 | ], 16 | "language": "ru-RU", 17 | "number-of-pages": "520", 18 | "publisher": "МК-Периодика", 19 | "title": "Ядерный загар", 20 | "type": "book", 21 | "id": "1" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Export Forthcoming as Forthcoming.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @incollection{BartoliniForthcoming, 3 | author = {Bartolini, Stefano and Bilancini, Ennio and Sarracino, Francesco}, 4 | booktitle = {Policies for {{Happiness}}}, 5 | location = {{Oxford}}, 6 | publisher = {{Oxford University Press}}, 7 | timestamp = {2015-02-24 12:14:36 +0100}, 8 | title = {Social {{Capital Predicts Happiness}}: {{World}}-{{Wide Evidence From Time Series}}}, 9 | url = {http://www.econ-pol.unisi.it/bartolini/papers/BARTOLINI-BILANCINI-SARRACINO.pdf}, 10 | urldate = {2015-02-07}, 11 | year = {Forthcoming} 12 | } 13 | 14 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/Underscores break capital-preservation #300.bibtex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "note": "http://www.patanalyse.com/sample-analysis.html", 4 | "title": "Patent Landscape analysis: sample from SPECFEM3D_GLOBE", 5 | "accessed": { 6 | "date-parts": [ 7 | [ 8 | 2014, 9 | 10, 10 | 18 11 | ] 12 | ] 13 | }, 14 | "type": "article", 15 | "id": "1" 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /test/fixtures/export/Better BibLaTeX.014.biblatex.bib: -------------------------------------------------------------------------------- 1 | @article{physicalviolentvolcanology, 2 | date = {2001}, 3 | author = {given={Nancy K}, family={Adams} and given={Shanaka L}, family={DeSilva} and given={Steven}, family={Self} and given={Guido}, family={Salas} and given={Steven}, family={Schubring} and given={Jason L}, family={Permenter} and given={Kendra}, family={Arbesman}}, 4 | journaltitle = {Title, with comma}, 5 | keywords = {Vulcanian eruptions, breadcrust, plinian}, 6 | pages = {493--518}, 7 | title = {The {\mkbibitalic{Physical}}, Violent Volcanology of the 1600 Eruption of {{Huaynaputina}}, Southern {{Peru}}}, 8 | volume = {62} 9 | } -------------------------------------------------------------------------------- /test/fixtures/export/Date parses incorrectly with year 1000 when source Zotero field is in datetime format. #515.biblatex.bib: -------------------------------------------------------------------------------- 1 | @article{barker_2016_swiss, 2 | entrysubtype = {newspaper}, 3 | date = {2016-06-06}, 4 | abstract = {Voters in Switzerland overwhelmingly reject a proposal to introduce a guaranteed monthly income for all citizens.}, 5 | author = {given={Anne}, family={Barker}}, 6 | journaltitle = {ABC News}, 7 | langid = {australian}, 8 | title = {Swiss Voters Say No to Guaranteed Free Money}, 9 | url = {http://www.abc.net.au/news/2016-06-06/swiss-voters-reject-basic-income-proposal/7481672}, 10 | urldate = {2017-12-06} 11 | } -------------------------------------------------------------------------------- /test/fixtures/export/month-name-in-brackets.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2014, 7 | 10 8 | ] 9 | ] 10 | }, 11 | "DOI": "10.1002/9781119019138.ch10", 12 | "URL": "https://doi.org/10.1002%2F9781119019138.ch10", 13 | "publisher": "John Wiley & Sons, Ltd", 14 | "page": "159-169", 15 | "title": "The origins of bitcoin", 16 | "container-title": "Understanding bitcoin", 17 | "type": "chapter", 18 | "id": "1" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibTeX.011.bib: -------------------------------------------------------------------------------- 1 | 2 | @inproceedings{Klassen2010, 3 | author = {Klassen, Myungsook and Kim, Nyunsu and Liu, Wei Ming}, 4 | title = {Empirical Study of Support Vector Machine Kernels with Applications to Microarray Data}, 5 | booktitle = {CATA}, 6 | year = {2010}, 7 | pages = {25-30}, 8 | note = {svm liniowe najlepsze}, 9 | bibsource = {DBLP, http://dblp.uni-trier.de}, 10 | crossref = {DBLP:conf/cata/2010}, 11 | file = {Klassen2010.pdf:Better BibTeX.011/klasyfikatory/Klassen2010.pdf:PDF}, 12 | groups = {klasyfikacja}, 13 | owner = {sstudent}, 14 | timestamp = {2011.03.22} 15 | } 16 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/month-name-in-brackets.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2014, 7 | 10 8 | ] 9 | ] 10 | }, 11 | "DOI": "10.1002/9781119019138.ch10", 12 | "URL": "https://doi.org/10.1002%2F9781119019138.ch10", 13 | "publisher": "John Wiley & Sons, Ltd", 14 | "page": "159-169", 15 | "title": "The origins of bitcoin", 16 | "container-title": "Understanding bitcoin", 17 | "type": "chapter", 18 | "id": "1" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/transliteration for citekey #580.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2002 7 | ] 8 | ] 9 | }, 10 | "author": [ 11 | { 12 | "given": "Григорий", 13 | "family": "Медведев" 14 | } 15 | ], 16 | "language": "ru-RU", 17 | "number-of-pages": "520", 18 | "publisher": "МК-Периодика", 19 | "title": "Ядерный загар", 20 | "type": "book", 21 | "id": "1" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /test/fixtures/export/Do not caps-protect literal lists #391.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "publisher-place": "Trinidad and Tobago", 4 | "original-publisher-place": "Saint Kitts and Nevis", 5 | "original-publisher": "Doe and Company", 6 | "publisher": "Miller, Smith and Jones", 7 | "title": "Publisher", 8 | "type": "book", 9 | "id": "1" 10 | }, 11 | "2": { 12 | "title": "Institution", 13 | "type": "report", 14 | "id": "2" 15 | }, 16 | "3": { 17 | "title": "University", 18 | "type": "thesis", 19 | "id": "3" 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /test/fixtures/export/Journal abbreviations exported in bibtex (81).bibtex.bib: -------------------------------------------------------------------------------- 1 | @article{HammondBortz2011ApplMathComput, 2 | date = {2011-11}, 3 | langid = {usenglish}, 4 | author = {given={Jason F.}, family={Hammond} and given={David M.}, family={Bortz}}, 5 | doi = {10.1016/j.amc.2011.03.163}, 6 | issn = {00963003}, 7 | journaltitle = {Appl. Math. Comput.}, 8 | language = {en}, 9 | note = {{\url{http://linkinghub.elsevier.com/retrieve/pii/S0096300311010137}}}, 10 | number = {6}, 11 | pages = {2497--2508}, 12 | title = {Analytical Solutions to {{Fisher}}'s Equation with Time-Variable Coefficients}, 13 | urldate = {2014-07-02}, 14 | volume = {218} 15 | } -------------------------------------------------------------------------------- /test/fixtures/import/csl/Do not caps-protect literal lists #391.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "publisher-place": "Trinidad and Tobago", 4 | "original-publisher-place": "Saint Kitts and Nevis", 5 | "original-publisher": "Doe and Company", 6 | "publisher": "Miller, Smith and Jones", 7 | "title": "Publisher", 8 | "type": "book", 9 | "id": "1" 10 | }, 11 | "2": { 12 | "title": "Institution", 13 | "type": "report", 14 | "id": "2" 15 | }, 16 | "3": { 17 | "title": "University", 18 | "type": "thesis", 19 | "id": "3" 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /test/fixtures/export/Abbreviations in key generated for Conference Proceedings #548.biblatex.bib: -------------------------------------------------------------------------------- 1 | @inproceedings{CorlessJeffreyKnuth1997Proc1997IntSympSymbAlgebrComput, 2 | date = {1997}, 3 | author = {given={Robert M.}, family={Corless} and given={David J.}, family={Jeffrey} and given={Donald E.}, family={Knuth}}, 4 | booktitle = {Proceedings of the 1997 {{International Symposium}} on {{Symbolic}} {and} {{Algebraic Computation}}}, 5 | doi = {10.1145/258726.258783}, 6 | isbn = {0-89791-875-4}, 7 | langid = {usenglish}, 8 | pages = {197--204}, 9 | publisher = {ACM Press}, 10 | title = {A Sequence of Series for the {{Lambert}} {{\mkbibitalic{W}}} Function} 11 | } -------------------------------------------------------------------------------- /test/fixtures/export/Better BibLaTeX.021.biblatex.bib: -------------------------------------------------------------------------------- 1 | @article{deOliveira2010, 2 | date = {2010-11}, 3 | author = {given={Leonardo Hadlich}, family={Oliveira}, prefix={de}, useprefix=true and given={Martín}, family={Aznar}}, 4 | doi = {10.1016/j.jct.2010.06.007}, 5 | issn = {00219614}, 6 | journaltitle = {The Journal of Chemical Thermodynamics}, 7 | langid = {usenglish}, 8 | number = {11}, 9 | pages = {1379--1385}, 10 | title = {({{Liquid}}+liquid) Equilibrium of \{ water+phenol+(1-Butanol, or 2-Butanol, or Tert-Butanol)\} Systems}, 11 | url = {http://linkinghub.elsevier.com/retrieve/pii/S0021961410002107}, 12 | urldate = {2014-06-18}, 13 | volume = {42} 14 | } -------------------------------------------------------------------------------- /test/fixtures/export/Better BibTeX.005.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2009 7 | ] 8 | ] 9 | }, 10 | "title": "USGS monitoring ecological impacts", 11 | "volume": "107", 12 | "collection-number": "29", 13 | "container-title": "Oil & gas journal", 14 | "author": [ 15 | { 16 | "given": "A", 17 | "family": "Oliveira" 18 | } 19 | ], 20 | "page": "29", 21 | "type": "article", 22 | "id": "1" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/Better BibTeX.005.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2009 7 | ] 8 | ] 9 | }, 10 | "title": "USGS monitoring ecological impacts", 11 | "volume": "107", 12 | "collection-number": "29", 13 | "container-title": "Oil & gas journal", 14 | "author": [ 15 | { 16 | "given": "A", 17 | "family": "Oliveira" 18 | } 19 | ], 20 | "page": "29", 21 | "type": "article", 22 | "id": "1" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /test/fixtures/export/References with multiple notes fail to export #174.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2008 7 | ] 8 | ] 9 | }, 10 | "author": [ 11 | { 12 | "given": "Joe", 13 | "family": "Torre" 14 | }, 15 | { 16 | "given": "Tom", 17 | "family": "Verducci" 18 | } 19 | ], 20 | "title": "XYZZY", 21 | "type": "article", 22 | "id": "1" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/thesis zotero entries always create @phdthesis bibtex entries #307.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @mastersthesis{Woller2011DetMultiple, 3 | author = {Wøller, Sune Brøndum}, 4 | date = {2011}, 5 | langid = {norsk}, 6 | timestamp = {2015-02-24 12:14:36 +0100}, 7 | title = {Det multiple arkæologiske objekt. Et studie af materialitet og arkæologiske tekstiler} 8 | } 9 | 10 | @phdthesis{Woller2011CTRDet, 11 | author = {Wøller, Sune Brøndum}, 12 | date = {2011}, 13 | langid = {norsk}, 14 | timestamp = {2015-02-24 12:14:36 +0100}, 15 | title = {CTR Det multiple arkæologiske objekt. Et studie af materialitet og arkæologiske tekstiler} 16 | } 17 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/References with multiple notes fail to export #174.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2008 7 | ] 8 | ] 9 | }, 10 | "author": [ 11 | { 12 | "given": "Joe", 13 | "family": "Torre" 14 | }, 15 | { 16 | "given": "Tom", 17 | "family": "Verducci" 18 | } 19 | ], 20 | "title": "XYZZY", 21 | "type": "article", 22 | "id": "1" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /test/fixtures/export/@legislation; map code,container-title to journaltitle #327.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2011, 7 | 5, 8 | 18 9 | ] 10 | ] 11 | }, 12 | "language": "fr-FR", 13 | "title": "Loi no 2011-525 du 17 mai 2011 de simplification et d'amélioration de la qualité du droit", 14 | "URL": "http://www.legifrance.gouv.fr/affichTexte.do?cidTexte=JORFTEXT000024021430&categorieLien=id", 15 | "type": "article", 16 | "id": "1" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/fixtures/export/Better BibLaTeX.012.biblatex.bib: -------------------------------------------------------------------------------- 1 | @article{10.1000/182+physical_volcanology_1600_eruption, 2 | date = {2001}, 3 | author = {given={Nancy K}, family={Adams} and given={Shanaka L}, family={DeSilva} and given={Steven}, family={Self} and given={Guido}, family={Salas} and given={Steven}, family={Schubring} and given={Jason L}, family={Permenter} and given={Kendra}, family={Arbesman}}, 4 | doi = {10.1000/182}, 5 | journaltitle = {Bulletin of Volcanology}, 6 | keywords = {Vulcanian eruptions, breadcrust, plinian}, 7 | pages = {493--518}, 8 | title = {The Physical Volcanology of the 1600 Eruption of {{Huaynaputina}}, Southern {{Peru}}}, 9 | volume = {62} 10 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibLaTeX.011.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @inproceedings{Klassen2010, 3 | author = {Klassen, Myungsook and Kim, Nyunsu and Liu, Wei Ming}, 4 | bibsource = {DBLP, http://dblp.uni-trier.de}, 5 | booktitle = {{{CATA}}}, 6 | crossref = {DBLP:conf/cata/2010}, 7 | date = {2010}, 8 | file = {Klassen2010.pdf:files/1/Klassen2010.pdf:application/pdf}, 9 | groups = {klasyfikacja}, 10 | note = {svm liniowe najlepsze}, 11 | owner = {sstudent}, 12 | pages = {25--30}, 13 | timestamp = {2015-02-24 12:14:36 +0100}, 14 | title = {Empirical {{Study}} of {{Support Vector Machine Kernels}} with {{Applications}} to {{Microarray Data}}} 15 | } 16 | 17 | -------------------------------------------------------------------------------- /test/fixtures/export/Better BibTeX does not use biblatex fields eprint and eprinttype #170.biblatex.bib: -------------------------------------------------------------------------------- 1 | @article{BachmannDybalskiNaaijkens14, 2 | date = {2014-12-09}, 3 | author = {given={Sven}, family={Bachmann} and given={Wojciech}, family={Dybalski} and given={Pieter}, family={Naaijkens}}, 4 | eprint = {1412.2970}, 5 | eprinttype = {arxiv}, 6 | keywords = {Lieb-Robinson bounds, Mathematical Physics, Quantum Physics}, 7 | eprintclass = {math-ph, physics:quant-ph}, 8 | title = {Lieb-{{Robinson}} Bounds, {{Arveson}} Spectrum {and} {{Haag}}-{{Ruelle}} Scattering Theory for Gapped Quantum Spin Systems}, 9 | url = {http://arxiv.org/abs/1412.2970}, 10 | urldate = {2015-02-07} 11 | } -------------------------------------------------------------------------------- /test/fixtures/export/Colon in bibtex key #405.biblatex.bib: -------------------------------------------------------------------------------- 1 | @inproceedings{deKort:2007:DigitalGamesSocial, 2 | date = {2007}, 3 | author = {given={Y.A.W.}, family={Kort}, prefix={de}, useprefix=true and given={W.A.}, family={IJsselsteijn} and given={K.}, family={Poels}}, 4 | booktitle = {Proceedings of the 10th {{Annual International Workshop}} on {{Presence}}}, 5 | doi = {http://alexandria.tue.nl/campusonly/Metis215145.pdf}, 6 | location = {Barcelona}, 7 | pages = {195--203}, 8 | publisher = {Starlab}, 9 | title = {Digital Games as Social Presence Technology: Development of the Social Presence in Gaming Questionnaire ({{SPGQ}})}, 10 | url = {http://repository.tue.nl/663080} 11 | } -------------------------------------------------------------------------------- /test/fixtures/export/bare-string-terminated-by-tab.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 1978 7 | ] 8 | ] 9 | }, 10 | "author": [ 11 | { 12 | "given": "Beatrice", 13 | "family": "Warren" 14 | } 15 | ], 16 | "publisher": "Acta Universitatis Gothoburgen", 17 | "title": "Semantic patterns of noun-noun compound", 18 | "collection-title": "Gothenburg studies in english", 19 | "volume": "41", 20 | "type": "book", 21 | "id": "1" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Abbreviations in key generated for Conference Proceedings #548.biblatex.bib: -------------------------------------------------------------------------------- 1 | @inproceedings{CorlessJeffreyKnuth1997Proc1997IntSympSymbAlgebrComput, 2 | author = {Corless, Robert M. and Jeffrey, David J. and Knuth, Donald E.}, 3 | booktitle = {Proceedings of the 1997 {{International Symposium}} on {{Symbolic}} and {{Algebraic Computation}}}, 4 | date = {1997}, 5 | doi = {10.1145/258726.258783}, 6 | isbn = {0-89791-875-4}, 7 | langid = {english}, 8 | pages = {197--204}, 9 | publisher = {{ACM Press}}, 10 | timestamp = {2015-02-24 12:14:36 +0100}, 11 | title = {A Sequence of Series for the {{Lambert}} {{{\emph{W}}}} Function} 12 | } 13 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/thesis zotero entries always create @phdthesis bibtex entries #307.bibtex.bib: -------------------------------------------------------------------------------- 1 | 2 | @mastersthesis{Woller2011DetMultiple, 3 | author = {Wøller, Sune Brøndum}, 4 | language = {norsk}, 5 | timestamp = {2015-02-24 12:14:36 +0100}, 6 | title = {{Det multiple arkæologiske objekt. Et studie af materialitet og arkæologiske tekstiler}}, 7 | year = {2011} 8 | } 9 | 10 | @phdthesis{Woller2011CTRDet, 11 | author = {Wøller, Sune Brøndum}, 12 | language = {norsk}, 13 | timestamp = {2015-02-24 12:14:36 +0100}, 14 | title = {{CTR Det multiple arkæologiske objekt. Et studie af materialitet og arkæologiske tekstiler}}, 15 | year = {2011} 16 | } 17 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/typo stature-statute (zotero item type) #284.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @legislation{_loi_2009, 3 | abstract = {JORF n°0137 du 16 juin 2009 page 9784 4 | texte n° 1}, 5 | date = {2009-06-15}, 6 | journaltitle = {JORF}, 7 | langid = {french}, 8 | number = {PRMX0908015L}, 9 | pages = {9784}, 10 | timestamp = {2015-02-24 12:14:36 +0100}, 11 | title = {Loi n° 2009-689 du 15 juin 2009 tendant à modifier l’ordonnance n° 58-1100 du 17 novembre 1958 relative au fonctionnement des assemblées parlementaires et à compléter le code de justice administrative}, 12 | url = {http://www.legifrance.gouv.fr/WAspad/UnTexteDeJorf?numjo=PRMX0908015L} 13 | } 14 | 15 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/@legislation; map code,container-title to journaltitle #327.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2011, 7 | 5, 8 | 18 9 | ] 10 | ] 11 | }, 12 | "language": "fr-FR", 13 | "title": "Loi no 2011-525 du 17 mai 2011 de simplification et d'amélioration de la qualité du droit", 14 | "URL": "http://www.legifrance.gouv.fr/affichTexte.do?cidTexte=JORFTEXT000024021430&categorieLien=id", 15 | "type": "article", 16 | "id": "1" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /test/fixtures/export/Better BibLaTeX.022.biblatex.bib: -------------------------------------------------------------------------------- 1 | @article{deOliveira2010-Liquidliquidequilibrium, 2 | date = {2010-11}, 3 | author = {given={Leonardo Hadlich}, family={Oliveira}, prefix={de}, useprefix=true and given={Martín}, family={Aznar}}, 4 | doi = {10.1016/j.jct.2010.06.007}, 5 | issn = {00219614}, 6 | journaltitle = {The Journal of Chemical Thermodynamics}, 7 | langid = {usenglish}, 8 | number = {11}, 9 | pages = {1379--1385}, 10 | title = {({{Liquid}}+liquid) Equilibrium of \{ water+phenol+(1-butanol, or 2-butanol, or tert-butanol)\} Systems}, 11 | url = {http://linkinghub.elsevier.com/retrieve/pii/S0021961410002107}, 12 | urldate = {2014-06-18}, 13 | volume = {42} 14 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/Failure to handle unparsed author names (92).bib: -------------------------------------------------------------------------------- 1 | 2 | @InCollection{Madelung_1998_LB_10681727_56, 3 | Title = {Cuprous oxide ({Cu$_2$O}) crystal structure, lattice parameters}, 4 | Author = {Madelung, O. and others}, 5 | Booktitle = {{L}andolt-{B}\"ornstein}, 6 | Publisher = {Springer-Verlag}, 7 | Year = {1998}, 8 | Editor = {Madelung, O. and R\"ossler, U. and Schulz, M.}, 9 | Series = {SpringerMaterials - The Landolt-B\"ornstein Database}, 10 | Volume = {III/41c}, 11 | Doi = {10.1007/10681727_56}, 12 | File = {Madelung_1998_LB_10681727_56.pdf:CopperOxides\Madelung_1998_LB_10681727_56.pdf:PDF}, 13 | Owner = {Francesco}, 14 | Timestamp = {2010.02.22} 15 | } 16 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Should parse comment.bib: -------------------------------------------------------------------------------- 1 | 2 | @PREAMBLE{" 3 | ewcommand{ 4 | oopsort}[1]{}"} 5 | 6 | @COMMENT{" 7 | slkdjflksdjflkdsjf"} 8 | 9 | % test 10 | 11 | @comment{paglione2001mapping, 12 | title={A Mapping Survey of the 13CO and 12CO Emission in Galaxies}, 13 | author={Paglione, T.A.D. and Wall, WF and Young, J.S. and Heyer, M.H. and Richard, M. and Goldstein, M. and Kaufman, Z. and Nantais, J. and Perry, G.}, 14 | journal={The Astrophysical Journal Supplement Series}, 15 | volume={135}, 16 | pages={183}, %test end comment out 17 | year={2001}, 18 | %comment out ={} 19 | publisher={IOP % comment middel works test Publishing} 20 | } 21 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/bare-string-terminated-by-tab.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 1978 7 | ] 8 | ] 9 | }, 10 | "author": [ 11 | { 12 | "given": "Beatrice", 13 | "family": "Warren" 14 | } 15 | ], 16 | "publisher": "Acta Universitatis Gothoburgen", 17 | "title": "Semantic patterns of noun-noun compound", 18 | "collection-title": "Gothenburg studies in english", 19 | "volume": "41", 20 | "type": "book", 21 | "id": "1" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /test/fixtures/export/condense in cite key format not working #308.biblatex.bib: -------------------------------------------------------------------------------- 1 | @inproceedings{de_kort2007digital, 2 | date = {2007}, 3 | author = {given={Y.A.W.}, family={Kort}, prefix={de}, useprefix=true and given={W.A.}, family={IJsselsteijn} and given={K.}, family={Poels}}, 4 | booktitle = {Proceedings of the 10th {{Annual International Workshop}} on {{Presence}}}, 5 | doi = {http://alexandria.tue.nl/campusonly/Metis215145.pdf}, 6 | location = {Barcelona}, 7 | pages = {195--203}, 8 | publisher = {Starlab}, 9 | title = {Digital Games as Social Presence Technology: Development of the Social Presence in Gaming Questionnaire ({{SPGQ}})}, 10 | url = {http://repository.tue.nl/663080} 11 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibLaTeX.002.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @book{Abramowitz1964, 3 | author = {Abramowitz, Milton and Stegun, Irene A.}, 4 | date = {1964}, 5 | edition = {ninth Dover printing, tenth GPO printing}, 6 | location = {{New York}}, 7 | publisher = {{Dover}}, 8 | timestamp = {2015-02-24 12:14:36 +0100}, 9 | title = {Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables} 10 | } 11 | 12 | @book{Torre2008, 13 | author = {Torre, Joe and Verducci, Tom}, 14 | date = {2008}, 15 | isbn = {0-385-52740-3}, 16 | publisher = {{Doubleday}}, 17 | timestamp = {2015-02-24 12:14:36 +0100}, 18 | title = {The {{Yankee}} Years} 19 | } 20 | 21 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Journal abbreviations exported in bibtex (81).bibtex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{HammondBortz2011ApplMathComput, 3 | author = {Hammond, Jason F. and Bortz, David M.}, 4 | doi = {10.1016/j.amc.2011.03.163}, 5 | issn = {00963003}, 6 | journal = {Appl. Math. Comput.}, 7 | language = {en}, 8 | month = nov, 9 | note = {\url{http://linkinghub.elsevier.com/retrieve/pii/S0096300311010137}}, 10 | number = {6}, 11 | pages = {2497--2508}, 12 | timestamp = {2015-02-24 12:14:36 +0100}, 13 | title = {Analytical Solutions to {{Fisher}}'s Equation with Time-Variable Coefficients}, 14 | urldate = {2014-07-02}, 15 | volume = {218}, 16 | year = {2011} 17 | } 18 | 19 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Spaces not stripped from citation keys #294.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{vlcek_historylatinterminology_2014, 3 | author = {Vlček, Martin and Vácha, Marek}, 4 | date = {2014-05-15}, 5 | doi = {10.1007/s00276-014-1305-7}, 6 | eprint = {24828123}, 7 | eprinttype = {pmid}, 8 | issn = {1279-8517}, 9 | journaltitle = {Surgical and Radiologic Anatomy}, 10 | langid = {english}, 11 | shortjournal = {Surg Radiol Anat}, 12 | timestamp = {2015-02-24 12:14:36 +0100}, 13 | title = {The History of {{Latin}} Terminology of Human Skeletal Muscles (from {{Vesalius}} to the Present)}, 14 | url = {http://link.springer.com/10.1007/s00276-014-1305-7} 15 | } 16 | 17 | -------------------------------------------------------------------------------- /test/fixtures/export/Better BibLaTeX.005.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2009 7 | ] 8 | ] 9 | }, 10 | "author": [ 11 | { 12 | "given": "A", 13 | "family": "Oliveira" 14 | } 15 | ], 16 | "container-title": "Oil & gas journal", 17 | "collection-number": "29", 18 | "page": "29", 19 | "title": "USGS monitoring ecological impacts", 20 | "volume": "107", 21 | "type": "article", 22 | "id": "1" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /test/fixtures/export/Better BibTeX.007.bib: -------------------------------------------------------------------------------- 1 | @article{Frit2, 2 | date = {2012}, 3 | author = {given={U.}, family={Fritz} and given={C.}, family={Corti} and given={M.}, family={Päckert}}, 4 | doi = {10.1007/s13127-011-0069-8}, 5 | journaltitle = {Actes du 4$^{ème}$ Congrès Français d'Acoustique}, 6 | pages = {71--80}, 7 | title = {Test of markupconversion: Italics, bold, superscript, subscript, {and} small caps: Mitochondrial DNA$_{2}$ sequences suggest unexpected phylogenetic position of Corso-Sardinian grass snakes ({{\mkbibitalic{Natrix cetti}}}) {and} {\mkbibbold{do not}} support their {\textsc{species status}}, with notes on phylogeography {and} subspecies delineation of grass snakes.}, 8 | volume = {12} 9 | } -------------------------------------------------------------------------------- /test/fixtures/export/biblatex export of phdthesis does not case-protect -type- #435.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2012 7 | ] 8 | ] 9 | }, 10 | "author": [ 11 | { 12 | "given": "Luis Roberto", 13 | "family": "Tay Wo Chong Hilares" 14 | } 15 | ], 16 | "title": "Numerical Simulation of the Dynamics of Turbulent Swirling Flames", 17 | "type": "thesis", 18 | "id": "1" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/InspiredHEP should parse.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{Chen:2014oha, 3 | author = "Chen, Chien-Yi and Davoudiasl, Hooman and Kim, Doojin", 4 | title = {Warped Graviton "Z + Missing Energy" Signal at Hadron 5 | Colliders}, 6 | journal = "Phys.Rev.", 7 | volume = "D89", 8 | pages = "096007", 9 | doi = "10.1103/PhysRevD.89.096007", 10 | year = "2014", 11 | eprint = "1403.3399", 12 | archivePrefix = "arXiv", 13 | primaryClass = "hep-ph", 14 | SLACcitation = "%%CITATION = ARXIV:1403.3399;%%", 15 | } 16 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/Better BibLaTeX.005.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2009 7 | ] 8 | ] 9 | }, 10 | "author": [ 11 | { 12 | "given": "A", 13 | "family": "Oliveira" 14 | } 15 | ], 16 | "container-title": "Oil & gas journal", 17 | "collection-number": "29", 18 | "page": "29", 19 | "title": "USGS monitoring ecological impacts", 20 | "volume": "107", 21 | "type": "article", 22 | "id": "1" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /test/fixtures/export/italics in title - capitalization #541.biblatex.bib: -------------------------------------------------------------------------------- 1 | @article{brill_effects_2006, 2 | date = {2006-09-23}, 3 | author = {given={R. W.}, family={Brill} and given={P. G.}, family={Bushnell}}, 4 | doi = {10.1007/s10695-006-9104-7}, 5 | issn = {0920-1742, 1573-5168}, 6 | journaltitle = {Fish Physiology {and} Biochemistry}, 7 | langid = {usenglish}, 8 | number = {4}, 9 | pages = {283--294}, 10 | title = {Effects of Open- {and} Closed-System Temperature Changes on Blood {{O}}$_{2}$-Binding Characteristics of {{Atlantic}} Bluefin Tuna ({{\mkbibitalic{Thunnus thynnus}}})}, 11 | url = {http://link.springer.com/article/10.1007/s10695-006-9104-7}, 12 | urldate = {2016-08-18}, 13 | volume = {32} 14 | } -------------------------------------------------------------------------------- /test/fixtures/export/referencetype= does not work #278.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2009 7 | ] 8 | ] 9 | }, 10 | "editor": [ 11 | { 12 | "given": "Kees", 13 | "family": "Versteegh" 14 | } 15 | ], 16 | "publisher-place": "Leiden", 17 | "publisher": "Brill", 18 | "title": "Encyclopedia of arabic language and linguistics", 19 | "URL": "https://katalog.ub.uni-leipzig.de/Record/0002828121/Multipart", 20 | "type": "book", 21 | "id": "1" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Inproceeding should parse.bib: -------------------------------------------------------------------------------- 1 | 2 | @inproceedings{Lysenko:2010:GMC:1839778.1839781, 3 | author = {Lysenko, Mikola and Nelaturi, Saigopal and Shapiro, Vadim}, 4 | title = {Group morphology with convolution algebras}, 5 | booktitle = {Proceedings of the 14th ACM Symposium on Solid and Physical Modeling}, 6 | series = {SPM '10}, 7 | year = {2010}, 8 | isbn = {978-1-60558-984-8}, 9 | location = {Haifa, Israel}, 10 | pages = {11--22}, 11 | numpages = {12}, 12 | url = {http://doi.acm.org/10.1145/1839778.1839781}, 13 | doi = {10.1145/1839778.1839781}, 14 | acmid = {1839781}, 15 | publisher = {ACM}, 16 | address = {New York, NY, USA} 17 | } 18 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/biblatex export of phdthesis does not case-protect -type- #435.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2012 7 | ] 8 | ] 9 | }, 10 | "author": [ 11 | { 12 | "given": "Luis Roberto", 13 | "family": "Tay Wo Chong Hilares" 14 | } 15 | ], 16 | "title": "Numerical Simulation of the Dynamics of Turbulent Swirling Flames", 17 | "type": "thesis", 18 | "id": "1" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /test/fixtures/export/Better BibTeX.007.roundtrip.bib: -------------------------------------------------------------------------------- 1 | @article{Frit2, 2 | date = {2012}, 3 | author = {given={U.}, family={Fritz} and given={C.}, family={Corti} and given={M.}, family={Päckert}}, 4 | doi = {10.1007/s13127-011-0069-8}, 5 | journaltitle = {Actes du 4$^{ème}$ Congrès Français d'Acoustique}, 6 | pages = {71--80}, 7 | title = {Test of markupconversion: Italics, bold, superscript, subscript, {and} small caps: Mitochondrial DNA$_{2}$ sequences suggest unexpected phylogenetic position of Corso-Sardinian grass snakes ({{\mkbibitalic{Natrix cetti}}}) {and} {\mkbibbold{do not}} support their {\textsc{species status}}, with notes on phylogeography {and} subspecies delineation of grass snakes.}, 8 | volume = {12} 9 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibLaTeX.012.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{10.1000/182+physical_volcanology_1600_eruption, 3 | author = {Adams, Nancy K and DeSilva, Shanaka L and Self, Steven and Salas, Guido and Schubring, Steven and Permenter, Jason L and Arbesman, Kendra}, 4 | date = {2001}, 5 | doi = {10.1000/182}, 6 | file = {Attachment:files/1/Adams_Huaynaputina.pdf:application/pdf}, 7 | journaltitle = {Bulletin of Volcanology}, 8 | keywords = {Vulcanian eruptions,breadcrust,plinian}, 9 | pages = {493--518}, 10 | timestamp = {2015-02-24 12:14:36 +0100}, 11 | title = {The Physical Volcanology of the 1600 Eruption of {{Huaynaputina}}, Southern {{Peru}}}, 12 | volume = {62} 13 | } 14 | 15 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/referencetype= does not work #278.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2009 7 | ] 8 | ] 9 | }, 10 | "editor": [ 11 | { 12 | "given": "Kees", 13 | "family": "Versteegh" 14 | } 15 | ], 16 | "publisher-place": "Leiden", 17 | "publisher": "Brill", 18 | "title": "Encyclopedia of arabic language and linguistics", 19 | "URL": "https://katalog.ub.uni-leipzig.de/Record/0002828121/Multipart", 20 | "type": "book", 21 | "id": "1" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /test/fixtures/export/Better BibTeX.015.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2007 7 | ] 8 | ] 9 | }, 10 | "title": "Theories of globalization", 11 | "container-title": "The Blackwell companion to globalization", 12 | "publisher": "John Wiley & Sons", 13 | "author": [ 14 | { 15 | "given": "William I", 16 | "family": "Robinson" 17 | } 18 | ], 19 | "page": "125-143", 20 | "type": "chapter", 21 | "id": "1" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /test/fixtures/export/BibLaTeX; export CSL override 'issued' to date or year #351.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2014, 7 | 12, 8 | 31 9 | ], 10 | [ 11 | 2015, 12 | 1, 13 | 1 14 | ] 15 | ] 16 | }, 17 | "author": [ 18 | { 19 | "given": "John", 20 | "family": "Doe" 21 | } 22 | ], 23 | "title": "Test", 24 | "type": "webpage", 25 | "id": "1" 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /test/fixtures/export/Export mapping for reporter field #219.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 1998, 7 | 4, 8 | 1 9 | ] 10 | ] 11 | }, 12 | "author": [ 13 | { 14 | "given": "Kaetinyeri", 15 | "family": "Commonwealth", 16 | "non-dropping-particle": "v" 17 | } 18 | ], 19 | "title-short": "Kartinyeri", 20 | "title": "Kartinyeri v Commonwealth", 21 | "type": "article", 22 | "id": "1" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Diacritics stripped from keys regardless of ascii or fold filters #266-fold.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{VlcekVacha2014HistoryLatin, 3 | author = {Vlček, Martin and Vácha, Marek}, 4 | date = {2014-05-15}, 5 | doi = {10.1007/s00276-014-1305-7}, 6 | eprint = {24828123}, 7 | eprinttype = {pmid}, 8 | issn = {1279-8517}, 9 | journaltitle = {Surgical and Radiologic Anatomy}, 10 | langid = {english}, 11 | shortjournal = {Surg Radiol Anat}, 12 | timestamp = {2015-02-24 12:14:36 +0100}, 13 | title = {The History of {{Latin}} Terminology of Human Skeletal Muscles (from {{Vesalius}} to the Present)}, 14 | url = {http://link.springer.com/10.1007/s00276-014-1305-7} 15 | } 16 | 17 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Diacritics stripped from keys regardless of ascii or fold filters #266-nofold.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{VlčekVácha2014HistoryLatin, 3 | author = {Vlček, Martin and Vácha, Marek}, 4 | date = {2014-05-15}, 5 | doi = {10.1007/s00276-014-1305-7}, 6 | eprint = {24828123}, 7 | eprinttype = {pmid}, 8 | issn = {1279-8517}, 9 | journaltitle = {Surgical and Radiologic Anatomy}, 10 | langid = {english}, 11 | shortjournal = {Surg Radiol Anat}, 12 | timestamp = {2015-02-24 12:14:36 +0100}, 13 | title = {The History of {{Latin}} Terminology of Human Skeletal Muscles (from {{Vesalius}} to the Present)}, 14 | url = {http://link.springer.com/10.1007/s00276-014-1305-7} 15 | } 16 | 17 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/BibLaTeX; export CSL override 'issued' to date or year #351.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2014, 7 | 12, 8 | 31 9 | ], 10 | [ 11 | 2015, 12 | 1, 13 | 1 14 | ] 15 | ] 16 | }, 17 | "author": [ 18 | { 19 | "given": "John", 20 | "family": "Doe" 21 | } 22 | ], 23 | "title": "Test", 24 | "type": "webpage", 25 | "id": "1" 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/Better BibTeX.013.json: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "entry_key": "1", 4 | "bib_type": "book", 5 | "fields": { 6 | "title": [ 7 | { 8 | "type": "text", 9 | "text": "Filename character test. Relative path" 10 | } 11 | ] 12 | } 13 | }, 14 | "2": { 15 | "entry_key": "2", 16 | "bib_type": "book", 17 | "fields": { 18 | "title": [ 19 | { 20 | "type": "text", 21 | "text": "Filename character test. Absolute path" 22 | } 23 | ] 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/Better BibTeX.015.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2007 7 | ] 8 | ] 9 | }, 10 | "title": "Theories of globalization", 11 | "container-title": "The Blackwell companion to globalization", 12 | "publisher": "John Wiley & Sons", 13 | "author": [ 14 | { 15 | "given": "William I", 16 | "family": "Robinson" 17 | } 18 | ], 19 | "page": "125-143", 20 | "type": "chapter", 21 | "id": "1" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/Export mapping for reporter field #219.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 1998, 7 | 4, 8 | 1 9 | ] 10 | ] 11 | }, 12 | "author": [ 13 | { 14 | "given": "Kaetinyeri", 15 | "family": "Commonwealth", 16 | "non-dropping-particle": "v" 17 | } 18 | ], 19 | "title-short": "Kartinyeri", 20 | "title": "Kartinyeri v Commonwealth", 21 | "type": "article", 22 | "id": "1" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /test/fixtures/export/BibTeX variable support for journal titles. #309.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 1972 7 | ] 8 | ] 9 | }, 10 | "author": [ 11 | { 12 | "given": "Richard E", 13 | "family": "Blahut" 14 | } 15 | ], 16 | "container-title": "[IEEE_J_IT]", 17 | "collection-number": "4", 18 | "page": "460-473", 19 | "title": "Computation of channel capacity and rate-distortion functions", 20 | "volume": "18", 21 | "type": "article", 22 | "id": "1" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/BibTeX; URL missing in bibtex for Book Section #412.off.bibtex.bib: -------------------------------------------------------------------------------- 1 | 2 | @incollection{lt2010, 3 | author = {Lust, Thibaut and Teghem, Jacques}, 4 | booktitle = {Advances in {{Multi}}-{{Objective Nature Inspired Computing}}}, 5 | doi = {10.1007/978-3-642-11218-8_6}, 6 | editor = {Coello, Carlos A. Coello and Dhaenens, Clarisse and Jourdan, Laetitia}, 7 | isbn = {978-3-642-11217-1 978-3-642-11218-8}, 8 | number = {272}, 9 | pages = {119--141}, 10 | publisher = {{Springer Berlin Heidelberg}}, 11 | series = {Studies in Computational Intelligence}, 12 | title = {The {{Multiobjective Traveling Salesman Problem}}: {{A Survey}} and a {{New Approach}}}, 13 | year = {2010} 14 | } 15 | 16 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/BibTeX variable support for journal titles. #309.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 1972 7 | ] 8 | ] 9 | }, 10 | "author": [ 11 | { 12 | "given": "Richard E", 13 | "family": "Blahut" 14 | } 15 | ], 16 | "container-title": "[IEEE_J_IT]", 17 | "collection-number": "4", 18 | "page": "460-473", 19 | "title": "Computation of channel capacity and rate-distortion functions", 20 | "volume": "18", 21 | "type": "article", 22 | "id": "1" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /test/fixtures/export/Better BibTeX.012.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2012 7 | ] 8 | ] 9 | }, 10 | "title": "The Concepts of Risk and Safety", 11 | "container-title": "Handbook of Risk Theory: Epistemology, Decision Theory, Ethics, and Social Implications of Risk", 12 | "publisher": "Springer", 13 | "author": [ 14 | { 15 | "given": "Niklas", 16 | "family": "Möller" 17 | } 18 | ], 19 | "type": "chapter", 20 | "id": "1" 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /test/fixtures/export/Fields in Extra should override defaults.biblatex.bib: -------------------------------------------------------------------------------- 1 | @online{simonite2013declinewikipediaeven, 2 | date = {2013-10-22}, 3 | abstract = {The community that built the largest encyclopedia in history is shrinking, even as more people {and} Internet services depend on it than ever. Can it be revived, or is this the end of the Web’s idealistic era?}, 4 | author = {given={Tom}, family={Simonite}}, 5 | shorttitle = {The Decline of {{Wikipedia}}}, 6 | title = {The Decline of {{Wikipedia}}: Even as More People than Ever Rely on It, Fewer People Create It}, 7 | titleaddon = {MIT Technology Review}, 8 | url = {http://www.technologyreview.com/featuredstory/520446/the-decline-of-wikipedia/}, 9 | urldate = {2013-10-26} 10 | } -------------------------------------------------------------------------------- /test/fixtures/export/HTML Fragment separator escaped in url #140 #147.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "author": [ 4 | { 5 | "given": "John", 6 | "family": "MacFarlane" 7 | } 8 | ], 9 | "title": "Pandoc User’s Guide", 10 | "URL": "http://johnmacfarlane.net/pandoc/README.html#citations", 11 | "accessed": { 12 | "date-parts": [ 13 | [ 14 | 2015, 15 | 1, 16 | 31 17 | ] 18 | ] 19 | }, 20 | "type": "article", 21 | "id": "1" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /test/fixtures/export/round-braces.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 1972, 7 | 5 8 | ] 9 | ] 10 | }, 11 | "author": [ 12 | { 13 | "given": "Drew V.", 14 | "family": "McDermott" 15 | }, 16 | { 17 | "given": "Gerald J.", 18 | "family": "Sussman" 19 | } 20 | ], 21 | "title": "The CONNIVER reference manual", 22 | "type": "report", 23 | "id": "1" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibTeX.007.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{Frit2, 3 | author = {Fritz, U. and Corti, C. and P\"{a}ckert, M.}, 4 | doi = {10.1007/s13127-011-0069-8}, 5 | journal = {Actes du $4^{\textrm{ème}}$ Congrès Français d'Acoustique}, 6 | pages = {71-80}, 7 | timestamp = {2015-02-24 12:14:36 +0100}, 8 | title = {Test of markupconversion: Italics, bold, superscript, subscript, and small caps: Mitochondrial DNA$_{\textrm{2}}$ sequences suggest unexpected phylogenetic position of Corso-Sardinian grass snakes (\textit{Natrix cetti}) and \textbf{do not} support their \textsc{species status}, with notes on phylogeography and subspecies delineation of grass snakes.}, 9 | volume = {12}, 10 | year = {2012} 11 | } 12 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Colon in bibtex key #405.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @inproceedings{deKort:2007:DigitalGamesSocial, 3 | author = {de Kort, Y.A.W. and IJsselsteijn, W.A. and Poels, K.}, 4 | booktitle = {Proceedings of the 10th {{Annual International Workshop}} on {{Presence}}}, 5 | date = {2007}, 6 | doi = {http://alexandria.tue.nl/campusonly/Metis215145.pdf}, 7 | location = {{Barcelona}}, 8 | options = {useprefix=true}, 9 | pages = {195 -- 203}, 10 | publisher = {{Starlab}}, 11 | timestamp = {2015-02-24 12:14:36 +0100}, 12 | title = {Digital Games as Social Presence Technology: Development of the Social Presence in Gaming Questionnaire ({{SPGQ}})}, 13 | url = {http://repository.tue.nl/663080} 14 | } 15 | 16 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/round-braces.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 1972, 7 | 5 8 | ] 9 | ] 10 | }, 11 | "author": [ 12 | { 13 | "given": "Drew V.", 14 | "family": "McDermott" 15 | }, 16 | { 17 | "given": "Gerald J.", 18 | "family": "Sussman" 19 | } 20 | ], 21 | "title": "The CONNIVER reference manual", 22 | "type": "report", 23 | "id": "1" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /test/fixtures/export/CrossRef should parse.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2004 7 | ] 8 | ] 9 | }, 10 | "title": "Bibtex from CrossRef", 11 | "ISSN": "0263-9475", 12 | "URL": "http://dx.doi.org/10.2307/25564177", 13 | "DOI": "10.2307/25564177", 14 | "collection-number": "109", 15 | "container-title": "Circa", 16 | "author": [ 17 | { 18 | "given": "Robert", 19 | "family": "Peters" 20 | } 21 | ], 22 | "page": "24", 23 | "type": "article", 24 | "id": "1" 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Be robust against misconfigured journal abbreviator #127.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{Yeh1985, 3 | author = {Yeh, J. J. and Lindau, I.}, 4 | date = {1985}, 5 | journaltitle = {Atomic data and nuclear data tables}, 6 | number = {1}, 7 | pages = {1--155}, 8 | shortjournal = {At. Data Nucl. Data Tables}, 9 | shorttitle = {Atomic Subshell Photoionization Cross Sections and Asymmetry Parameters}, 10 | timestamp = {2015-02-24 12:14:36 +0100}, 11 | title = {Atomic Subshell Photoionization Cross Sections and Asymmetry Parameters: 1⩽$<$ {{i}}$>$ {{Z}}⩽ 103}, 12 | url = {http://www.sciencedirect.com/science/article/pii/0092640X85900166}, 13 | urldate = {2013-01-11}, 14 | volume = {32} 15 | } 16 | 17 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/condense in cite key format not working #308.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @inproceedings{de_kort2007digital, 3 | author = {de Kort, Y.A.W. and IJsselsteijn, W.A. and Poels, K.}, 4 | booktitle = {Proceedings of the 10th {{Annual International Workshop}} on {{Presence}}}, 5 | date = {2007}, 6 | doi = {http://alexandria.tue.nl/campusonly/Metis215145.pdf}, 7 | location = {{Barcelona}}, 8 | options = {useprefix=true}, 9 | pages = {195 -- 203}, 10 | publisher = {{Starlab}}, 11 | timestamp = {2015-02-24 12:14:36 +0100}, 12 | title = {Digital Games as Social Presence Technology: Development of the Social Presence in Gaming Questionnaire ({{SPGQ}})}, 13 | url = {http://repository.tue.nl/663080} 14 | } 15 | 16 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/Better BibTeX.012.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2012 7 | ] 8 | ] 9 | }, 10 | "title": "The Concepts of Risk and Safety", 11 | "container-title": "Handbook of Risk Theory: Epistemology, Decision Theory, Ethics, and Social Implications of Risk", 12 | "publisher": "Springer", 13 | "author": [ 14 | { 15 | "given": "Niklas", 16 | "family": "Möller" 17 | } 18 | ], 19 | "type": "chapter", 20 | "id": "1" 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/HTML Fragment separator escaped in url #140 #147.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "author": [ 4 | { 5 | "given": "John", 6 | "family": "MacFarlane" 7 | } 8 | ], 9 | "title": "Pandoc User’s Guide", 10 | "URL": "http://johnmacfarlane.net/pandoc/README.html#citations", 11 | "accessed": { 12 | "date-parts": [ 13 | [ 14 | 2015, 15 | 1, 16 | 31 17 | ] 18 | ] 19 | }, 20 | "type": "article", 21 | "id": "1" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /test/fixtures/export/Better BibLaTeX.007.biblatex.bib: -------------------------------------------------------------------------------- 1 | @article{Frit2, 2 | date = {2012}, 3 | author = {given={U.}, family={Fritz} and given={C.}, family={Corti} and given={M.}, family={Päckert}}, 4 | doi = {10.1007/s13127-011-0069-8}, 5 | journaltitle = {Actes du 4$^{ème}$ Congrès Français d'Acoustique}, 6 | langid = {french}, 7 | pages = {71--80}, 8 | title = {Test of markupconversion: Italics, bold, superscript, subscript, {and} small caps: Mitochondrial DNA$_{2}$ sequences suggest unexpected phylogenetic position of Corso-Sardinian grass snakes ({\mkbibitalic{Natrix cetti}}) {and} {\mkbibbold{do not}} support their {\textsc{species status}}, with notes on phylogeography {and} subspecies delineation of grass snakes.}, 9 | volume = {12} 10 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibTeX does not use biblatex fields eprint and eprinttype #170.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{BachmannDybalskiNaaijkens14, 3 | archivePrefix = {arXiv}, 4 | author = {Bachmann, Sven and Dybalski, Wojciech and Naaijkens, Pieter}, 5 | date = {2014-12-09}, 6 | eprint = {1412.2970}, 7 | eprinttype = {arxiv}, 8 | keywords = {Lieb-Robinson bounds,Mathematical Physics,Quantum Physics}, 9 | primaryClass = {math-ph, physics:quant-ph}, 10 | timestamp = {2015-02-24 12:14:36 +0100}, 11 | title = {Lieb-{{Robinson}} Bounds, {{Arveson}} Spectrum and {{Haag}}-{{Ruelle}} Scattering Theory for Gapped Quantum Spin Systems}, 12 | url = {http://arxiv.org/abs/1412.2970}, 13 | urldate = {2015-02-07} 14 | } 15 | 16 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibTeX.007.roundtrip.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{Frit2, 3 | author = {Fritz, U. and Corti, C. and P\"{a}ckert, M.}, 4 | doi = {10.1007/s13127-011-0069-8}, 5 | journal = {Actes du $4^{\textrm{ème}}$ Congrès Français d'Acoustique}, 6 | pages = {71-80}, 7 | timestamp = {2015-02-24 12:14:36 +0100}, 8 | title = {Test of markupconversion: Italics, bold, superscript, subscript, and small caps: Mitochondrial DNA$_{\textrm{2}}$ sequences suggest unexpected phylogenetic position of Corso-Sardinian grass snakes (\textit{Natrix cetti}) and \textbf{do not} support their \textsc{species status}, with notes on phylogeography and subspecies delineation of grass snakes.}, 9 | volume = {12}, 10 | year = {2012} 11 | } 12 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/CrossRef should parse.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2004 7 | ] 8 | ] 9 | }, 10 | "title": "Bibtex from CrossRef", 11 | "ISSN": "0263-9475", 12 | "URL": "http://dx.doi.org/10.2307/25564177", 13 | "DOI": "10.2307/25564177", 14 | "collection-number": "109", 15 | "container-title": "Circa", 16 | "author": [ 17 | { 18 | "given": "Robert", 19 | "family": "Peters" 20 | } 21 | ], 22 | "page": "24", 23 | "type": "article", 24 | "id": "1" 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/Better BibLaTeX.006.biblatex.json: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "entry_key": "1", 4 | "bib_type": "article", 5 | "fields": { 6 | "title": [ 7 | { 8 | "type": "text", 9 | "text": "Non-breaking space: ; accented characters: Ñ and Ñ; tilde in " 10 | }, 11 | { 12 | "type": "text", 13 | "text": "URL: http://example.com/~user", 14 | "marks": [ 15 | { 16 | "type": "nocase" 17 | } 18 | ] 19 | } 20 | ] 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /test/fixtures/export/Malformed HTML.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "abstract": "P. M. S. \\ensuremathHacker\\ensuremath 1. The ?confusion of psychology? On the concluding page of what is now called ?Part II? of the Investigations, Wittgenstein wrote..", 4 | "author": [ 5 | { 6 | "given": "P. M. S.", 7 | "family": "Hacker" 8 | } 9 | ], 10 | "title": "The Relevance of Wittgenstein's Philosophy of Psychology to the Psychological Sciences", 11 | "type": "manuscript", 12 | "id": "1" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /test/fixtures/export/less-or-equal.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2004 7 | ] 8 | ] 9 | }, 10 | "author": [ 11 | { 12 | "given": "Richard", 13 | "family": "Zach" 14 | } 15 | ], 16 | "title": "Decidability of quantified propositional intuitionistic logic and S4 on trees of height and arity ≤ω", 17 | "container-title": "Journal of philosophical logic", 18 | "volume": "33", 19 | "page": "155-164", 20 | "DOI": "10.1023/B:LOGI.0000021744.10237.d0", 21 | "type": "article", 22 | "id": "1" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibLaTeX.022.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{deOliveira2010-Liquidliquidequilibrium, 3 | author = {de Oliveira, Leonardo Hadlich and Aznar, Martín}, 4 | date = {2010-11}, 5 | doi = {10.1016/j.jct.2010.06.007}, 6 | issn = {00219614}, 7 | journaltitle = {The Journal of Chemical Thermodynamics}, 8 | langid = {english}, 9 | number = {11}, 10 | options = {useprefix=true}, 11 | pages = {1379--1385}, 12 | timestamp = {2015-02-24 12:14:36 +0100}, 13 | title = {({{Liquid}}+liquid) Equilibrium of {{\{water+phenol+(1-butanol, or 2-butanol, or tert-butanol)\}}} Systems}, 14 | url = {http://linkinghub.elsevier.com/retrieve/pii/S0021961410002107}, 15 | urldate = {2014-06-18}, 16 | volume = {42} 17 | } 18 | 19 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/Malformed HTML.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "abstract": "P. M. S. \\ensuremathHacker\\ensuremath 1. The ?confusion of psychology? On the concluding page of what is now called ?Part II? of the Investigations, Wittgenstein wrote..", 4 | "author": [ 5 | { 6 | "given": "P. M. S.", 7 | "family": "Hacker" 8 | } 9 | ], 10 | "title": "The Relevance of Wittgenstein's Philosophy of Psychology to the Psychological Sciences", 11 | "type": "manuscript", 12 | "id": "1" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/less-or-equal.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2004 7 | ] 8 | ] 9 | }, 10 | "author": [ 11 | { 12 | "given": "Richard", 13 | "family": "Zach" 14 | } 15 | ], 16 | "title": "Decidability of quantified propositional intuitionistic logic and S4 on trees of height and arity ≤ω", 17 | "container-title": "Journal of philosophical logic", 18 | "volume": "33", 19 | "page": "155-164", 20 | "DOI": "10.1023/B:LOGI.0000021744.10237.d0", 21 | "type": "article", 22 | "id": "1" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /test/fixtures/export/Juris-M missing multi-lingual fields #482.juris-m.biblatex.bib: -------------------------------------------------------------------------------- 1 | @online{leishuku, 2 | author = {{愛如生}}, 3 | langid = {pinyin}, 4 | shorttitle = {leishuku}, 5 | title = {中國類書庫}, 6 | titleaddon = {Zhōngguó lèishū kù}, 7 | url = {http://server.wenzibase.com}, 8 | urldate = {2016-04-20} 9 | } 10 | 11 | @thesis{yan_cairong__2003, 12 | date = {2003}, 13 | author = {{顏采容}}, 14 | institution = {國立暨南國際大學}, 15 | langid = {pinyin}, 16 | pagetotal = {214}, 17 | title = {明清時期出版與文化─以「才子佳人」小說為中心}, 18 | titleaddon = {Publishing {and} Culture in Ming-Qing period : The Scholar-Beauty Novels as an Example}, 19 | type = {Ph.D. Dissertation}, 20 | url = {http://ndltd.ncl.edu.tw/cgi-bin/gs32/gsweb.cgi?o=dnclcdr&s=id=%22091NCNU0493006%22.&searchmode=basic} 21 | } -------------------------------------------------------------------------------- /test/fixtures/export/BibTeX; URL missing in bibtex for Book Section #412.off.bibtex.bib: -------------------------------------------------------------------------------- 1 | @incollection{lt2010, 2 | date = {2010}, 3 | author = {given={Thibaut}, family={Lust} and given={Jacques}, family={Teghem}}, 4 | booktitle = {Advances in {{Multi}}-{{Objective Nature Inspired Computing}}}, 5 | doi = {10.1007/978-3-642-11218-8_6}, 6 | editor = {given={Carlos A. Coello}, family={Coello} and given={Clarisse}, family={Dhaenens} and given={Laetitia}, family={Jourdan}}, 7 | isbn = {978-3-642-11217-1 978-3-642-11218-8}, 8 | number = {272}, 9 | pages = {119--141}, 10 | publisher = {Springer Berlin Heidelberg}, 11 | series = {Studies in Computational Intelligence}, 12 | title = {The {{Multiobjective Traveling Salesman Problem}}: {{A Survey}} {and} a {{New Approach}}} 13 | } -------------------------------------------------------------------------------- /test/fixtures/export/Export web page to misc type with notes and howpublished custom fields #329.bibtex.bib: -------------------------------------------------------------------------------- 1 | @misc{ntp.org_clock_2015, 2 | date = {2015}, 3 | author = {{NTP.org}}, 4 | howpublished = {{\url{http://www.ntp.org/ntpfaq/NTP-s-sw-clocks-quality.htm}}}, 5 | note = {(accessed 2015-02-13)}, 6 | title = {Clock {{Quality}}}, 7 | urldate = {2015-02-13} 8 | } 9 | 10 | @misc{ntp.org_clock_2015-1, 11 | date = {2015}, 12 | author = {{NTP.org}}, 13 | howpublished = {{\url{http://www.ntp.org/ntpfaq/NTP-s-sw-clocks-quality.htm}}}, 14 | title = {Clock {{Quality}}} 15 | } 16 | 17 | @misc{ntp.org_clock_2015-2, 18 | date = {2015}, 19 | author = {{NTP.org}}, 20 | howpublished = {{\url{http://www.ntp.org/ntpfaq/NTP-s-sw-clocks-quality.htm}}}, 21 | title = {Clock {{Quality}}} 22 | } -------------------------------------------------------------------------------- /test/fixtures/import/bib/Date parses incorrectly with year 1000 when source Zotero field is in datetime format. #515.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{barker_2016_swiss, 3 | abstract = {Voters in Switzerland overwhelmingly reject a proposal to introduce a guaranteed monthly income for all citizens.}, 4 | author = {Barker, Anne}, 5 | date = {2016-06-06}, 6 | entrysubtype = {newspaper}, 7 | journaltitle = {ABC News}, 8 | langid = {australian}, 9 | rights = {http://www.abc.net.au/conditions.htm\#UseOfContent}, 10 | timestamp = {2015-02-24 12:14:36 +0100}, 11 | title = {Swiss Voters Say No to Guaranteed Free Money}, 12 | url = {http://www.abc.net.au/news/2016-06-06/swiss-voters-reject-basic-income-proposal/7481672}, 13 | urldate = {2017-12-06} 14 | } 15 | 16 | -------------------------------------------------------------------------------- /test/fixtures/export/Better BibTeX.018.bibtex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2001 7 | ] 8 | ] 9 | }, 10 | "author": [ 11 | { 12 | "given": "Klaus", 13 | "family": "Däßler" 14 | } 15 | ], 16 | "DOI": "10.1175/1520-0493(1987)115<1606:GARSPP>2.0.CO;2", 17 | "container-title": "Title, with comma", 18 | "title": "The physical: violent volcanology of the 1600 eruption of Huaynaputina, southern Peru", 19 | "volume": "62", 20 | "type": "article", 21 | "id": "1" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /test/fixtures/export/Export error for items without publicationTitle and Preserve BibTeX variables enabled #201.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2006 7 | ] 8 | ] 9 | }, 10 | "author": [ 11 | { 12 | "given": "Roger D.", 13 | "family": "Blandford" 14 | }, 15 | { 16 | "given": "Kip S.", 17 | "family": "Thorne" 18 | } 19 | ], 20 | "publisher": "Caltech", 21 | "title": "Applications of Classical Physics", 22 | "type": "book", 23 | "id": "1" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Better BibLaTeX.007.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @article{Frit2, 3 | author = {Fritz, U. and Corti, C. and Päckert, M.}, 4 | date = {2012}, 5 | doi = {10.1007/s13127-011-0069-8}, 6 | journaltitle = {Actes du 4\textsuperscript{ème} Congrès Français d'Acoustique}, 7 | langid = {french}, 8 | pages = {71--80}, 9 | timestamp = {2015-02-24 12:14:36 +0100}, 10 | title = {Test of markupconversion: Italics, bold, superscript, subscript, and small caps: Mitochondrial DNA\textsubscript{2} sequences suggest unexpected phylogenetic position of Corso-Sardinian grass snakes (\emph{Natrix cetti}) and \textbf{do not} support their \textsc{species status}, with notes on phylogeography and subspecies delineation of grass snakes.}, 11 | volume = {12} 12 | } 13 | 14 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/Better BibTeX.018.bibtex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2001 7 | ] 8 | ] 9 | }, 10 | "author": [ 11 | { 12 | "given": "Klaus", 13 | "family": "Däßler" 14 | } 15 | ], 16 | "DOI": "10.1175/1520-0493(1987)115<1606:GARSPP>2.0.CO;2", 17 | "container-title": "Title, with comma", 18 | "title": "The physical: violent volcanology of the 1600 eruption of Huaynaputina, southern Peru", 19 | "volume": "62", 20 | "type": "article", 21 | "id": "1" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/Export error for items without publicationTitle and Preserve BibTeX variables enabled #201.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2006 7 | ] 8 | ] 9 | }, 10 | "author": [ 11 | { 12 | "given": "Roger D.", 13 | "family": "Blandford" 14 | }, 15 | { 16 | "given": "Kip S.", 17 | "family": "Thorne" 18 | } 19 | ], 20 | "publisher": "Caltech", 21 | "title": "Applications of Classical Physics", 22 | "type": "book", 23 | "id": "1" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /test/fixtures/export/Should parse citation with publisher.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2009 7 | ] 8 | ] 9 | }, 10 | "title": "Vernetzung in der grundlagenforschung", 11 | "author": [ 12 | { 13 | "given": "S.", 14 | "family": "Hennemann" 15 | } 16 | ], 17 | "container-title": "Planungsverband ballungsraum frankfurt-rhein-main (hrsg.): wissensatlas FrankfurtRheinMain: die wissensregion stellt sich vor", 18 | "page": "33-36", 19 | "publisher": "Planungsverband, Frankfurt-Rhein-Main", 20 | "type": "chapter", 21 | "id": "1" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /test/fixtures/import/csl/Should parse citation with publisher.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 2009 7 | ] 8 | ] 9 | }, 10 | "title": "Vernetzung in der grundlagenforschung", 11 | "author": [ 12 | { 13 | "given": "S.", 14 | "family": "Hennemann" 15 | } 16 | ], 17 | "container-title": "Planungsverband ballungsraum frankfurt-rhein-main (hrsg.): wissensatlas FrankfurtRheinMain: die wissensregion stellt sich vor", 18 | "page": "33-36", 19 | "publisher": "Planungsverband, Frankfurt-Rhein-Main", 20 | "type": "chapter", 21 | "id": "1" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /test/fixtures/export/Book citation should parse.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 1993, 7 | 7 8 | ] 9 | ] 10 | }, 11 | "author": [ 12 | { 13 | "given": "Peter", 14 | "family": "Babington" 15 | } 16 | ], 17 | "title": "The title of the work", 18 | "publisher": "The name of the publisher", 19 | "volume": "4", 20 | "collection-title": "10", 21 | "publisher-place": "The address", 22 | "edition": 3, 23 | "note": "An optional note", 24 | "ISBN": "3257227892", 25 | "type": "book", 26 | "id": "1" 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /test/fixtures/export/German Umlaut separated by brackets #146.biblatex.bib: -------------------------------------------------------------------------------- 1 | @book{Kaufmann1995, 2 | date = {1995}, 3 | annotation = {"Der Gleichzeitigkeitsgrad g (n) der Spitzenlastanteile Ps von Wohnungen wurdeaus Messungen statistisch ermittelt [2.3]. Eine gute Näherung für die Praxisist die Gleichung (2.5) :" (S. 2.3) Keine Notwendigkeit, in ihrem Grundlegendem Charakter völlig verschiedenartige Belastungen (PV, Wärmepumpe) in dieses Schema zu pressen.}, 4 | author = {given={Wolfgang}, family={Kaufmann}}, 5 | isbn = {3-8007-2141-4 978-3-8007-2141-2 3-8022-0469-7 978-3-8022-0469-2}, 6 | langid = {ngerman}, 7 | location = {Berlin; Frankfurt am Main}, 8 | publisher = {VDE-Verl. ; Verl.- und Wirtschaftsges. der Elektrizitätswerke}, 9 | title = {Planung öffentlicher Elektrizitätsverteilungs-Systeme} 10 | } -------------------------------------------------------------------------------- /test/fixtures/export/biblatex; Language tag xx is exported, xx-XX is not #380.biblatex.csl: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "issued": { 4 | "date-parts": [ 5 | [ 6 | 1941 7 | ] 8 | ] 9 | }, 10 | "author": [ 11 | { 12 | "given": "Leo", 13 | "family": "Spitzer" 14 | } 15 | ], 16 | "DOI": "10.2307/2911510", 17 | "ISSN": "01496611", 18 | "container-title": "Modern Language Notes", 19 | "language": "fr-FR", 20 | "collection-number": "2", 21 | "page": "110-113", 22 | "title": "Le poêle de Descartes", 23 | "volume": "56", 24 | "type": "article", 25 | "id": "1" 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/BibTeX; URL missing in bibtex for Book Section #412.url.bibtex.bib: -------------------------------------------------------------------------------- 1 | 2 | @incollection{lt2010, 3 | author = {Lust, Thibaut and Teghem, Jacques}, 4 | booktitle = {Advances in {{Multi}}-{{Objective Nature Inspired Computing}}}, 5 | doi = {10.1007/978-3-642-11218-8_6}, 6 | editor = {Coello, Carlos A. Coello and Dhaenens, Clarisse and Jourdan, Laetitia}, 7 | isbn = {978-3-642-11217-1 978-3-642-11218-8}, 8 | number = {272}, 9 | pages = {119--141}, 10 | publisher = {{Springer Berlin Heidelberg}}, 11 | series = {Studies in Computational Intelligence}, 12 | title = {The {{Multiobjective Traveling Salesman Problem}}: {{A Survey}} and a {{New Approach}}}, 13 | url = {http://link.springer.com/chapter/10.1007/978-3-642-11218-8_6}, 14 | year = {2010} 15 | } 16 | 17 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/Juris-M missing multi-lingual fields #482.biblatex.bib: -------------------------------------------------------------------------------- 1 | 2 | @online{leishuku, 3 | author = {{愛如生}}, 4 | langid = {pinyin}, 5 | shorttitle = {leishuku}, 6 | timestamp = {2015-02-24 12:14:36 +0100}, 7 | title = {中國類書庫}, 8 | type = {Full-text databse}, 9 | url = {http://server.wenzibase.com}, 10 | urldate = {2016-04-20}, 11 | year = {n.d.} 12 | } 13 | 14 | @thesis{yan_cairong__2003, 15 | author = {{顏采容}}, 16 | date = {2003}, 17 | institution = {{國立暨南國際大學}}, 18 | langid = {Chinese}, 19 | pagetotal = {214}, 20 | timestamp = {2015-02-24 12:14:36 +0100}, 21 | title = {明清時期出版與文化─以「才子佳人」小說為中心}, 22 | type = {Ph.D. Dissertation}, 23 | url = {http://ndltd.ncl.edu.tw/cgi-bin/gs32/gsweb.cgi?o=dnclcdr&s=id=%22091NCNU0493006%22.&searchmode=basic} 24 | } 25 | -------------------------------------------------------------------------------- /test/fixtures/import/bib/BibTeX; URL missing in bibtex for Book Section #412.note.bibtex.bib: -------------------------------------------------------------------------------- 1 | 2 | @incollection{lt2010, 3 | author = {Lust, Thibaut and Teghem, Jacques}, 4 | booktitle = {Advances in {{Multi}}-{{Objective Nature Inspired Computing}}}, 5 | doi = {10.1007/978-3-642-11218-8_6}, 6 | editor = {Coello, Carlos A. Coello and Dhaenens, Clarisse and Jourdan, Laetitia}, 7 | isbn = {978-3-642-11217-1 978-3-642-11218-8}, 8 | note = {\url{http://link.springer.com/chapter/10.1007/978-3-642-11218-8_6}}, 9 | number = {272}, 10 | pages = {119--141}, 11 | publisher = {{Springer Berlin Heidelberg}}, 12 | series = {Studies in Computational Intelligence}, 13 | title = {The {{Multiobjective Traveling Salesman Problem}}: {{A Survey}} and a {{New Approach}}}, 14 | year = {2010} 15 | } 16 | --------------------------------------------------------------------------------