Pablo Rodriguez schrieb am 27.05.2019 um 20:33:
Hi Hans,

I have the following sample:

     \def\eap{expansion}
     \def\MyContent{Expanded \eap}
     %~ \enabledirectives[references.bookmarks.preroll]
     \setupinteraction[state=start, title={\MyContent}]
     \placebookmarks[section]
     \starttext
     \section{\MyContent}
     \startsection[title=\MyContent, bookmark=\MyContent]
     \stopsection
     \stoptext

I see that now PDF contents are prerolled by default (which I think it
is a great idea [I hope it isn’t a bug]).

But bookmarks alone (when aren’t prerolled. From strc-sec.mkiv, I see
that prerolling is only applied to \currentstructuretitle when
\currentstructurebookmark is empty.

Would it be possible that \currentstructurebookmark could have
prerolling when it is different from \currentstructuretitle?

Sorry for insisting, but I need this to avoid having "main:345{/h2}" as
bookmark for some chapters.
You can try

    \setuphead[section][expansion=yes]

or (for documents which use XML as input format)

    \setuphead[section][expansion=xml]

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to