aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-11-08 10:15:53 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2021-11-08 10:15:53 -0800
commit0a45f2600ada92e2c21ee5f819e11da90202116e (patch)
tree0a3bc80fd228221199aa42189bbbcb7ded585665 /test
parent60233cf07e577f25c3d9e0ffd5fccd9e318d4bae (diff)
downloadpandoc-0a45f2600ada92e2c21ee5f819e11da90202116e.tar.gz
Properly handle commented lines in BibTeX/BibLaTeX.
Closes #7668.
Diffstat (limited to 'test')
-rw-r--r--test/command/7668.md36
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"
+ }
+]
+```