diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-05-04 08:45:43 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-05-04 08:45:43 -0700 |
commit | 9dd2eefded7879df85150484c0476410dd77a4f7 (patch) | |
tree | 4bee5336bf35702a21514547304c2116e2df614e /data | |
parent | d73cb5f1a86679e42f226125d7f4dbf2564f79af (diff) | |
download | pandoc-9dd2eefded7879df85150484c0476410dd77a4f7.tar.gz |
JATS writer: fix citations with PMID so they validate.
Closes #5481. This includes an update to data/jats.csl.
Diffstat (limited to 'data')
-rw-r--r-- | data/jats.csl | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/data/jats.csl b/data/jats.csl index adb364400..8f3f643d5 100644 --- a/data/jats.csl +++ b/data/jats.csl @@ -64,7 +64,7 @@ <if type="book" match="any"> <group prefix="{{jats}}<source>{{/jats}}" suffix="{{jats}}</source>{{/jats}}"> <text variable="title"/> - </group> + </group> </if> <else> <group prefix="{{jats}}<article-title>{{/jats}}" suffix="{{jats}}</article-title>{{/jats}}"> @@ -90,8 +90,7 @@ </choose> <choose> <if match="any" variable="PMID"> - <group prefix="{{jats}}<ext-link ext-link-type="pmid" {{/jats}}" suffix="{{jats}}</ext-link>{{/jats}}"> - <text variable="PMID" prefix="{{jats}}xlink:href="http://www.ncbi.nlm.nih.gov/pubmed/{{/jats}}" suffix="{{jats}}" xlink:type="simple">{{/jats}}"/> + <group prefix="{{jats}}<pub-id pub-id-type="pmid">{{/jats}}" suffix="{{jats}}</pub-id>{{/jats}}"> <text variable="PMID"/> </group> </if> @@ -202,4 +201,3 @@ </layout> </bibliography> </style> - |