ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Wrong bookmark for TOC
@ 2016-09-04 11:28 Henri Menke
  2016-09-04 17:28 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Henri Menke @ 2016-09-04 11:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Wrong bookmark for TOC
  2016-09-04 11:28 Wrong bookmark for TOC Henri Menke
@ 2016-09-04 17:28 ` Wolfgang Schuster
  2016-09-04 20:03   ` Henri Menke
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2016-09-04 17:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 615 bytes --]

> Henri Menke <mailto:henrimenke@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]
> \setupinteraction[state=start]
> \placebookmarks[chapter,title][force=yes]
> \starttext
> \completecontent
> \stoptext
Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 1885 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Wrong bookmark for TOC
  2016-09-04 17:28 ` Wolfgang Schuster
@ 2016-09-04 20:03   ` Henri Menke
  0 siblings, 0 replies; 3+ messages in thread
From: Henri Menke @ 2016-09-04 20:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-04 20:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-04 11:28 Wrong bookmark for TOC Henri Menke
2016-09-04 17:28 ` Wolfgang Schuster
2016-09-04 20:03   ` Henri Menke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).