summaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2022-03-28 17:02:10 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2022-03-28 17:04:10 -0700
commit6217fd09768909a0a324e2ab3ecf4479a88e3dcd (patch)
tree33f6ccd9d6f34e2959a4003ba092dee0da758d17 /test/command
parent5c7dc4c7f342114cdcd033086987ca36dfb177f0 (diff)
JATS writer: Fix handling of CSL variable 'page'.
Not 'pages' as we had before. It should go to 'lpage' and 'rpage', not 'page-range'. See https://jats.nlm.nih.gov/archiving/tag-library/1.1/element/page-range.html Fixed some mistakes in test #7042.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/7042.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/command/7042.md b/test/command/7042.md
index 413ebe704..f3a6b2ed8 100644
--- a/test/command/7042.md
+++ b/test/command/7042.md
@@ -50,7 +50,7 @@ references:
id: full-journal-article-entry
issue: 4356
issued: '1953-04-01'
- pages: 737-738
+ page: 737-738
pmid: 13054692
title: 'Molecular Structure of Nucleic Acids: A Structure for Deoxyribose Nucleic Acid'
type: article-journal
@@ -133,10 +133,10 @@ references:
<year iso-8601-date="1953-04-01">1953</year><month>04</month><day>01</day>
<volume>171</volume>
<issue>4356</issue>
- <fpage>737</fpage>
- <page-range>737-738</page-range>
<pub-id pub-id-type="doi">10.1038/171737a0</pub-id>
<pub-id pub-id-type="pmid">13054692</pub-id>
+ <fpage>737</fpage>
+ <lpage>738</lpage>
</element-citation>
</ref>
</ref-list>