On Thu, 2 Nov 2006, Wolfgang Schuster wrote:

> On Tue, 31 Oct 2006 15:55:08 -0500 (EST)
> Aditya Mahajan <[EMAIL PROTECTED]> wrote:
>
>> On Tue, 31 Oct 2006, Wolfgang Schuster wrote:
>>
>>> 2006/10/29, Sebastian Rooks <[EMAIL PROTECTED]>:
>>>>
>>>> 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.

I will call this a bug. Typically, in my workflow, \placebookmark will 
go in the environment file (or the module) and \abbreviation will be 
in the main file.

Hans, is there someway to make sure that this works even when 
abbreviations are defined after \placebookmark. Postponing to 
processing to everystarttext comes to mind, but I do not know how 
rugged that will be.

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

Reply via email to