-
Notifications
You must be signed in to change notification settings - Fork 21
Description
I doubt that it's something that can be corrected on our side but anyway worth leaving a record.
When editing citations, which involves correcting in-text pointers to references, the JATS XML export doesn't include it's corrected citation ordering.
Assuming I have a reference with rid bib26. I want to put it as a first reference. While all is working as it should inside the editor, in JATS XML output the reference would look like:
<xref id="_xref-1" ref-type="bibr" rid="bib26">[1]</xref>
While id is correct, the text label pointers to the first reference in the sequence. There is no way to figure out from JATS XML what is the right order of references inside the list. The order of exported references is from lower to higher ids, thus citation label [1] points to the reference, which appears first, i.e. id bib1:
<ref-list>
<ref id="bib1"></ref>
<ref id="bib2"></ref>
<ref id="bib3"></ref>
...
</ref-list>
To make any sense, the label here should repeat the numeric value of id:
<xref id="_xref-1" ref-type="bibr" rid="bib26">[26]</xref>
Or the order of refs inside the list should correspond to the text label:
<ref-list>
<ref id="bib26"></ref>
...
</ref-list>