ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Interactive table of content -- jumps always 1 page too far
Date: Sat, 31 Jan 2015 20:32:20 +0100	[thread overview]
Message-ID: <54CD2DC4.2040105@gmx.es> (raw)
In-Reply-To: <9b585e515636ca04ab479b1a0595660d.squirrel@webmail.xs4all.nl>

On 01/31/2015 08:11 PM, Rob Heusdens wrote:
>>> [...]
> Hello Pablo,
> 
> I am sorry, I had not yet tried the \enabletrackers...

Hi Rob,

don’t worry, \enabletrackers don’t work here.

> Anyway, the problem resides in the settings for \setupinteraction which I
> use to set the page in the viewer to fit the width. Unfortunately is also
> leads to the "off by one page too far" error.
> 
> If I omit those settings, it jumps to the right page, but then
> unfortunately does not do fit width but fit height (which is not what I
> want...).

"focus=width" is the problematic part. Replace it with "focus=standard"
and it will work better (it isn’t perfect either [there is a bug
reported before]).

    \enabletrackers[*destinations*]
    \setupinteraction[state=start, focus=standard]
    \starttext
    \completecontent
    \chapter{Chapter}
    \dorecurse{5}{\input knuth}
    \stoptext

It took me a while to realized the problem, because I didn’t have
continious view enabled in evince.

I hope it is solved now.

Best,


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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2015-01-31 19:32 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-31  0:16 Rob Heusdens
2015-01-31  9:54 ` Hans Hagen
2015-01-31 17:53   ` Rob Heusdens
2015-01-31 12:12 ` Pablo Rodriguez
2015-01-31 12:36   ` Hans Hagen
2015-01-31 14:50     ` Pablo Rodriguez
2015-01-31 18:58       ` Rob Heusdens
2015-01-31 22:39       ` Hans Hagen
2015-01-31 16:42   ` Rob Heusdens
2015-01-31 18:04     ` Wolfgang Schuster
2015-01-31 18:16       ` Rob Heusdens
2015-01-31 18:13     ` Pablo Rodriguez
2015-01-31 18:28       ` Rob Heusdens
2015-01-31 19:02         ` Pablo Rodriguez
2015-01-31 19:11           ` Rob Heusdens
2015-01-31 19:32             ` Pablo Rodriguez [this message]
2015-01-31 19:51               ` Rob Heusdens
2015-01-31 20:23                 ` Rob Heusdens
2015-01-31 20:31                 ` Pablo Rodriguez

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=54CD2DC4.2040105@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).