From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/193 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Chapter/paragraph numbers in pdf bookmarks Date: Fri, 23 Oct 1998 10:37:52 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <36304E70.5DE5E379@wxs.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035391061 21950 80.91.224.250 (23 Oct 2002 16:37:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:37:41 +0000 (UTC) Original-To: Berend de Boer Xref: main.gmane.org gmane.comp.tex.context:193 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:193 Berend de Boer wrote: > Is it possible (and how) to have the chapter and paragraph numbers in the bookmark (outline) for pdf output? > > Now I only get the text of the chapter but I would like the part.chapter.paragraph number as well. (did you ever try \tracebookmarkstrue?) \def\doinsertsomebookmark#1#2#3#4#5#6% {\global\utilitydonetrue \global\let\localbookmark=\gobbleoneargument \global\let\flushbookmark=\relax \doifinstringelse{#1}{\openbookmarklist} {\chardef\openbookmark=1} {\chardef\openbookmark=0}% \iftracebookmarks(#6: #4)\quad(\the\openbookmark)\par\fi \doinsertbookmark{#2}{#3}{#4}{#5}{\openbookmark}} Can you try: \doinsertbookmark{#2}{#3}{#6 #4}{#5}{\openbookmark}} I can add an option: sectionnumber=yes/no to a yet non existing setup command, but first I wanna make sure what way to go. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | mail: pragma@wxs.nl -----------------------------------------------------------------