At 09:02 PM 1/31/2002 +0100, [EMAIL PROTECTED] 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 | [EMAIL PROTECTED]
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
-------------------------------------------------------------------------