libero / editor

Expedite your production workflow with our open tools and management system
MIT License
10 stars 0 forks source link

Bib and fig citation IDs not aligned #912

Closed Cooryd closed 3 years ago

Cooryd commented 3 years ago

reference citations/reference ids do not align

e.g.

Refined sugars, cereals and vegetable oils, meat from domesticated animals, added sodium, and, in some groups, dairy foods, are now widespread components that would have been largely alien before the advent of farming, animal husbandry and industrialization (<xref ref-type="bibr" rid="bib11">Cordain et al., 2005</xref>).

In the XML, the ref with the id bib11 is Mackenbach, 2007:

<ref id="bib11">
    <element-citation publication-type="journal">
        <person-group person-group-type="author">
            <name>
                <given-names>JP</given-names>
                <surname>Mackenbach</surname>
            </name>
        </person-group>
        <fpage>105</fpage>
        <lpage>109</lpage>
        <year iso-8601-date="2007">2007</year>
        <article-title>The Mediterranean diet story illustrates that "why" questions are as
            important as "how" questions in disease explanation</article-title>
        <source>Journal of Clinical Epidemiology</source>
        <pub-id pub-id-type="doi">10.1016/j.jclinepi.2006.05.001</pub-id>
        <pub-id pub-id-type="pmid">17208115</pub-id>
        <volume>60</volume>
    </element-citation>
</ref>

fig citations/fig ids do not align

e.g.

<p>Some extra body text in it’s own paragraph tag. (<xref ref-type="fig" rid="fig2">NewFig1)</xref></p>

fig with id fig2 is Figure 1 (NewFig1 has the id fig1).