footnote/reference numbering synchronisation
Posted: Mon May 19, 2014 2:41 pm
Dear Board Members,
In TEI documents, I have <ref> elements throughout the document targeting <note> elements representing footnotes and placed at the end of the document, over IDs, as expected.
I'd like to enumerate the notes in the authoring mode, and link them to the refs. So far the only method I've come up with involves to independent counters that are applied to the refs and to the notes independently, the former coded with a link as needed. But I can see no way to synchronise the numbering, that is to ensure that the <ref> shown in the author mode as #16 targets footnote #16 and not, say, #17 that has been promoted because #4 got deleted while its ref is still in place.
Is there an elegant solution to this, or am I currently doing my best? (Note that I am not in a position to alter the coding).
Thank you in advance.
In TEI documents, I have <ref> elements throughout the document targeting <note> elements representing footnotes and placed at the end of the document, over IDs, as expected.
I'd like to enumerate the notes in the authoring mode, and link them to the refs. So far the only method I've come up with involves to independent counters that are applied to the refs and to the notes independently, the former coded with a link as needed. But I can see no way to synchronise the numbering, that is to ensure that the <ref> shown in the author mode as #16 targets footnote #16 and not, say, #17 that has been promoted because #4 got deleted while its ref is still in place.
Is there an elegant solution to this, or am I currently doing my best? (Note that I am not in a position to alter the coding).
Thank you in advance.