From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/107959 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Jairo A. del Rio" Newsgroups: gmane.comp.tex.context Subject: Re: Bad interaction between \setupinteraction and \defineenumeration Date: Mon, 6 Jul 2020 08:58:12 -0500 Message-ID: References: <28D43F84-8E8A-4B6A-93DB-20DAEC1C3DAC@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6718290399808378596==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10867"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jul 06 15:58:53 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jsRe1-0002iu-7m for gctc-ntg-context-518@m.gmane-mx.org; Mon, 06 Jul 2020 15:58:53 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 6E235185145; Mon, 6 Jul 2020 15:58:29 +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 Td72_SCOlo3P; Mon, 6 Jul 2020 15:58:27 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 742BB1850D5; Mon, 6 Jul 2020 15:58:27 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 520AE1850D5 for ; Mon, 6 Jul 2020 15:58:26 +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 QrTeIu-D3Alb for ; Mon, 6 Jul 2020 15:58:25 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.128.54; helo=mail-wm1-f54.google.com; envelope-from=jairoadelrio6@gmail.com; receiver= Original-Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 5C9F0184B31 for ; Mon, 6 Jul 2020 15:58:25 +0200 (CEST) Original-Received: by mail-wm1-f54.google.com with SMTP id q15so39484490wmj.2 for ; Mon, 06 Jul 2020 06:58:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=ilvcI7eYMqTa7QZp55Jy7PjItvYnaIaN7CpdJIZV6dQ=; b=ZQ8T6PmO4/F1MjVuNebZfNpbdKzhnTX/saw5v0qRxuX8t+o/kqTE2bsX8gPQlFcIH5 8scyS7ZfI5VMe+PotoQUdfRuveEWhRtJOShSZ0aCF3etpmEftB0/ABJaBOyxO3cvgIwO Z3rKLZ/11TcD6tSSAoed/g7niBTQSKdEW4FJnppGoeyOZMWkzbijHexijqJJ4fEnp0BO XKb0ygYxBwt1OybfvAjXfORAkhLZ1nrZaUTGMF/DU2/ucPxgLXFuAZClCGbfRQYzZ/RR GHUVYxhZD1/rwX00Bc/WSm97PN3/rhzP3vi/7FRiwHjDOimg6SRoNAAx7ogMNusf0JFZ lMbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=ilvcI7eYMqTa7QZp55Jy7PjItvYnaIaN7CpdJIZV6dQ=; b=Ab1qqZIps2Z3PdpcaneztOt45VTfdNlpHX95/BG4h82ExztEyvtdES+lSxBQjaSXIw pmx0kv2UMe36gC0rDtH2EC/a9aF9W9OGVNL+kqbvAS8ohGszae2l2RqmCF9dgYx+yNe7 ma9Pyp3ZVJqaukk+p73ig5pmrNrmI3VQvLr++KGCmg/G1YfvJozopFsNHs6D/QNuU4H9 biWAtCxLThxGSVxjEi93Ckcoxn20V+1gsFTqTdnyJfE1zEfjANdI/F2sAk6/JVIPowYu 6HjYv/oSJlT+0fj4dBuSTCAPf2NSo3tqwz+JJGJVozUXSE98FiS6L1A4d/5MYhkidRgd jCGw== X-Gm-Message-State: AOAM53129vRY37lkIPpTTxplXCVgT33QrcI0CzT1ytBaUs9KuPzZRUtv lIarE+0fn7aIXb2KiFYa2tD1iNCdOycWGTSiua71nXn0 X-Google-Smtp-Source: ABdhPJxjPSIsVKYH3Hg4ngsF2cegNM8yPkzrxmT/fDZqLNfkeVuIJIFqiFVXS7QWrHTZjdKYDRPWGYJc6jOK/7tlWcE= X-Received: by 2002:a7b:c84d:: with SMTP id c13mr49361230wml.170.1594043904747; Mon, 06 Jul 2020 06:58:24 -0700 (PDT) In-Reply-To: <28D43F84-8E8A-4B6A-93DB-20DAEC1C3DAC@gmail.com> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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.io gmane.comp.tex.context:107959 Archived-At: --===============6718290399808378596== Content-Type: multipart/alternative; boundary="000000000000b2ef3905a9c644e2" --000000000000b2ef3905a9c644e2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable So, cannot I use focus=3Dstandard and cross-references together? Hmm. I thi= nk it should be fixed... But maybe it's an intended feature. Thanks, Otared. Jairo :) El lun., 6 de jul. de 2020 4:31 a. m., Otared Kavian escribi=C3=B3: > Hi Jairo, > > If you remove > focus=3Dstandard > the interaction works fine. > > Best regards: Otared K. > > > On 6 Jul 2020, at 01:15, Jairo A. del Rio > wrote: > > > > The following: > > > > > \setupinteraction[state=3Dstart,focus=3Dstandard,color=3Dblack,contrastco= lor=3Dblack] > > > \defineenumeration[proposition][alternative=3Dtop,text=3DProposici=C3=B3n= ,headalign=3Dmiddle,numberconversion=3DR,headstyle=3D\WORDS,style=3D\emph,r= eferenceprefix=3Dprop] > > \starttext > > \startproposition[1] > > \dorecurse{10}{\input ward} > > \stopproposition > > \in[prop:1] > > \stoptext > > > > works almost perfectly. However, the cross-reference does not work, eve= n > if the number of the enumeration is displayed correctly. The example fail= s > both in LuaTeX and LuaMetaTeX. As I remember, the problem appeared as ear= ly > as 2019, so not a matter of a bad installation. Any ideas? > > > > Cordially, > > > > Jairo :) > > > > > _________________________________________________________________________= __________ > > 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 > > > _________________________________________________________________________= __________ > > > _________________________________________________________________________= __________ > 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 > > _________________________________________________________________________= __________ > --000000000000b2ef3905a9c644e2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
So, cannot I use focus=3Dstandard and cross-references to= gether? Hmm. I think it should be fixed... But maybe it's an intended f= eature. Thanks, Otared.

Jairo = :)

El lun., 6 de= jul. de 2020 4:31 a. m., Otared Kavian <otared@gmail.com> escribi=C3=B3:
Hi Jairo,

If you remove
=C2=A0 =C2=A0 =C2=A0 =C2=A0 focus=3Dstandard
the interaction works fine.

Best regards: Otared K.

> On 6 Jul 2020, at 01:15, Jairo A. del Rio <jairoadelrio6@gmail= .com> wrote:
>
> The following:
>
> \setupinteraction[state=3Dstart,focus=3Dstandard,color=3Dblack,contras= tcolor=3Dblack]
> \defineenumeration[proposition][alternative=3Dtop,text=3DProposici=C3= =B3n,headalign=3Dmiddle,numberconversion=3DR,headstyle=3D\WORDS,style=3D\em= ph,referenceprefix=3Dprop]
> \starttext
> \startproposition[1]
> \dorecurse{10}{\input ward}
> \stopproposition
> \in[prop:1]
> \stoptext
>
> works almost perfectly. However, the cross-reference does not work, ev= en if the number of the enumeration is displayed correctly. The example fai= ls both in LuaTeX and LuaMetaTeX. As I remember, the problem appeared as ea= rly as 2019, so not a matter of a bad installation. Any ideas?
>
> Cordially,
>
> Jairo :)
>
> ______________________________________________________________________= _____________
> If your question is of interest to others as well, please add an entry= to the Wiki!
>
> maillist : ntg-context@ntg.nl / ht= tp://www.ntg.nl/mailman/listinfo/ntg-context
> webpage=C2=A0 : http://www.pragma-ade.nl / ht= tp://context.aanhet.net
> archive=C2=A0 : https://bitbucket.o= rg/phg/context-mirror/commits/
> wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
> ______________________________________________________________________= _____________

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

maillist : ntg-context@ntg.nl / http://= www.ntg.nl/mailman/listinfo/ntg-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://= context.aanhet.net
archive=C2=A0 : https://bitbucket.org/ph= g/context-mirror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--000000000000b2ef3905a9c644e2-- --===============6718290399808378596== 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 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============6718290399808378596==--