[NTG-context] Wrong bookmark for TOC

Henri Menke henrimenke at gmail.com
Sun Sep 4 22:03:04 CEST 2016


On 09/04/2016 07:28 PM, Wolfgang Schuster wrote:
>> Henri Menke <mailto:henrimenke at gmail.com>
>> 4. September 2016 um 13:28
>> Dear list,
>>
>> when I specify that titles should be added to the bookmarks, the text of the bookmark is somewhat wrong. The heading of the table of contents is »Contents«, so I expect this to appear as bookmark. Unfortunately, the bookmark read »content« (all lowercase and singular). MWE is below. How do I fix this?
>>
>> Cheers, Henri
>>
>> ---
>>
> \enabledirectives[references.bookmarks.preroll]

Thank you Wolfgang, but hat enables expansion for all macros in bookmarks.  For me it is okay but this is perhaps not the best way to deal with it.  I think strings like »content« should be expanded by default in bookmarks (just like synonyms).

Cheers, Henri

>> \setupinteraction[state=start]
>> \placebookmarks[chapter,title][force=yes]
>> \starttext
>> \completecontent
>> \stoptext
> Wolfgang
> 
> 
> ___________________________________________________________________________________
> 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  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
> 



More information about the ntg-context mailing list