ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
Subject: Re: formula, bookmarks and misc
Date: Thu, 2 Nov 2006 09:23:46 +0100	[thread overview]
Message-ID: <20061102092346.ca0d2f07.schuster.wolfgang@googlemail.com> (raw)
In-Reply-To: <Pine.GSO.4.63.0610311545230.29997@rrpf4327h10.ratva.hzvpu.rqh>

On Tue, 31 Oct 2006 15:55:08 -0500 (EST)
Aditya Mahajan <adityam@umich.edu> wrote:

> On Tue, 31 Oct 2006, Wolfgang Schuster wrote:
> 
> > 2006/10/29, Sebastian Rooks <sebastian.rooks@free.fr>:
> >> 
> >> 2/ I'm using bookmarks but abbreviations in heads do not work properly.
> >> I've used a workaround some 3 years ago but I cannot remember which. Any
> >> suggestion ? (see test file below)
> >
> > \appendtoks \def\UK{UK} \to \simplifiedcommands
> 
> 
> Why doesn't
> 
> \doglobal\appendtoks\setvalue{#2}{#2}\to\simplifiedcommands
> 
> line in the definition of dodocomplexsynonym do this automatically?
> 

Hi Aditya,

this was new to me.

You are right, this did work as expected  but only when you place the
definition of the abbreviation and the \placebookmarks command in the
right order.

The following order in the souce works.

\abbreviation [UK] {UK} {United Kingdom of Great Britain and Northern
Ireland}

\placebookmarks[chapter,section,subsection]

The problems is, the token register \simplifiedcommands is called by
the \placebookmarks command and every abbreviations, that follows after
the command is ignored.

Wolfgang

  reply	other threads:[~2006-11-02  8:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-29  1:09 Sebastian Rooks
2006-10-29  6:38 ` Aditya Mahajan
2006-10-29 16:47   ` Sebastian Rooks
2006-10-29 17:18     ` Aditya Mahajan
2006-10-31  8:45 ` Wolfgang Schuster
2006-10-31 20:55   ` Aditya Mahajan
2006-11-02  8:23     ` Wolfgang Schuster [this message]
2006-11-02 17:22       ` Aditya Mahajan
2006-11-01 23:57   ` Sebastian Rooks
2006-11-03 10:52     ` Wolfgang Schuster

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=20061102092346.ca0d2f07.schuster.wolfgang@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --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).