[NTG-context] Bookmark question

Taco Hoekwater taco at elvenkind.com
Wed Feb 6 20:41:46 CET 2008


Hans Hagen wrote:
> 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

That looks good, but why? Does \complexbookmark only work to
overrule a yet-to-come sectioning command?

Cheers,
Taco



More information about the ntg-context mailing list