aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Citeproc/BibTeX.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-05-12 11:05:55 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-05-12 11:05:55 -0700
commit0217ae2a4ffe33bee7cc53ba44817cd540b5f01e (patch)
tree6f5d3e3850d8522da2ade9ddf73e94696253128d /src/Text/Pandoc/Citeproc/BibTeX.hs
parent46309319ef9eb66ea3598073df4174fb40b1b0f8 (diff)
downloadpandoc-0217ae2a4ffe33bee7cc53ba44817cd540b5f01e.tar.gz
Hande 'annote' field in bibtex/biblatex writer.
Closes #7266.
Diffstat (limited to 'src/Text/Pandoc/Citeproc/BibTeX.hs')
-rw-r--r--src/Text/Pandoc/Citeproc/BibTeX.hs2
1 files changed, 2 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