ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henri Menke <henrimenke@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Wrong bookmark for TOC
Date: Sun, 4 Sep 2016 22:03:04 +0200	[thread overview]
Message-ID: <1b9246d8-24f9-976d-5f69-f4c6c2e2bdd2@gmail.com> (raw)
In-Reply-To: <57CC59B0.6070506@gmail.com>

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
___________________________________________________________________________________

      reply	other threads:[~2016-09-04 20:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-04 11:28 Henri Menke
2016-09-04 17:28 ` Wolfgang Schuster
2016-09-04 20:03   ` Henri Menke [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1b9246d8-24f9-976d-5f69-f4c6c2e2bdd2@gmail.com \
    --to=henrimenke@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).