git.iko.soy/typeable/pandoc
on master help sign in
Hande 'annote' field in bibtex/biblatex writer.

Closes #7266.

commit0217ae2a4ffe33bee7cc53ba44817cd540b5f01e authorJohn MacFarlane <jgm@berkeley.edu> dateWed 12 May 2021, 11:05 (5 years ago) parent4630931
2 files changed+12
src/Text/Pandoc/Citeproc/BibTeX.hs+2 test/command/7266.md+10
src/Text/Pandoc/Citeproc/BibTeX.hs+2
@@ -156,6 +156,7 @@ writeBibtexString opts variant mblang ref =
156156 , "langid"
157157 , "abstract"
158158 , "keywords"
159+ , "annote"
159160 ]
160161 Bibtex ->
161162 [ "author"
@@ -175,6 +176,7 @@ writeBibtexString opts variant mblang ref =
175176 , "address"
176177 , "type"
177178 , "note"
179+ , "annote"
178180 ]
179181
180182 valToInlines (TextVal t) = B.text t
test/command/7266.mdnew file+10
@@ -0,0 +1,10 @@
1+```
2+% pandoc -f biblatex -t biblatex -s
3+@article{id,
4+ annote = "annotation"
5+}
6+^D
7+@article{id,
8+ annote = {annotation}
9+}
10+```