[NTG-context] Some interaction questions

Denis Maier denismaier at mailbox.org
Tue Oct 13 16:55:08 CEST 2020


Thanks. Both suggestions were very helpful.
Best,
Denis

Am 13.10.2020 um 16:14 schrieb Pablo Rodriguez:
> On 10/13/20 11:40 AM, Denis Maier wrote:
>> Hi,
>>
>> I have a few more question regarding interaction/PDF bookmarks and PDF
>> links:
>>
>> - How can you ignore Commands in bookmarks? Like when instead of "The
>> concept of {\em bookmarks}", I'd prefer to just have "The concept of
>> bookmarks". I know I can just use something like
>> \startchapter[title=The concept of {\em bookmarks},
>>                       bookmark=The concept of bookmarks]
>> But is there an setting for that?
> Hi Denis,
>
> I think this is what you want:
>
>    \enabledirectives[references.bookmarks.preroll]
>
>> - When clicking on a link, the focus switches to the target page. Is it
>> possible to go to the line of the target? (Would be nice for switching
>> between notes and text. Otherwise linking between notes and note markers
>> would be quite pointless.)
> "focus=standard" in \setupinteraction.
>
> With a minimal sample:
>
>    \setupinteraction[state=start, focus=standard]
>    \enabledirectives[references.bookmarks.preroll]
>    \placebookmarks[chapter]
>    \starttext
>    \completecontent
>    \chapter{The concept of {\em bookmarks}}
>    \stoptext
>
> I hope it helps,
>
> Pablo
> --
> http://www.ousia.tk
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context at 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
> ___________________________________________________________________________________



More information about the ntg-context mailing list