JATS writer: add URL to element citation entries

The URL of a reference, if present, is added in tag `<uri>` to
element-citation entries.
This commit is contained in:
Albert Krewinkel 2021-11-12 11:53:53 +01:00
parent abdfefebdf
commit da96e1ff40
No known key found for this signature in database
GPG key ID: 388DC0B21F631124

View file

@ -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")]
]