[NTG-context] formula, bookmarks and misc

Wolfgang Schuster schuster.wolfgang at googlemail.com
Thu Nov 2 09:23:46 CET 2006


On Tue, 31 Oct 2006 15:55:08 -0500 (EST)
Aditya Mahajan <adityam at umich.edu> wrote:

> On Tue, 31 Oct 2006, Wolfgang Schuster wrote:
> 
> > 2006/10/29, Sebastian Rooks <sebastian.rooks at free.fr>:
> >> 
> >> 2/ I'm using bookmarks but abbreviations in heads do not work properly.
> >> I've used a workaround some 3 years ago but I cannot remember which. Any
> >> suggestion ? (see test file below)
> >
> > \appendtoks \def\UK{UK} \to \simplifiedcommands
> 
> 
> Why doesn't
> 
> \doglobal\appendtoks\setvalue{#2}{#2}\to\simplifiedcommands
> 
> line in the definition of dodocomplexsynonym do this automatically?
> 

Hi Aditya,

this was new to me.

You are right, this did work as expected  but only when you place the
definition of the abbreviation and the \placebookmarks command in the
right order.

The following order in the souce works.

\abbreviation [UK] {UK} {United Kingdom of Great Britain and Northern
Ireland}

\placebookmarks[chapter,section,subsection]

The problems is, the token register \simplifiedcommands is called by
the \placebookmarks command and every abbreviations, that follows after
the command is ignored.

Wolfgang


More information about the ntg-context mailing list