ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen Outside <pragma@wxs.nl>
Subject: Re: macro expansion in bookmarks
Date: Tue, 15 Jun 2004 00:49:45 +0200	[thread overview]
Message-ID: <40CE2B89.7050800@wxs.nl> (raw)
In-Reply-To: <Pine.LNX.4.58.0406141750140.30128@gaston.free.fr>

Peter Münster wrote:

>Hello,
>is there a switch to turn on macro expansion in bookmarks?
>Here an example, to show what I mean:
>\setupinteraction[state=start]
>\setupinteractionscreen[option=bookmark]
>\definesynonyms[Acro][acronymes][\Full]
>\Acro{ST}{some text}
>\placebookmarks[section]
>\starttext
>\section{\Full{ST}} % result not as expected in bookmark
>\stoptext
>
>TIA for any help, Peter
>  
>
you can simplify commands with: 
	
\appendtoks
  \def\yourdangerouscommand{dont worry} 
\to \simplifiedcommands 

or better in this case:  

\section{\Full{ST}}

\bookmark{some bookmark specific text} 

whatever 


 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

  reply	other threads:[~2004-06-14 22:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-14 16:18 Peter Münster
2004-06-14 22:49 ` Hans Hagen Outside [this message]
2004-06-19 15:53   ` Peter Münster
2004-06-21 14:02     ` Hans Hagen
2004-06-21 14:59       ` Peter Münster
2004-06-21 19:26         ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40CE2B89.7050800@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).