diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-05-12 11:05:55 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-05-12 11:05:55 -0700 |
commit | 0217ae2a4ffe33bee7cc53ba44817cd540b5f01e (patch) | |
tree | 6f5d3e3850d8522da2ade9ddf73e94696253128d | |
parent | 46309319ef9eb66ea3598073df4174fb40b1b0f8 (diff) | |
download | pandoc-0217ae2a4ffe33bee7cc53ba44817cd540b5f01e.tar.gz |
Hande 'annote' field in bibtex/biblatex writer.
Closes #7266.
-rw-r--r-- | src/Text/Pandoc/Citeproc/BibTeX.hs | 2 | ||||
-rw-r--r-- | test/command/7266.md | 10 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Citeproc/BibTeX.hs b/src/Text/Pandoc/Citeproc/BibTeX.hs index f6833000c..b17240557 100644 --- a/src/Text/Pandoc/Citeproc/BibTeX.hs +++ b/src/Text/Pandoc/Citeproc/BibTeX.hs @@ -156,6 +156,7 @@ writeBibtexString opts variant mblang ref = , "langid" , "abstract" , "keywords" + , "annote" ] Bibtex -> [ "author" @@ -175,6 +176,7 @@ writeBibtexString opts variant mblang ref = , "address" , "type" , "note" + , "annote" ] valToInlines (TextVal t) = B.text t diff --git a/test/command/7266.md b/test/command/7266.md new file mode 100644 index 000000000..9db833636 --- /dev/null +++ b/test/command/7266.md @@ -0,0 +1,10 @@ +``` +% pandoc -f biblatex -t biblatex -s +@article{id, + annote = "annotation" +} +^D +@article{id, + annote = {annotation} +} +``` |