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
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
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 ___________________________________________________________________________________
participants (2)
-
Henri Menke
-
Wolfgang Schuster