From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/100535 Path: news.gmane.org!.POSTED!not-for-mail From: Lawrence Bell Newsgroups: gmane.comp.tex.context Subject: Reference links with focus=standard option Date: Wed, 11 Apr 2018 15:35:23 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0329923069386813772==" X-Trace: blaine.gmane.org 1523457217 9237 195.159.176.226 (11 Apr 2018 14:33:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 11 Apr 2018 14:33:37 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 11 16:33:33 2018 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6GoX-0002Gx-3i for gctc-ntg-context-518@m.gmane.org; Wed, 11 Apr 2018 16:33:33 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 39FDD6260A3; Wed, 11 Apr 2018 16:35:37 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NrIl5zrxY9OG; Wed, 11 Apr 2018 16:35:36 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 9049D626099; Wed, 11 Apr 2018 16:35:36 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 392B3626099 for ; Wed, 11 Apr 2018 16:35:36 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j0E8jm5Drwru for ; Wed, 11 Apr 2018 16:35:35 +0200 (CEST) Original-Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id B1E48626098 for ; Wed, 11 Apr 2018 16:35:25 +0200 (CEST) Original-Received: by mail-wm0-f51.google.com with SMTP id b21so4249793wme.4 for ; Wed, 11 Apr 2018 07:35:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language; bh=NlG7J9yttF6N92XrxeNFD7aQG9i6H7AYLOAHN5eidIc=; b=sQR+QtyQHJuNsCaXNT4tmiXc9GCKoCvW5cm9fkXMbSteFvzbFl0q4yDPUTaMBw9DMg dk76nnm2Vv8BAcvcmmB4vEPAdFNTx5jYVwC9OJyA2v6ZG5tQfUHe+a+MMG0jhl2UGRtf NKyWTPUKsTPs4xf28TyzdLMNHnj6/OdcRhJdNZi5srW+6VkEDQz3781uccQG3Mj7vlr9 1wo1JIozt+1dAgYRyj33MRBQ2TodOBqtkZ5rtBEQ7wLYXTJ7OnohC7ez5lyPA4gZ+hls 3MLtZRrLgasytt8S0XQkQvC4W/OpBo4gA3mRR0KoMZqVSuuNa5BkxCvVzmL2IqAhSca0 v02Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=NlG7J9yttF6N92XrxeNFD7aQG9i6H7AYLOAHN5eidIc=; b=r+n6/uFnWA3gyhO/dWSoIQeROB0UJe2o9HFcKpVc8ECGy13kEcb39mue4Vn70oAeRa yUNH1ARMCJzZcdvg1vQmI583cyO3aPYAGC5omXxRZ2Ltpkl6tgQMJXLxWunDlQUqu9t2 yxYb+lvULHOmPbLMZk1JPWb/5xCjT1NDEHYiDhuNRAje/4hCSKGzURojA3F3ZRGwZKjG o6Lh1CAOx0rPZUus7ZcgL4OW+vaB+YgohgTHJQPHilx27PH1zeVv1nA50MTyca38zf6s 8yjFSXMPIw1l0cNXCFy5Jb728K7nZ1B8PLKin5Wh0hya3YUqZQ9CRu49KGw+DA23+r0A v4qw== X-Gm-Message-State: ALQs6tBYv3sbE2wrFvS68vXqE3Oayude606aOIwqFLCEWqFIIbNMOnmr 1KXUx3YfipkGLYlx+sV5EXKo9cvG X-Google-Smtp-Source: AIpwx49UhnwgiFu/b3/u6b6mOrNILEGD7ZqdQv5XWylaLNL3IzbfnqMnvwJia8/rlkeQGHUP8Uq+IQ== X-Received: by 10.28.118.3 with SMTP id r3mr2851792wmc.90.1523457324992; Wed, 11 Apr 2018 07:35:24 -0700 (PDT) Original-Received: from [192.168.0.43] (cpc131860-hitc8-2-0-cust902.know.cable.virginm.net. [81.104.183.135]) by smtp.gmail.com with ESMTPSA id y9sm1677618wrg.46.2018.04.11.07.35.24 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Apr 2018 07:35:24 -0700 (PDT) Content-Language: en-US X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:100535 Archived-At: This is a multi-part message in MIME format. --===============0329923069386813772== Content-Type: multipart/alternative; boundary="------------2BEE1CF26449433DECA731B6" Content-Language: en-US This is a multi-part message in MIME format. --------------2BEE1CF26449433DECA731B6 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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. Consider the following example document. \setupinteraction   [     state=start,     % focus=standard,   ] \starttext \startchapter[title=Some Title, reference=pt:ref] Lorem ipsum dolor sit amet, \periods \startplaceformula[reference=eq:ref]   \startformula     c^2 = a^2 + b^2.   \stopformula \stopplaceformula Lorem ipsum dolor sit amet, \periods \startitemize[r]   \startitem[it:ref]     Lorem ipsum dolor sit amet, \periods   \stopitem \stopitemize And now we can refer to formula~\in[eq:ref], chapter~\in[pt:ref], and item~\in[it:ref]. \page And now we can refer to formula~\in[eq:ref], chapter~\in[pt:ref], and item~\in[it:ref]. \stopchapter \stoptext 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. 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. What's going on here? Thanks in advance, Lawrence --------------2BEE1CF26449433DECA731B6 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

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.

Consider the following example document.

\setupinteraction
  [
    state=start,
    % focus=standard,
  ]

\starttext
\startchapter[title=Some Title, reference=pt:ref]

Lorem ipsum dolor sit amet, \periods

\startplaceformula[reference=eq:ref]
  \startformula
    c^2 = a^2 + b^2.
  \stopformula
\stopplaceformula

Lorem ipsum dolor sit amet, \periods

\startitemize[r]
  \startitem[it:ref]
    Lorem ipsum dolor sit amet, \periods
  \stopitem
\stopitemize

And now we can refer to formula~\in[eq:ref], chapter~\in[pt:ref], and
item~\in[it:ref].

\page

And now we can refer to formula~\in[eq:ref], chapter~\in[pt:ref], and
item~\in[it:ref].

\stopchapter
\stoptext

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.

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.

What's going on here?

Thanks in advance, Lawrence

--------------2BEE1CF26449433DECA731B6-- --===============0329923069386813772== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============0329923069386813772==--