Better support for glossaries
Closed this issue · 1 comments
fsteimke commented
This would include
- a new function
f:glossentries
which returns all glossentries for a given glossterm or firstterm, taking into account the internal documents glossary as well as external glossaries, that can be compiled and used independent from the xslTNG stylesheets. The idea is that the xslTNG Stylesheets and additional Schematron Schemas can use this function. An author can check whether there is an entry corresponding to a glossterm at the time of writing, and it would be guaranteed that there is no difference between schematron checks and the result of transformation. - the option of simultaneous use of internal and external glossaries, so that an author is able to overwrite a general glossentry from an external (shared) glossary with a more specific definition which fits better for the document he is writing. This is a requirement for the
f:glossentries
function mentioned above: it must return a sequence of all glossentries for glossterm, and entries from the internal glossary must come first. - a new section "How to use (automatic) glossaries" in the reference manual.
Greetings, Frank
ndw commented
I merged an implementation that I modeled on yours. Comments, suggestions, and observations about where I got it wrong are most welcome :-)