[NTG-context] Bookmark question
Hans Hagen
pragma at wxs.nl
Wed Feb 6 20:30:34 CET 2008
WN wrote:
>
> This is what I would like to do
>
> \startfrontmatter
> \bookmark[chapter]{Inhoudsopgave}
> \completecontent[partnumber=no]
> \page
> \bookmark[chapter]{Lijst van figuren}
> \completelistoffigures[partnumber=no]
> \stopfrontmatter
> \startbodymatter
> \component chapter01
> \component chapter02
> ....
> \stopbodymatter
>
> the bookmarks only appears with the [chapter] included, but twice.
> Also they appear twice in the table of contents (which is consistent).
\setupinteraction[state=start]
\placebookmarks
\starttext
\completecontent[partnumber=no]
\bookmark[chapter]{Inhoudsopgave}
\page
\completelistoffigures[partnumber=no]
\bookmark[chapter]{Lijst van figuren}
\chapter{first}
\chapter{second}
\stoptext
> I would like the bookmarks to appear once and not in the TOC.
> Perhaps Hans can take the above code, as indeed your code works but
> not in the above code.
>
> Best wishes
> Wim
>
>
> Taco Hoekwater wrote:
>> WN wrote:
>>>>
>>>> I think chapter titles are supposed appear automatically in the
>>>> bookmarks, no need for an explicit \bookmark.
>>>>
>>> True enough. But should they appear twice ?
>>> I want a custom bookmark for the table of contents and list of figures,
>>> so I used \bookmark[chapter] to include these (once not twice).
>>
>> Ah, I see now. Looks like a bug to me. I do not understand the code
>> well enough to fix it, however. I am attaching a minimal example for
>> Hans.
>>
>> (meanwhile, you could use \bookmark without the optional argument).
>>
>> Best wishes,
>> Taco
>> ------------------------------------------------------------------------
>>
>> ___________________________________________________________________________________
>>
>> If your question is of interest to others as well, please add an entry
>> to the Wiki!
>>
>> maillist : ntg-context at ntg.nl /
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
>> archive : https://foundry.supelec.fr/projects/contextrev/
>> wiki : http://contextgarden.net
>> ___________________________________________________________________________________
>>
>
>
>
> ------------------------------------------------------------------------
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
--
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
More information about the ntg-context
mailing list