metanorma / isodoc

Generate HTML/Word from Metanorma XML
https://www.metanorma.org
BSD 2-Clause "Simplified" License
4 stars 3 forks source link

Multiple fmt-xref-label for container scope #622

Open opoudjis opened 5 days ago

opoudjis commented 5 days ago

From #617

Some xrefs flip from being container based to not being container based depending on context. (For instance, Term note 1 within Term X will reference term note 2 within Term X as "note 2 to entry". Outside Term X, the same note would be referenced as "Term X, note 2".) fmt-xref-label only provides the non-container cross-reference.

In the future I will need to come back and provide the different cross-reference options, with their container anchors, and with some machine readable notion of scope within which the different texts are used.