ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \appendtoks for options
@ 2015-07-05  9:12 Pablo Rodriguez
  2015-07-06  8:11 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodriguez @ 2015-07-05  9:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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.

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: \appendtoks for options
  2015-07-05  9:12 \appendtoks for options Pablo Rodriguez
@ 2015-07-06  8:11 ` Hans Hagen
  2015-07-06 14:52   ` Pablo Rodriguez
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2015-07-06  8:11 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: \appendtoks for options
  2015-07-06  8:11 ` Hans Hagen
@ 2015-07-06 14:52   ` Pablo Rodriguez
  0 siblings, 0 replies; 3+ messages in thread
From: Pablo Rodriguez @ 2015-07-06 14:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 07/06/2015 10:11 AM, Hans Hagen wrote:
> On 7/5/2015 11:12 AM, Pablo Rodriguez wrote:
>> [...]
>> 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

Many thanks for your help, Hans.

I’m not sure I’m doing it right, but I’m afraid it doesn’t work.


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-07-06 14:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-05  9:12 \appendtoks for options Pablo Rodriguez
2015-07-06  8:11 ` Hans Hagen
2015-07-06 14:52   ` Pablo Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).