diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-11-08 10:15:53 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-11-08 10:15:53 -0800 |
commit | 0a45f2600ada92e2c21ee5f819e11da90202116e (patch) | |
tree | 0a3bc80fd228221199aa42189bbbcb7ded585665 /test | |
parent | 60233cf07e577f25c3d9e0ffd5fccd9e318d4bae (diff) | |
download | pandoc-0a45f2600ada92e2c21ee5f819e11da90202116e.tar.gz |
Properly handle commented lines in BibTeX/BibLaTeX.
Closes #7668.
Diffstat (limited to 'test')
-rw-r--r-- | test/command/7668.md | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/test/command/7668.md b/test/command/7668.md new file mode 100644 index 000000000..6f85aa4de --- /dev/null +++ b/test/command/7668.md @@ -0,0 +1,36 @@ +``` +% pandoc -f bibtex -t csljson +%@Book{JW82, + author = {Richard A. Johnson and Dean W. Wichern}, + title = {Applied Multivariate Statistical Analysis}, + publisher= {Prentice-Hall}, + year = {1983} +} +@Book{JW83, + author = {Richard %A. + B. Johnson}, +% title = {Multivariate Analysis}, + year = "% + 1983" +} +^D +[ + { + "author": [ + { + "family": "Johnson", + "given": "Richard B." + } + ], + "id": "JW83", + "issued": { + "date-parts": [ + [ + 1983 + ] + ] + }, + "type": "book" + } +] +``` |