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: Reference links with focus=standard option
Date: Wed, 11 Apr 2018 19:14:32 +0200	[thread overview]
Message-ID: <c07d66d7-b2a5-7679-b979-c59a54bbfc00@gmx.es> (raw)
In-Reply-To: <dcefe3c9-578d-2311-6760-9f810d620349@gmail.com>

On 04/11/2018 04:35 PM, Lawrence Bell wrote:
> Hi mailing list,
> 
> I'm having some trouble with (interactive) references. I had a quick
> search of the mailing list and couldn't find any talk about this kind of
> issue, so I'm asking now. Hoping you could help me out.
> 
> All is well with the default setting for focus. I don't like that with
> most (?) PDF viewers the default setting changes the zoom level, so I
> usually turn on \setupinteraction[focus=standard] instead. But this
> seems to break (some of) the interactive links. The links to the the
> chapter and item still work, but the links to the formula are broken.

Hi Lawrence,

it seems that something is broken when ConTeXt generates the
destinations for these links.

> As an experiment, I just tried this with a couple different viewers
> (Firefox, Evince, Okular, Xpdf, Qpdfview) and (putting
> \setupinteraction[focus=standard] back in) the link is indeed broken on
> all of them, /except/ for Qpdfview which still seems to understand it.

qpdfview complains after having clicking the link:

    "Error: failed to look up (eq:ref)"
    "Error: failed to look up (eq:ref)"

> What's going on here?

I generated an uncompressed PDF document from your source:
http://pdf.ousia.tk/focus-standard.pdf.

The issue seems to be in the name tree node dictionary:

    35 0 obj
    <<
      /Limits [ (#1) (pt:ref) ]
      /Names [ (#1) 15 0 R (#2) 19 0 R (#3) 20 0 R (it:ref) 20 0 R
          (pt:ref) 15 0 R ]
    >>
    endobj

(eq:ref) seems to be missing there. But I have to investigate the issue
further to get a more accurate report.

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:[~2018-04-11 17:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-11 14:35 Lawrence Bell
2018-04-11 17:14 ` Pablo Rodriguez [this message]
2018-04-11 18:36   ` Pablo Rodriguez
2018-04-11 19:27     ` Lawrence Bell
2018-04-13  6:13 Christoph Reller
2018-04-13  6:31 ` Henri Menke
2018-04-13  9:45   ` Lawrence Bell
2018-04-13  9:48 ` Hans Hagen
2018-04-13 10:45 Christoph Reller

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=c07d66d7-b2a5-7679-b979-c59a54bbfc00@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).