From 0217ae2a4ffe33bee7cc53ba44817cd540b5f01e Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 12 May 2021 11:05:55 -0700 Subject: Hande 'annote' field in bibtex/biblatex writer. Closes #7266. --- src/Text/Pandoc/Citeproc/BibTeX.hs | 2 ++ test/command/7266.md | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 test/command/7266.md 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} +} +``` -- cgit v1.2.3