From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/92662 Path: news.gmane.org!not-for-mail From: Christoph Reller Newsgroups: gmane.comp.tex.context Subject: Re: \reference and \setupinteraction[focus=...] not working Date: Thu, 8 Oct 2015 12:00:21 +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="===============1699571183==" X-Trace: ger.gmane.org 1444298641 14630 80.91.229.3 (8 Oct 2015 10:04:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 Oct 2015 10:04:01 +0000 (UTC) To: ntg-context Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 08 12:03:47 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 1Zk835-0002Mq-Rv for gctc-ntg-context-518@m.gmane.org; Thu, 08 Oct 2015 12:03:44 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 50CC51020F for ; Thu, 8 Oct 2015 12:03:43 +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 Sd8XHxTfxUps for ; Thu, 8 Oct 2015 12:03:41 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 1BCE710222 for ; Thu, 8 Oct 2015 12:02:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5F416101FB for ; Thu, 8 Oct 2015 12:02:19 +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 8hF8QfKuKOJU for ; Thu, 8 Oct 2015 12:02:16 +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 A8438101FD for ; Thu, 8 Oct 2015 12:00:43 +0200 (CEST) Original-Received: from mail-lb0-x22d.google.com (mail-lb0-x22d.google.com [IPv6:2a00:1450:4010:c04::22d]) by filter5-til.mf.surf.net (8.14.4/8.14.4/Debian-4) with ESMTP id t98A0fC3020378 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 8 Oct 2015 12:00:41 +0200 Original-Received: by lbcao8 with SMTP id ao8so41437122lbc.3 for ; Thu, 08 Oct 2015 03:00:41 -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=6XK/S7j7/CRcGpEJMIL6pRVU5iJ5MzBO313ybqckG9M=; b=RMzyGfyXVbgSzblE9mLt4fx9d4Aizi+ZUQC+NAgJn8EmwauS+Yf+rOw0+MO3mKKZYx Vw/NVwXvKLiv0IBdZuxBKp407bPvNBO0+XWMb4ieaM3XFEqiFz33cpTKsSAnYzqx0ODz XoVw4Z/jrd6hIsROKhZZ5amM9eTnYp1LxCu3hpwUIanmv+W+sKCL5cjxREiGwsSOLgWL dJf4cnBorK8MpCECVZTjvqRziwS9Z0R65z1pSR4DgdX1u4uAcjGMZp4+vRLC8fFt8SwR y5OPRsowjxMczbKdj8EjMdkejpdP8p291HoCG0p0Ge+jKYE38Vrmug50NKKwnCsMzqqE ldzQ== X-Received: by 10.112.55.2 with SMTP id n2mr3230321lbp.59.1444298440834; Thu, 08 Oct 2015 03:00:40 -0700 (PDT) Original-Received: by 10.25.165.12 with HTTP; Thu, 8 Oct 2015 03:00:21 -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::22d; 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: 0WPqy0FQJ - 3a9809404716 - 20151008 (trained as not-spam) Received-SPF: pass (filter5-til.mf.surf.net: domain of christoph.reller@gmail.com designates 2a00:1450:4010:c04::22d as permitted sender) receiver=filter5-til.mf.surf.net; client-ip=2a00:1450:4010:c04::22d; envelope-from=; helo=mail-lb0-x22d.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:92662 Archived-At: --===============1699571183== Content-Type: multipart/alternative; boundary=001a11c39b24840a19052194ef22 --001a11c39b24840a19052194ef22 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi everybody, An even more minimal example \setupinteraction[state=3Dstart,focus=3Dstandard] % <- defect %\setupinteraction[state=3Dstart, focus=3Dfit] % <- works \starttext \reference[tuf]{Tufte} \input tufte \page \about[tuf]. \stoptext The resulting PDF has an annotation that points to a named destination "(tuf)". But "Names" in the PDF root contains then key "(#1)" and a correct destination as value. It is only the key in the Names tree that is wrong. Unfortunately, I cannot locate the code where this is written (maybe strc-ref.lua?). Any help is welcome. Regards, Christoph On Fri, Sep 18, 2015 at 11:25 AM, wrote: > Send ntg-context mailing list submissions to > ntg-context@ntg.nl > > To subscribe or unsubscribe via the World Wide Web, visit > http://www.ntg.nl/mailman/listinfo/ntg-context > or, via email, send a message with subject or body 'help' to > ntg-context-request@ntg.nl > > You can reach the person managing the list at > ntg-context-owner@ntg.nl > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of ntg-context digest..." > > > Today's Topics: > > 1. Re: comparing strings (Wolfgang Schuster) > 2. Re: suppress header-footers (Wolfgang Schuster) > 3. Re: comparing strings (Pablo Rodriguez) > 4. Re: formatting of reference links (Henning Hraban Ramm) > 5. Re: \reference and \setupinteraction[focus=3D...] not working > (Christoph Reller) > 6. Re: formatting of reference links (Wolfgang Schuster) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 17 Sep 2015 19:26:45 +0200 > From: Wolfgang Schuster > To: mailing list for ConTeXt users > Subject: Re: [NTG-context] comparing strings > Message-ID: <55FAF7D5.8080409@gmail.com> > Content-Type: text/plain; charset=3D"utf-8"; Format=3D"flowed" > > > Pablo Rodriguez > > 17. September 2015 18:47 > > Dear list, > > > > I have the following sample: > > > > \startluacode > > function document.gouppercase(str) > > tex.print(str:upper()) > > end > > \stopluacode > > > > \unexpanded\def\MyUpper#1% > > {\ctxlua{document.gouppercase("#1")}} > > > > \starttext > > \doif{\MyUpper{adfalkjfae=C3=B1f}}{\MyUpper{aDFAlkjfae=C3=B1f}}{equal}{= unequal} > > > > \ctxlua{if string.upper("adfalkjfae=C3=B1f") =3D=3D string.upper("aDFAl= kjfae=C3=B1f") > > then tex.print("equal") else tex.print("unequal") end} > > \stoptext > > > > Why are are the first two strings unequal? > You can=E2=80=99t use a unexpandable (which you created with \unexpanded)= in > ConTeXts \doifXXX commands. > > PS. You need \doifelse and not \doif. > > Wolfgang > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://www.ntg.nl/pipermail/ntg-context/attachments/20150917/d9453cc7/att= achment-0001.html > > > > ------------------------------ > > Message: 2 > Date: Thu, 17 Sep 2015 19:29:20 +0200 > From: Wolfgang Schuster > To: mailing list for ConTeXt users > Subject: Re: [NTG-context] suppress header-footers > Message-ID: <55FAF870.1020107@gmail.com> > Content-Type: text/plain; charset=3D"utf-8"; Format=3D"flowed" > > > Pablo Rodriguez > > 17. September 2015 17:55 > > > > Many thanks for your reply, Wolfgang. > > > > I thought that blank implied the how the next page would look like, but > > not the insertion of a new page. > The blank keyword doesn=E2=80=99t insert a new page, it sets only a flag = which > hides all page backgrounds > (colors, overlays or headers) on the given page but the flag lasts only > for a single page. > > Wolfgang > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://www.ntg.nl/pipermail/ntg-context/attachments/20150917/4381038e/att= achment-0001.html > > > > ------------------------------ > > Message: 3 > Date: Thu, 17 Sep 2015 19:51:14 +0200 > From: Pablo Rodriguez > To: mailing list for ConTeXt users > Subject: Re: [NTG-context] comparing strings > Message-ID: <55FAFD92.10606@gmx.es> > Content-Type: text/plain; charset=3Dutf-8 > > On 09/17/2015 07:26 PM, Wolfgang Schuster wrote: > >> Pablo Rodriguez 17. September 2015 18:47 > >> [...] > >> \unexpanded\def\MyUpper#1% > >> {\ctxlua{document.gouppercase("#1")}} > >> > >> \starttext > >> \doif{\MyUpper{adfalkjfae=C3=B1f}}{\MyUpper{aDFAlkjfae=C3=B1f}}{equal}= {unequal} > >> > >> Why are are the first two strings unequal? > > > > You can=E2=80=99t use a unexpandable (which you created with \unexpande= d) in > > ConTeXts \doifXXX commands. > > Many thanks for your reply, Wolfgang. > > I see. I thought it was better to add \unexpanded before a pure \def. > > Is it \unexpaded required before a \def with more than one argument? > > (Sorry, but expansion is a concept which I=E2=80=99m not familiar with.) > > > PS. You need \doifelse and not \doif. > > I realized this too sending the message to the list. > > > > Pablo > -- > http://www.ousia.tk > > > ------------------------------ > > Message: 4 > Date: Fri, 18 Sep 2015 09:56:31 +0600 > From: Henning Hraban Ramm > To: mailing list for ConTeXt users > Subject: Re: [NTG-context] formatting of reference links > Message-ID: > Content-Type: text/plain; charset=3Dwindows-1252 > > Am 2015-09-17 um 16:32 schrieb Wolfgang Schuster < > schuster.wolfgang@gmail.com>: > > >> Henning Hraban Ramm 17. September 2015 07:49 > >> > >> Thank you, I had only tried style=3Dnormal > > This is wrong because =E2=80=9Cstyle=3Dnormal=E2=80=9D is in most cases= the same as > "style=3D\tf=E2=80=9D which is not what > > you want when the surrounding text is italic or bold. > > Maybe, but it didn=E2=80=99t do anything. The surroundings were upright n= ot-bold, > the reference links were still upright bold. > > > The example below shows why "style=3DNAME=E2=80=9D is not always the sa= me as > =E2=80=9Cstyle=3D\COMMAND=E2=80=9D. > > Thank you! > > Greetlings, Hraban > --- > http://www.fiee.net > http://wiki.contextgarden.net > https://www.cacert.org (I'm an assurer) > > > > ------------------------------ > > Message: 5 > Date: Fri, 18 Sep 2015 08:34:49 +0200 > From: Christoph Reller > To: ntg-context > Subject: Re: [NTG-context] \reference and \setupinteraction[focus=3D...] > not working > Message-ID: > < > CAO8LnPGjn5U+UNKS8Dczc6RhnVRNCMvO3ArDhSC4jSEnFRNQ3w@mail.gmail.com> > Content-Type: text/plain; charset=3D"utf-8" > > Hi, > > Any news on this? Is this a luatex problem or a ConTeXt problem? I am gla= d > to help if you can point me to the location in the source code where thin= gs > 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=3Dfit. > > > > The resulting PDF differs as follows: > > > > - focus=3Dfit: This PDF has no named destinations. The link annotations= on > > page 3 include destinations directly, and these destinations are correc= t. > > > > - focus=3D: This PDF has named destinations in Root->Na= mes > > 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] > > \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 inte= nd > > to fix this. > > > > Interestingly, with focus=3Dstandard, automatically generated links (e.= g. > > with sections and \about) work as expected. > > > > Regards, > > Christoph > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://www.ntg.nl/pipermail/ntg-context/attachments/20150918/0a7dc286/att= achment-0001.html > > > > ------------------------------ > > Message: 6 > Date: Fri, 18 Sep 2015 11:25:38 +0200 > From: Wolfgang Schuster > To: mailing list for ConTeXt users > Subject: Re: [NTG-context] formatting of reference links > Message-ID: <55FBD892.6070306@gmail.com> > Content-Type: text/plain; charset=3D"utf-8"; Format=3D"flowed" > > > Henning Hraban Ramm > > 18. September 2015 05:56 > > Am 2015-09-17 um 16:32 schrieb Wolfgang Schuster< > schuster.wolfgang@gmail.com>: > > > >>> Henning Hraban Ramm 17. September 2015 07:49 > >>> > >>> Thank you, I had only tried style=3Dnormal > >> This is wrong because =E2=80=9Cstyle=3Dnormal=E2=80=9D is in most case= s the same as > "style=3D\tf=E2=80=9D which is not what > >> you want when the surrounding text is italic or bold. > > > > Maybe, but it didn=E2=80=99t do anything. The surroundings were upright > not-bold, the reference links were still upright bold. > Can you make a example for this because I get a normal upright number > when I use style=3Dnormal. > > \setupinteraction[state=3Dstart,contrastcolor=3D,color=3D,style=3Dnormal] > > \starttext > > \section[test]{Section} > > There is a section on \at{page}[test]. > > {\bf There is a section on \at{page}[test].} > > \stoptext > > Wolfgang > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://www.ntg.nl/pipermail/ntg-context/attachments/20150918/3286b879/att= achment.html > > > > ------------------------------ > > Subject: Digest Footer > > > _________________________________________________________________________= __________ > 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 : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > > _________________________________________________________________________= __________ > > ------------------------------ > > End of ntg-context Digest, Vol 135, Issue 34 > ******************************************** > --001a11c39b24840a19052194ef22 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi everybody,

An even more minimal exam= ple

\setupinteraction[state=3Dstart,focus=3Ds= tandard] % <- defect
%\setupinteraction[state=3Dstart, focus= =3Dfit] =C2=A0 =C2=A0% <- works
\starttext
=C2=A0 \r= eference[tuf]{Tufte}
=C2=A0 \input tufte
=C2=A0 \pa= ge
=C2=A0 \about[tuf].
\stoptext
=
The resulting PDF has an annotation that points to a named d= estination "(tuf)". But "Names" in the PDF root contain= s then key "(#1)" and a correct destination as value. It is only = the key in the Names tree that is wrong.

Unfortuna= tely, I cannot locate the code where this is written (maybe strc-ref.lua?).=

Any help is welcome.

Reg= ards,
Christoph

On Fri, Sep 18, 2015 at 11:25 AM, <= ;ntg-contex= t-request@ntg.nl> wrote:
Send ntg-context= mailing list submissions to
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ntg-conte= xt@ntg.nl

To subscribe or unsubscribe via the World Wide Web, visit
=C2=A0 =C2=A0 =C2=A0 =C2=A0 http://www.ntg.nl/mailman/= listinfo/ntg-context
or, via email, send a message with subject or body 'help' to
=C2=A0 =C2=A0 =C2=A0 =C2=A0 n= tg-context-request@ntg.nl

You can reach the person managing the list at
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ntg= -context-owner@ntg.nl

When replying, please edit your Subject line so it is more specific
than "Re: Contents of ntg-context digest..."


Today's Topics:

=C2=A0 =C2=A01. Re: comparing strings (Wolfgang Schuster)
=C2=A0 =C2=A02. Re: suppress header-footers (Wolfgang Schuster)
=C2=A0 =C2=A03. Re: comparing strings (Pablo Rodriguez)
=C2=A0 =C2=A04. Re: formatting of reference links (Henning Hraban Ramm)
=C2=A0 =C2=A05. Re: \reference and \setupinteraction[focus=3D...] not=C2=A0= =C2=A0 =C2=A0 =C2=A0working
=C2=A0 =C2=A0 =C2=A0 (Christoph Reller)
=C2=A0 =C2=A06. Re: formatting of reference links (Wolfgang Schuster)


----------------------------------------------------------------------

Message: 1
Date: Thu, 17 Sep 2015 19:26:45 +0200
From: Wolfgang Schuster <= schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: [NTG-context] comparing strings
Message-ID: <55FAF7D5.8080= 409@gmail.com>
Content-Type: text/plain; charset=3D"utf-8"; Format=3D"flowe= d"

> Pablo Rodriguez <mailto:oinos@gmx.e= s>
> 17. September 2015 18:47
> Dear list,
>
> I have the following sample:
>
> \startluacode
> function document.gouppercase(str)
> tex.print(str:upper())
> end
> \stopluacode
>
> \unexpanded\def\MyUpper#1%
> {\ctxlua{document.gouppercase("#1")}}
>
> \starttext
> \doif{\MyUpper{adfalkjfae=C3=B1f}}{\MyUpper{aDFAlkjfae=C3=B1f}}{equal}= {unequal}
>
> \ctxlua{if string.upper("adfalkjfae=C3=B1f") =3D=3D string.u= pper("aDFAlkjfae=C3=B1f")
> then tex.print("equal") else tex.print("unequal") = end}
> \stoptext
>
> Why are are the first two strings unequal?
You can=E2=80=99t use a unexpandable (which you created with \unexpanded) i= n
ConTeXts \doifXXX commands.

PS. You need \doifelse and not \doif.

Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <h= ttp://www.ntg.nl/pipermail/ntg-context/attachments/20150917/d9453cc7/attach= ment-0001.html>

------------------------------

Message: 2
Date: Thu, 17 Sep 2015 19:29:20 +0200
From: Wolfgang Schuster <= schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: [NTG-context] suppress header-footers
Message-ID: <55FAF870.1020= 107@gmail.com>
Content-Type: text/plain; charset=3D"utf-8"; Format=3D"flowe= d"

> Pablo Rodriguez <mailto:oinos@gmx.e= s>
> 17. September 2015 17:55
>
> Many thanks for your reply, Wolfgang.
>
> I thought that blank implied the how the next page would look like, bu= t
> not the insertion of a new page.
The blank keyword doesn=E2=80=99t insert a new page, it sets only a flag wh= ich
hides all page backgrounds
(colors, overlays or headers) on the given page but the flag lasts only
for a single page.

Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <h= ttp://www.ntg.nl/pipermail/ntg-context/attachments/20150917/4381038e/attach= ment-0001.html>

------------------------------

Message: 3
Date: Thu, 17 Sep 2015 19:51:14 +0200
From: Pablo Rodriguez <oinos@gmx.es&= gt;
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: [NTG-context] comparing strings
Message-ID: <55FAFD92.10606@gmx= .es>
Content-Type: text/plain; charset=3Dutf-8

On 09/17/2015 07:26 PM, Wolfgang Schuster wrote:
>> Pablo Rodriguez 17. September 2015 18:47
>> [...]
>> \unexpanded\def\MyUpper#1%
>> {\ctxlua{document.gouppercase("#1")}}
>>
>> \starttext
>> \doif{\MyUpper{adfalkjfae=C3=B1f}}{\MyUpper{aDFAlkjfae=C3=B1f}}{eq= ual}{unequal}
>>
>> Why are are the first two strings unequal?
>
> You can=E2=80=99t use a unexpandable (which you created with \unexpand= ed) in
> ConTeXts \doifXXX commands.

Many thanks for your reply, Wolfgang.

I see. I thought it was better to add \unexpanded before a pure \def.

Is it \unexpaded required before a \def with more than one argument?

(Sorry, but expansion is a concept which I=E2=80=99m not familiar with.)
> PS. You need \doifelse and not \doif.

I realized this too sending the message to the list.



Pablo
--
http:/= /www.ousia.tk


------------------------------

Message: 4
Date: Fri, 18 Sep 2015 09:56:31 +0600
From: Henning Hraban Ramm <texml@fiee.= net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: [NTG-context] formatting of reference links
Message-ID: <E8F4E533-7123-4D2E-A7DB-40E156AA400B@fiee.net>
Content-Type: text/plain; charset=3Dwindows-1252

Am 2015-09-17 um 16:32 schrieb Wolfgang Schuster <schuster.wolfgang@gmail.com>:

>> Henning Hraban Ramm 17. September 2015 07:49
>>
>> Thank you, I had only tried style=3Dnormal
> This is wrong because =E2=80=9Cstyle=3Dnormal=E2=80=9D is in most case= s the same as "style=3D\tf=E2=80=9D which is not what
> you want when the surrounding text is italic or bold.

Maybe, but it didn=E2=80=99t do anything. The surroundings were upright not= -bold, the reference links were still upright bold.

> The example below shows why "style=3DNAME=E2=80=9D is not always = the same as =E2=80=9Cstyle=3D\COMMAND=E2=80=9D.

Thank you!

Greetlings, Hraban
---
http:/= /www.fiee.net
http://wiki.contextgarden.net
htt= ps://www.cacert.org (I'm an assurer)



------------------------------

Message: 5
Date: Fri, 18 Sep 2015 08:34:49 +0200
From: Christoph Reller <ch= ristoph.reller@gmail.com>
To: ntg-context <ntg-context@ntg.n= l>
Subject: Re: [NTG-context] \reference and \setupinteraction[focus=3D...] =C2=A0 =C2=A0 =C2=A0 =C2=A0 not=C2=A0 =C2=A0 =C2=A0working
Message-ID:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <CAO8LnPGjn5U+UNKS8Dczc6RhnVRNC= MvO3ArDhSC4jSEnFRNQ3w@mail.gmail.com>
Content-Type: text/plain; charset=3D"utf-8"

Hi,

Any news on this? Is this a luatex problem or a ConTeXt problem? I am glad<= br> 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, <christoph.reller@gmail.com> wrote:

> Hi,
>
> In the following MWE, the interactive link work only when setting
> focus=3Dfit.
>
> The resulting PDF differs as follows:
>
> - focus=3Dfit: This PDF has no named destinations. The link annotation= s on
> page 3 include destinations directly, and these destinations are corre= ct.
>
> - focus=3D<something else>: This PDF has named destinations in R= oot->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 =C2=A0\reference[tuf]{Tufte}%
>=C2=A0 =C2=A0\input tufte
>=C2=A0 =C2=A0\page
>=C2=A0 =C2=A0\reference[knu]{Knuth}%
>=C2=A0 =C2=A0\input knuth
>=C2=A0 =C2=A0\page
>=C2=A0 =C2=A0\about[tuf] and \about[knu].
> \stopsection
> \stoptext
>
> This seems to be a bug. If so, then please confirm and tell if you int= end
> to fix this.
>
> Interestingly, with focus=3Dstandard, automatically generated links (e= .g.
> with sections and \about) work as expected.
>
> Regards,
> Christoph
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <h= ttp://www.ntg.nl/pipermail/ntg-context/attachments/20150918/0a7dc286/attach= ment-0001.html>

------------------------------

Message: 6
Date: Fri, 18 Sep 2015 11:25:38 +0200
From: Wolfgang Schuster <= schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: [NTG-context] formatting of reference links
Message-ID: <55FBD892.6070= 306@gmail.com>
Content-Type: text/plain; charset=3D"utf-8"; Format=3D"flowe= d"

> Henning Hraban Ramm <mailto:texml= @fiee.net>
> 18. September 2015 05:56
> Am 2015-09-17 um 16:32 schrieb Wolfgang Schuster<schuster.wolfgang@gmail.com>:
>
>>> Henning Hraban Ramm 17. September 2015 07:49
>>>
>>> Thank you, I had only tried style=3Dnormal
>> This is wrong because =E2=80=9Cstyle=3Dnormal=E2=80=9D is in most = cases the same as "style=3D\tf=E2=80=9D which is not what
>> you want when the surrounding text is italic or bold.
>
> Maybe, but it didn=E2=80=99t do anything. The surroundings were uprigh= t not-bold, the reference links were still upright bold.
Can you make a example for this because I get a normal upright number
when I use style=3Dnormal.

\setupinteraction[state=3Dstart,contrastcolor=3D,color=3D,style=3Dnormal]
\starttext

\section[test]{Section}

There is a section on \at{page}[test].

{\bf There is a section on \at{page}[test].}

\stoptext

Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http:/= /www.ntg.nl/pipermail/ntg-context/attachments/20150918/3286b879/attachment.= html>

------------------------------

Subject: Digest Footer

___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" rel=3D"noreferrer= " target=3D"_blank">http://www.ntg.nl/mailman/listinfo/ntg-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://tex.aanhet.net
archive=C2=A0 : https://foundry.supelec.fr/projects/c= ontextrev/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________

------------------------------

End of ntg-context Digest, Vol 135, Issue 34
********************************************

--001a11c39b24840a19052194ef22-- --===============1699571183== 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= --===============1699571183==--