ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: ntg-context@ntg.nl
Subject: Re: Some interaction questions
Date: Tue, 13 Oct 2020 16:14:12 +0200	[thread overview]
Message-ID: <8962d2a1-9284-949f-ccae-f7223236017d@gmx.es> (raw)
In-Reply-To: <f5062b80-61e6-1c52-9a9e-4f9c900a2388@mailbox.org>

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
___________________________________________________________________________________

  reply	other threads:[~2020-10-13 14:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-13  9:40 Denis Maier
2020-10-13 14:14 ` Pablo Rodriguez [this message]
2020-10-13 14:55   ` Denis Maier
2020-10-13 20:14   ` Denis Maier
2020-10-13 20:24     ` Pablo Rodriguez
2020-10-14  3:51       ` A Spanish introduction to ConTeXt Mark IV Joaquín Ataz López
2020-10-14 13:01         ` Hans Hagen
2020-10-15  3:56           ` Joaquín Ataz López
2020-10-15  8:26         ` BPJ

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=8962d2a1-9284-949f-ccae-f7223236017d@gmx.es \
    --to=oinos@gmx.es \
    --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).