[NTG-context] Text style in bookmarks

nico nicolas.marsgui at libertysurf.fr
Mon May 22 11:43:33 CEST 2006


On Sun, 21 May 2006 19:20:38 +0200, Hans Hagen <pragma at wxs.nl> wrote:

> nico wrote:
>> Hello,
>>
>> Is there a trick so that I can put styles like {\bf ...} or {\tt ...} in
>> the headings without having any weird text in the bookmarks?
>>
> \setupinteraction[state=start]
>
> \appendtoks
>   \let\groupedcommand\thirdofthreearguments
> \to \simplifiedcommands
>
> % no command for monospaced yet
>
> \unprotected \definealternativestyle [\v!mono] [\tt]  []
>
> \placebookmarks
> \starttext
> \chapter{test \mono{test} \bold{test}}
> \stoptext
>
> (i will add the extra definitions to the core)

Thanks!

Regards,
BG


More information about the ntg-context mailing list