Jyrki Ruuskanen wrote:
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. i'm away two days (ntg tex days) and will oook into it after that
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------