Follow up, I'm trying to also ignore commands when setting PDF metadata: The wiki gives these examples: \appendtoks \def\CONTEXT{ConTeXt} \to \simplifiedcommands And: \appendtoks \let\quad\space \to \simplifiedcommands So, I just added this to my environment file: \appendtoks \def\em{\space} \to \simplifiedcommands But, the \em still shows up in the PDF metadata. Is this still the recommended way to do this? Or is there an easier way? I guess, even if this would remove the \em, that would still leave the braces in place. (I'd prefer to remove them as well, but I've no idea how that could work.) 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@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 ___________________________________________________________________________________