From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95972 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Re: Strange behavior with \definelabel[][] in context standalone Date: Tue, 30 Aug 2016 00:17:00 +0200 Message-ID: References: <57C40AB9.8040109@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0362609822593730113==" X-Trace: blaine.gmane.org 1472509062 7185 195.159.176.226 (29 Aug 2016 22:17:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 29 Aug 2016 22:17:42 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Aug 30 00:17:37 2016 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 1beUs1-00015l-84 for gctc-ntg-context-518@m.gmane.org; Tue, 30 Aug 2016 00:17:33 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id F09F81616F; Tue, 30 Aug 2016 00:17:16 +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 06mQqW0izh25; Tue, 30 Aug 2016 00:17:15 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 7082116172; Tue, 30 Aug 2016 00:17:15 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 6B17016170 for ; Tue, 30 Aug 2016 00:17:14 +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 uvKH6V_KY0MU for ; Tue, 30 Aug 2016 00:17:13 +0200 (CEST) Original-Received: from mail-it0-f50.google.com (mail-it0-f50.google.com [209.85.214.50]) (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 27A2F1616F for ; Tue, 30 Aug 2016 00:17:02 +0200 (CEST) Original-Received: by mail-it0-f50.google.com with SMTP id x131so131187290ite.0 for ; Mon, 29 Aug 2016 15:17:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=GYxkLfsGJTCzvsg7SJdbBXQzw84eumatSggj5hS3eiA=; b=a3dTIDajrKRMXN2rFoaG5J1xB5kvBf6jeBCnlOPtK/MdDaeWgvPuUIR1eZcENPVKZu hyWP3sciKc/8azBeRN71BsHSr+x/hsEY2h64hJQxIdGo5G47qmRmOg8pEt527pGr+y5Z Tu2NOQxXEh5Jr2ydbKCUKiYPKdrP5t10+cUcY+jHr6QfEGt+MU8tMuEr2qXVFoTCVVBk qPmS4SC9cTTNCR9fGkqjEDdZ2UCu7lpBjlS7Rl+QxGDH05FH0dOEAclQX6PIiwKSaeNV PHkDBlm6m+UkX0xlqfDRp7+i/3YciIv/jbIUATzWMlP86P+Q2H0r8KUdsES/Ughol/pE 7/xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=GYxkLfsGJTCzvsg7SJdbBXQzw84eumatSggj5hS3eiA=; b=MGbWE01u20tJxra4fwG+jzssxzAQdWb/R3w7rviUzW9DNFaovTi5F9mQeFBOcbUHfn miWd4k00UPG4nV7mc+8S216UiJouT0vDOUzFK5L01C8Z9689kkfcR+6POC73T8CN1+OA KHk8RelG1+d5tlyyaqaq9LK6NRSu5wsFraoaa6o3e2C6U4Vgzeq/7LUR+BY6vvVZ80WJ 0htQPjHbgcDvAwUMgHbtB46bZh1hWbEmUwaFFwVdBsO190WrzK71egBagKA5XV6g9e0V JyzA30MQhO+Be7QmqXwejO94Iyem+covj7F91BTFXxIr9TeH2Oh/I7+qEOgPlc1O3JLx cLmA== X-Gm-Message-State: AE9vXwPyXKlOPe1O3hQu4kOLIshWhObdAKbhOmBn2yljZYeWzVQ3BWNv3OTRr8LdGO1iQ0jOFWePWoyrL7YAGg== X-Received: by 10.36.98.199 with SMTP id d190mr1350276itc.39.1472509021302; Mon, 29 Aug 2016 15:17:01 -0700 (PDT) Original-Received: by 10.64.71.4 with HTTP; Mon, 29 Aug 2016 15:17:00 -0700 (PDT) In-Reply-To: <57C40AB9.8040109@gmail.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:95972 Archived-At: --===============0362609822593730113== Content-Type: multipart/alternative; boundary=001a1145adbc24b3cd053b3d39a6 --001a1145adbc24b3cd053b3d39a6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Wolgang, I updated standalone context, it works correctly. Fabrice 2016-08-29 12:13 GMT+02:00 Wolfgang Schuster : > Fabrice Couvreur > 29. August 2016 um 11:45 > Hello, > I noticed a problem with standalone context and not with texlive 2016 > > See my mail about \savecounter which shows the real reason for this resul= t. > > 2 Question > 3 Question > > instead of > > 1 Question > 2 Question > > Thanks > fabrice > ############################################################ > > Keep your examples minimal, the custom frame isn=E2=80=99t necessary, the= table > can be shorter (the setups can be removed as well) and the conversionset > isn=E2=80=99t necessary. > > \defineframed > [FRAME] > [frame=3Doff, > offset=3D0pt, > location=3Dlow, > width=3D\struttotal, > background=3Dcolor, > backgroundcolor=3Ddarkred, > foregroundcolor=3Dwhite, > forgroundstyle=3Dbold] > > \defineprocessor[ACPROCESSOR][command=3D\FRAME] > \defineconversionset[ACCONVERSION][][ACPROCESSOR->n] > > > \startsetups[table:initialize] > \setupTABLE[start] > [align=3D{middle,lohi},width=3D0.12\textwidth,type=3D\tfx,offs= et=3D1ex] > \setupTABLE[column][first] > [align=3D{middle,right},width=3D0.52\textwidth] > \setupTABLE[1][1][frame=3Doff] > \stopsetups > > \definelabel[TableRow][text=3D,numbercommand=3D\FRAME] > > \starttext > > \startmidaligned > \bTABLE[setups=3Dtable:initialize] > \bTR > \bTD \eTD > \bTD a \eTD > \bTD b \eTD > \bTD c \eTD > \bTD d \eTD > \eTR > \bTR > \bTD \TableRow\ question \eTD > \bTD \eTD > \bTD \eTD > \bTD \eTD > \bTD \eTD > \eTR > \bTR > \bTD \TableRow\ question \eTD > \bTD \eTD > \bTD \eTD > \bTD \eTD > \bTD \eTD > \eTR > \eTABLE > \stopmidaligned > \stoptext > > Wolfgang > > ____________________________________________________________ > _______________________ > 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 : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ____________________________________________________________ > _______________________ > --001a1145adbc24b3cd053b3d39a6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Wolgang,
= I updated standalone<= /span> context, it works corre= ctly.
Fabrice

2016-08-29 12:13 GMT+02:00= Wolfgang Schuster <schuster.wolfgang@gmail.com>:<= br>
29.=20 August 2016 um 11:45
=
Hello,
I noticed= a problem with standalone context and not with=20 texlive 2016
See my mail about \savecounter which shows the real reason for this=20 result.
2 Question
= 3 Question

instead of

1 Question
2 Question

Thanks
<= div style=3D"font-family:verdana,sans-serif" class=3D"gmail_default">fabrice
##########################= ##################################
=

Keep your examples minimal, the custom frame isn=E2=80=99t necessary, the t= able=20 can be shorter (the setups can be removed as well) and the conversionset isn=E2=80=99t necessary.

\defineframed
=C2=A0 [FRAME]
=C2=A0 [frame= =3Doff,
=C2=A0=C2=A0=20 offset=3D0pt,
=C2=A0=C2=A0 location=3Dlow,
=C2=A0=C2=A0 width=3D\stru= ttotal,
=C2=A0=C2=A0=20 background=3Dcolor,
=C2=A0=C2=A0 backgroundcolor=3Ddarkred,
=C2=A0=C2= =A0=20 foregroundcolor=3Dwhite,
=C2=A0=C2=A0 forgroundstyle=3Dbold]

\def= ineprocessor[ACPROCESSOR][command=3D\FRAME]
\defineconversionset[ACCONVERSION][][ACPROCESSOR->n]


\startsetups[table:in= itialize]
\setupTABLE[start]
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 [align=3D{middle,lohi},width=3D0.12\textwidth,type=3D\tfx,offset=3D1ex]
\setupTABLE[column][first]
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 [align=3D{middle,right},width=3D0.52\textwidth]
\setupTABLE[1][1][= frame=3Doff]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
\stopsetups

\definelabel[TableRow][text=3D,numbercommand= =3D\FRAME]

\starttext

\startmidaligned
\bTABLE[setups=3Dta= ble:initialize]
\bTR
=C2=A0=C2=A0=C2=A0 \bTD=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \eTD
=C2=A0=C2=A0=C2=A0 \bTD=C2=A0= =C2=A0 a=C2=A0 \eTD
=C2=A0=C2=A0=C2=A0 \bTD=C2=A0=C2=A0 b=C2=A0 \eTD
= =C2=A0=C2=A0=C2=A0=20 \bTD=C2=A0=C2=A0 c=C2=A0 \eTD
=C2=A0=C2=A0=C2=A0 \bTD=C2=A0=C2=A0 d=C2= =A0 \eTD
\eTR
\bTR
=C2=A0=C2=A0=C2=A0 \bTD=20 \TableRow\ question \eTD
=C2=A0=C2=A0=C2=A0 \bTD \eTD
=C2=A0=C2=A0=C2= =A0 \bTD \eTD
=C2=A0=C2=A0=C2=A0 \bTD=20 \eTD
=C2=A0=C2=A0=C2=A0 \bTD \eTD
=C2=A0 \eTR
=C2=A0 \bTR
=C2= =A0=C2=A0=C2=A0 \bTD \TableRow\=20 question \eTD
=C2=A0=C2=A0=C2=A0 \bTD \eTD
=C2=A0=C2=A0=C2=A0 \bTD \e= TD
=C2=A0=C2=A0=C2=A0 \bTD \eTD
=C2=A0=C2=A0=C2=A0=20 \bTD \eTD
=C2=A0 \eTR
\eTABLE
\stopmidaligned
\stoptext
<= /span>
Wolfgang

_____________________________________________________________= ______________________
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 : http://foundry.supelec.fr/project= s/contextrev/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
_________________________________________________________________= __________________

--001a1145adbc24b3cd053b3d39a6-- --===============0362609822593730113== 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= --===============0362609822593730113==--