[NTG-context] \appendtoks for options
Hans Hagen
pragma at wxs.nl
Mon Jul 6 10:11:25 CEST 2015
On 7/5/2015 11:12 AM, Pablo Rodriguez wrote:
> Dear list,
>
> I have the following sample:
>
> \appendtoks
> \let\sethyphenationfeatures[underscore]\space
> \to \simplifiedcommands
> \setupinteraction[state=start]
> \placebookmarks[chapter]
> \starttext
> \chapter{\sethyphenationfeatures[underscore] code}
> \stoptext
>
> Is there a way that I can add the whole
> "\sethyphenationfeatures[underscore]" to \simplifiedcommands?
>
> All I want is to have the whole command removed from the PDF bookmarks.
you can test:
\unexpanded\def\resethyphenationfeatures
{\hyphenationattribute\attributeunsetvalue}
\resethyphenationfeatures
and
\appendtoks
\resethyphenationfeatures
\to \simplifiedcommands
untested of course
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
More information about the ntg-context
mailing list