Re: [NTG-context] How to preserve a TeX token list across passes (the ConTeXt way)?

2006-05-15 Thread Hans Hagen
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

[NTG-context] How to preserve a TeX token list across passes (the ConTeXt way)?

2006-05-11 Thread Jyrki Ruuskanen
I made a plain TeX module for simple abbreviation and bibliography handling. The problem is it currently uses a temporary file to keep track of used bibs / abbreviations. Essentially it writes \addToList [\usedAbbreviations]{abbr} and \addToList[\usedReferences]{cite} commands to it, and

Re: [NTG-context] How to preserve a TeX token list across passes (the ConTeXt way)?

2006-05-11 Thread Taco Hoekwater
Jyrki Ruuskanen wrote: I made a plain TeX module for simple abbreviation and bibliography handling. The problem is it currently uses a temporary file to keep track of used bibs / abbreviations. Essentially it writes \addToList [\usedAbbreviations]{abbr} and

Re: [NTG-context] How to preserve a TeX token list across passes (the ConTeXt way)?

2006-05-11 Thread Hans Hagen
Jyrki Ruuskanen wrote: I made a plain TeX module for simple abbreviation and bibliography handling. The problem is it currently uses a temporary file to keep track of used bibs / abbreviations. Essentially it writes \addToList [\usedAbbreviations]{abbr} and

[NTG-context] How to preserve a TeX token list across passes (the ConTeXt way)?

2006-05-11 Thread Jyrki Ruuskanen
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}

[NTG-context] How to preserve a TeX token list across passes (the ConTeXt way)?

2006-05-11 Thread Jyrki Ruuskanen
Thanks for the cont-sys tip, good to know.Yes, I have used \definesynonyms, but I need abbreviations to have three levels: the abbreviation itself, the meaning of abbreviation and the description of the abbreviation (for example, "WWW" is short for "World Wide Web" and is described as a "Worldwide

Re: [NTG-context] How to preserve a TeX token list across passes (the ConTeXt way)?

2006-05-11 Thread Hans Hagen
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