Ok, the module is read in cont-sys.rme with \usemodule[jtex]. It initializes the lists inside protect / unprotect pair with \newtoks \usedAbbreviations and \newtoks\usedReferences along with macro definitions.

Abbreviations are introduced with \setAbbreviation[<key>]{<abbr>} {<meaning>}{<description>} which defines macros \<key> \<key>@meaning and \<key>@description. Each call to \<key> calls \writeutilitycommand {\addToList[\string\usedAbbreviations]{<key>}, so after the first run the .tui file has a number of "c \addToList[\usedAbbreviations] {something}" lines in it.

Functionality is similar for the bibliography. The \cite command writes \addToList[\usedReferences]{<cite>} into .tui.

So, the .tuo file should populate used* lists and I could typeset the list of used abbreviations in initialization order with \executeListIntersection[\abbreviations][\usedAbbreviations] {\printAbbreviation}. Same for used bib references. But well, lists remain empty.

I'll attach the module and the .tui file.

And excuse me, I have never ever used a mailing list. How am I supposed to answer to a certain message in the chain? Thanks guys.

Jyrki

Attachment: final.tui
Description: Binary data

Attachment: t-jtex.tex
Description: Binary data

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to