From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/92585 Path: news.gmane.org!not-for-mail From: Christoph Reller Newsgroups: gmane.comp.tex.context Subject: Re: \reference and \setupinteraction[focus=...] not working Date: Fri, 18 Sep 2015 08:34:49 +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="===============0956307759==" X-Trace: ger.gmane.org 1442558159 13462 80.91.229.3 (18 Sep 2015 06:35:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Sep 2015 06:35:59 +0000 (UTC) To: ntg-context Original-X-From: ntg-context-bounces@ntg.nl Fri Sep 18 08:35:49 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 1ZcpGp-0004oM-L8 for gctc-ntg-context-518@m.gmane.org; Fri, 18 Sep 2015 08:35:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B2EA610225 for ; Fri, 18 Sep 2015 08:35:42 +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 VENnfacuuMkP for ; Fri, 18 Sep 2015 08:35:41 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 758E01022E for ; Fri, 18 Sep 2015 08:35:15 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id ED867101F6 for ; Fri, 18 Sep 2015 08:35:11 +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 UAChCyfTJmNT for ; Fri, 18 Sep 2015 08:35:11 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 0E5BD101E8 for ; Fri, 18 Sep 2015 08:35:11 +0200 (CEST) Original-Received: from mail-la0-x22e.google.com (mail-la0-x22e.google.com [IPv6:2a00:1450:4010:c03::22e]) by filter5-til.mf.surf.net (8.14.4/8.14.4/Debian-4) with ESMTP id t8I6Z9ZN023021 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 18 Sep 2015 08:35:10 +0200 Original-Received: by lamp12 with SMTP id p12so24136815lam.0 for ; Thu, 17 Sep 2015 23:35:09 -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=dg1H15YJKeVHaC3PYXodn8x54/uPe+rOdNnxyTW8F/w=; b=PVlyEGqAZ8SkerjzZszVCuPf0+Ad5x4WEZeWMPt33Iqsy/gBZCRPFsxdy8LefXR+Qc v0KPVeFQ79gEcpuJD7ivvWTE4icVEN6z3QqLYZVGHt0Qd5SqmcQ6itsHgEtP/FrzvAsI GfIzleKW7TbOx47rv3LcoenJbz/8NrvtHHswUeIsz9bThzArhdN3PVHpM7aq65kodWNu i0v7U5ntXZtz1s06Dqb41EcW0uRbINuMnsRfI+nTAdkgLHPsxvsfja7ugUUoV0mmgfd0 tsL3iThIJJ5GZu7p6XeKJjUSEaKtQBpG1NDIFnedv/PS8i1rAC21NpjWg+eL+AF2+CzE z1sA== X-Received: by 10.152.184.233 with SMTP id ex9mr2288373lac.91.1442558109473; Thu, 17 Sep 2015 23:35:09 -0700 (PDT) Original-Received: by 10.25.165.137 with HTTP; Thu, 17 Sep 2015 23:34:49 -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:c03::22e; 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: 0WPiuzaP3 - e3160f550f10 - 20150918 (trained as not-spam) Received-SPF: pass (filter5-til.mf.surf.net: domain of christoph.reller@gmail.com designates 2a00:1450:4010:c03::22e as permitted sender) receiver=filter5-til.mf.surf.net; client-ip=2a00:1450:4010:c03::22e; envelope-from=; helo=mail-la0-x22e.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:92585 Archived-At: --===============0956307759== Content-Type: multipart/alternative; boundary=001a11345c9eaee7e4051fffbb81 --001a11345c9eaee7e4051fffbb81 Content-Type: text/plain; charset=UTF-8 Hi, Any news on this? Is this a luatex problem or a ConTeXt problem? I am glad to help if you can point me to the location in the source code where things go astray. Cheers, Christoph On Mon, 14 Sep 2015 14:40:43 +0200, wrote: > 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 > --001a11345c9eaee7e4051fffbb81 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

Any news on this? Is this a luatex = problem or a ConTeXt problem? I am glad to help if you can point me to the = location in the source code where things go astray.

Cheers,
Christoph

On=C2=A0Mon, 14 Sep 2015 14:40:43 +0200, <christoph.reller@gmail.= com> wrote:
Hi,

In the following MWE, the interactive link work only when setting focus=3Df= it.

The resulting PDF differs as follows:

- focus=3Dfit: This PDF has no named destinations. The link annotations on<= br> page 3 include destinations directly, and these destinations are correct.
- focus=3D<something else>: This PDF has named destinations in Root-&= gt;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=3Dstart,focus=3Dstandard] %focus=3Dfit
\starttext
\startsection[title=3DHi There]
=C2=A0 \reference[tuf]{Tufte}%
=C2=A0 \input tufte
=C2=A0 \page
=C2=A0 \reference[knu]{Knuth}%
=C2=A0 \input knuth
=C2=A0 \page
=C2=A0 \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=3Dstandard, automatically generated links (e.g. with sections and \about) work as expected.

Regards,
Christoph
--001a11345c9eaee7e4051fffbb81-- --===============0956307759== 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= --===============0956307759==--