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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________