ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: bookmarks
Date: Fri, 01 Feb 2002 10:11:05 +0100	[thread overview]
Message-ID: <5.1.0.14.1.20020201100601.0395b2e8@server-1> (raw)
In-Reply-To: <200201312002.VAA20337@smail.let.uu.nl>

At 09:02 PM 1/31/2002 +0100, owner-ntg-context@let.uu.nl wrote:

>hi all
>
>is it possible to use typeset chapter headings and pdf bookmarks at the same
>time?
>
>
>i want to bookmark
>
>   \def\mycs{Abbreviation}
>
>   \chapter{\mycs\ Heading}
>
>but it fails while processing file.tuo.  \sanitizePDFdocencoding is not happy
>about something, it says "! Undefined control sequence." when it hits \mycs.

the \def\my... needs to go before the \placebookmarks, otherwise it is 
indeed unknown; tex works top-bottom

also, it may make sense to use \abbreviation[mycs]{...} since those 
commands are normally taken care of in decent ways

[alternatively you can do things like

   \appendtoks\def\mycs{WHOW}\to\everysanitize

to get your own clean up in bookmarks]

hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                                   fall-back web server: 
www.pragma-pod.nl
-------------------------------------------------------------------------


       reply	other threads:[~2002-02-01  9:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200201312002.VAA20337@smail.let.uu.nl>
2002-02-01  9:11 ` Hans Hagen [this message]
2002-02-03 14:24   ` bookmarks Giuseppe Bilotta
2002-02-04 11:18     ` bookmarks Hans Hagen
2002-02-04 11:58       ` Re[2]: bookmarks Giuseppe Bilotta
2002-02-04 18:57         ` Berend de Boer
2010-05-21 10:17 Bookmarks Andreas Harder
  -- strict thread matches above, loose matches on Subject: below --
2001-04-05  5:39 bookmarks James H. Cloos Jr.
2001-04-05 22:57 ` bookmarks Pierre Goossens
2001-04-09 14:11   ` bookmarks Hans Hagen
     [not found] <3.0.6.32.20000610202648.017bd970@pop.wxs.nl>
     [not found] ` <Pine.LNX.4.10.10006122142090.1706-100000@AMath8.amt.ac.cn>
2000-06-13 19:52   ` Bookmarks Hans Hagen
2000-06-23  9:11     ` Bookmarks Mr. Wang Lei

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=5.1.0.14.1.20020201100601.0395b2e8@server-1 \
    --to=pragma@wxs.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).