From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/92555 Path: news.gmane.org!not-for-mail From: Christoph Reller Newsgroups: gmane.comp.tex.context Subject: \reference and \setupinteraction[focus=...] not working Date: Mon, 14 Sep 2015 14:40:43 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1450077657==" X-Trace: ger.gmane.org 1442234519 11525 80.91.229.3 (14 Sep 2015 12:41:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Sep 2015 12:41:59 +0000 (UTC) To: ntg-context Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 14 14:41:46 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZbT4r-0005Zb-02 for gctc-ntg-context-518@m.gmane.org; Mon, 14 Sep 2015 14:41:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 33A311021F for ; Mon, 14 Sep 2015 14:41:44 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 5NkQT-yjs06u for ; Mon, 14 Sep 2015 14:41:43 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id A54F510230 for ; Mon, 14 Sep 2015 14:41:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C6A2F101F6 for ; Mon, 14 Sep 2015 14:41:05 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id vFSNJtmQoCh5 for ; Mon, 14 Sep 2015 14:41:04 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 7C824101E8 for ; Mon, 14 Sep 2015 14:41:04 +0200 (CEST) Original-Received: from mail-lb0-x229.google.com (mail-lb0-x229.google.com [IPv6:2a00:1450:4010:c04::229]) by filter3-til.mf.surf.net (8.14.4/8.14.4/Debian-4) with ESMTP id t8ECf21u011828 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for ; Mon, 14 Sep 2015 14:41:03 +0200 Original-Received: by lbcao8 with SMTP id ao8so66461803lbc.3 for ; Mon, 14 Sep 2015 05:41:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=HYxbD4TznorqsAFwYlpiRsqTrBT4XXMe+SWy0W2VgZg=; b=yrrUNBlSG9dFFp7cQ52opRR4ossC4GmnUNGvpHCvjn4dv/theZaQ3pe5sU2U8yVJnw rv+8TNJcGZGsAyVAPeQzAFR9se/5ktyukizBL+Cp63wLeHYTCQVZUoImk4tk2bF3xFsn aB2Y77p3+dD3W/ZGN6JinFi0CR1TgBFEPWHV0bRUdiXhyaxxzEWsj1dKwgNhCBJ81pyE Py446oheHlorJhSnx3J0LTYt8htqGxzqMJBi+xSlEacAxjAHxjNVDmK5C0tqW1BOGzsl cU3Gaf3tcu66zkf9DlYnzm2cJV3O6p0iHMFBYU1gjKk6qo8O2CoD7cPTLxqZqY42mIel je0Q== X-Received: by 10.152.120.234 with SMTP id lf10mr13711238lab.28.1442234462632; Mon, 14 Sep 2015 05:41:02 -0700 (PDT) Original-Received: by 10.25.165.137 with HTTP; Mon, 14 Sep 2015 05:40:43 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:4010:c04::229; country=FI; region=South Karelia; city=Lappeenranta; latitude=61.0667; longitude=28.1833; http://maps.google.com/maps?q=61.0667,28.1833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06Ph0F3EV - 9ea91c5d93c9 - 20150914 (trained as not-spam) Received-SPF: pass (filter3-til.mf.surf.net: domain of christoph.reller@gmail.com designates 2a00:1450:4010:c04::229 as permitted sender) receiver=filter3-til.mf.surf.net; client-ip=2a00:1450:4010:c04::229; envelope-from=; helo=mail-lb0-x229.google.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) 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:92555 Archived-At: --===============1450077657== Content-Type: multipart/alternative; boundary=089e01228320d3ff3a051fb4603a --089e01228320d3ff3a051fb4603a Content-Type: text/plain; charset=UTF-8 Hi, In the following MWE, the interactive link work only when setting focus=fit. The resulting PDF differs as follows: - focus=fit: This PDF has no named destinations. The link annotations on page 3 include destinations directly, and these destinations are correct. - focus=: This PDF has named destinations in Root->Names with names (#2) and (#3) and these named destinations are completely correct. The problem is that the link annotations on page 3 reference named destinations by the names (tuf) and (knu). \setupinteraction[state=start,focus=standard] %focus=fit \starttext \startsection[title=Hi There] \reference[tuf]{Tufte}% \input tufte \page \reference[knu]{Knuth}% \input knuth \page \about[tuf] and \about[knu]. \stopsection \stoptext This seems to be a bug. If so, then please confirm and tell if you intend to fix this. Interestingly, with focus=standard, automatically generated links (e.g. with sections and \about) work as expected. Regards, Christoph --089e01228320d3ff3a051fb4603a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

In the following MWE, the interacti= ve link work only when setting focus=3Dfit.

The re= sulting PDF differs as follows:

- focus=3Dfit= : This PDF has no named destinations. The link annotations on page 3 includ= e destinations directly, and these destinations are correct.

=
- focus=3D<something else>: This PDF has = named destinations in Root->Names with names (#2) and (#3) and these nam= ed destinations are completely correct. The problem is that the link annota= tions on page 3 reference named destinations by the names (tuf) and (knu).<= br>

\setupinteraction[state=3Dstart,focus=3Ds= tandard] %focus=3Dfit
\starttext
\starts= ection[title=3DHi There]
=C2=A0 \reference[tuf]{Tufte}%
=C2=A0 \input tufte
=C2=A0 \page
=C2=A0 \r= eference[knu]{Knuth}%
=C2=A0 \input knuth
=C2=A0 \p= age
=C2=A0 \about[tuf] and \about[knu].
\stopse= ction
\stoptext

This seems to = be a bug. If so, then please confirm and tell if you intend to fix this.

Interestingly, with focus=3Dstandard, automatically = generated links (e.g. with sections and \about) work as expected.

Regards,
Christoph
--089e01228320d3ff3a051fb4603a-- --===============1450077657== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============1450077657==--