Re: [NTG-context] Wrong bookmark for TOC

2016-09-04 Thread Henri Menke
On 09/04/2016 07:28 PM, Wolfgang Schuster wrote:
>> Henri Menke 
>> 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@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
> ___
> 

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@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
___

Re: [NTG-context] Wrong bookmark for TOC

2016-09-04 Thread Wolfgang Schuster

Henri Menke 
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]

\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@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
___

[NTG-context] Wrong bookmark for TOC

2016-09-04 Thread Henri Menke
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

---

\setupinteraction[state=start]
\placebookmarks[chapter,title][force=yes]
\starttext
\completecontent
\stoptext
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@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
___