diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2021-11-12 11:53:53 +0100 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2021-11-12 11:56:58 +0100 |
commit | da96e1ff40d359b43c5f0bf06a56f98fedcb8a68 (patch) | |
tree | a50b1c305d42afbc549a941c706e98dca7a63b46 | |
parent | abdfefebdf9ffd338683adb1d4fcfe6db4909b49 (diff) | |
download | pandoc-da96e1ff40d359b43c5f0bf06a56f98fedcb8a68.tar.gz |
JATS writer: add URL to element citation entries
The URL of a reference, if present, is added in tag `<uri>` to
element-citation entries.
-rw-r--r-- | src/Text/Pandoc/Writers/JATS/References.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Writers/JATS/References.hs b/src/Text/Pandoc/Writers/JATS/References.hs index 5b19fd034..b00875a7c 100644 --- a/src/Text/Pandoc/Writers/JATS/References.hs +++ b/src/Text/Pandoc/Writers/JATS/References.hs @@ -70,6 +70,7 @@ referenceToJATS _opts ref = do , "pages" `varInTag` "page-range" , "ISBN" `varInTag` "isbn" , "ISSN" `varInTag` "issn" + , "URL" `varInTag` "uri" , varInTagWith "doi" "pub-id" [("pub-id-type", "doi")] , varInTagWith "pmid" "pub-id" [("pub-id-type", "pmid")] ] |