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. copy cont-sys.rme -> cont.sys.tex
and add the module loading there (cont-rme will be overwritten when you update)
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.
so how about using \definesynonyms (see end of core-syn.tex)
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.
just hit the reply button in your mail agent 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 -----------------------------------------------------------------