From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/6758 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: bookmarks Date: Fri, 01 Feb 2002 10:11:05 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20020201100601.0395b2e8@server-1> References: <200201312002.VAA20337@smail.let.uu.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035397271 13545 80.91.224.250 (23 Oct 2002 18:21:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:21:11 +0000 (UTC) Original-To: ntg-context@let.uu.nl In-Reply-To: <200201312002.VAA20337@smail.let.uu.nl> Xref: main.gmane.org gmane.comp.tex.context:6758 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:6758 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 -------------------------------------------------------------------------