From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95965 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Strange behavior with \definelabel[][] in context standalone Date: Mon, 29 Aug 2016 12:13:13 +0200 Message-ID: <57C40AB9.8040109@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3004270450618360597==" X-Trace: blaine.gmane.org 1472465629 24851 195.159.176.226 (29 Aug 2016 10:13:49 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 29 Aug 2016 10:13:49 +0000 (UTC) User-Agent: Postbox 4.0.8 (Macintosh/20151105) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Aug 29 12:13:42 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 1beJZV-0005kN-SX for gctc-ntg-context-518@m.gmane.org; Mon, 29 Aug 2016 12:13:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 671E8157EE; Mon, 29 Aug 2016 12:13:28 +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 2QmX7SrwZI4B; Mon, 29 Aug 2016 12:13:27 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 8706A15F2E; Mon, 29 Aug 2016 12:13:27 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E9C8A15F08 for ; Mon, 29 Aug 2016 12:13: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 Hi0yEjJ3d2PU for ; Mon, 29 Aug 2016 12:13:26 +0200 (CEST) Original-Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) (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 66CC5157EE for ; Mon, 29 Aug 2016 12:13:16 +0200 (CEST) Original-Received: by mail-wm0-f42.google.com with SMTP id o80so83658988wme.1 for ; Mon, 29 Aug 2016 03:13:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=qKCiJF1kh6FKXQ7Q7CWTQfBXoVmouZyWmb3TJAO+hy8=; b=aqNBHX3dpNns9+RuapC171CQwnR5WVasHdfjVDBZSCeGFohbcc28yU1XRb5JV0/A+9 iAWCtQRzF6d85QVtf4lrPTlmjhQPlDU6TQ1T3tBEMf6qI+6vOwXfF0/4u6rKJyLg2tRQ Xh5PGG+M8431WGzdCHU6BHH935vrB0UYeZOgd3L6IlC5dYB4EJy3BhlOw2pRYLk4UqVX JIGeWK3Oxgn3+KHCWUOzrJT8vGdrwMoIBcq08KLAbv7avqHVKIgYEJFvVNi3Rk1+o2/r UPj4gjczGoG0xt2Qqw2Lw0n5djFqTy1zOmU8U7zGsKYGLOIkPDePn3elcLUGMt4xVYBB PvOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=qKCiJF1kh6FKXQ7Q7CWTQfBXoVmouZyWmb3TJAO+hy8=; b=bENFLOxyuJsgK/S/LjaqLbLXrXmjdMS8k1MS6/8UI5A8mQjlFGKG7KJ8Mqa49xUQ0Y 0sD1FFqfah2I4sMm/t9psoHmh76zh1Z2mSu/qsK2qoMeY1KZLs9YmcXyzRJDkPmiK4/n 9UADSCyNNxjmMoRlo8DFOvp0q5zGtxgfntYmbMwIlrpg/mBSmgptuisuWH5JA9zWM2Bl UwYXuEv5OfbYMUom36Aicp9sxLeonnmYXKxt/gi9PJvMCIfwNWX48X169g3t3WP0tWoV +iqKydD6c/ER6Ezkz2yX4WqF4j1barUDIKNBoVysqu8eXMYpd5frU+dewSrzAXAv8MNI dFyg== X-Gm-Message-State: AE9vXwO/KcHQvvDJ75NnWLtFmre5ZFI8Wo5xE9FXYHfx6MuazSVPGEQ5GGeg9Q5o3D5geA== X-Received: by 10.28.52.2 with SMTP id b2mr10417931wma.109.1472465595745; Mon, 29 Aug 2016 03:13:15 -0700 (PDT) Original-Received: from keima.localdomain (x2f2453d.dyn.telefonica.de. [2.242.69.61]) by smtp.gmail.com with ESMTPSA id q137sm12745646wmd.19.2016.08.29.03.13.14 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 29 Aug 2016 03:13:15 -0700 (PDT) In-Reply-To: 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:95965 Archived-At: This is a multi-part message in MIME format. --===============3004270450618360597== Content-Type: multipart/alternative; boundary="------------060507000509050403090806" This is a multi-part message in MIME format. --------------060507000509050403090806 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit > 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 result. > 2 Question > 3 Question > > instead of > > 1 Question > 2 Question > > Thanks > fabrice > ############################################################ > Keep your examples minimal, the custom frame isn’t necessary, the table can be shorter (the setups can be removed as well) and the conversionset isn’t necessary. > \defineframed > [FRAME] > [frame=off, > offset=0pt, > location=low, > width=\struttotal, > background=color, > backgroundcolor=darkred, > foregroundcolor=white, > forgroundstyle=bold] > > \defineprocessor[ACPROCESSOR][command=\FRAME] > \defineconversionset[ACCONVERSION][][ACPROCESSOR->n] > > > \startsetups[table:initialize] > \setupTABLE[start] > [align={middle,lohi},width=0.12\textwidth,type=\tfx,offset=1ex] > \setupTABLE[column][first] > [align={middle,right},width=0.52\textwidth] > \setupTABLE[1][1][frame=off] > \stopsetups > > \definelabel[TableRow][text=,numbercommand=\FRAME] > > \starttext > > \startmidaligned > \bTABLE[setups=table: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 --------------060507000509050403090806 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
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 result.
2 Question
3 Question

instead of

1 Question
2 Question

Thanks
fabrice
############################################################

Keep your examples minimal, the custom frame isn’t necessary, the table can be shorter (the setups can be removed as well) and the conversionset isn’t necessary.
\defineframed
  [FRAME]
  [frame=off,
   offset=0pt,
   location=low,
   width=\struttotal,
   background=color,
   backgroundcolor=darkred,
   foregroundcolor=white,
   forgroundstyle=bold]

\defineprocessor[ACPROCESSOR][command=\FRAME]
\defineconversionset[ACCONVERSION][][ACPROCESSOR->n]


\startsetups[table:initialize]
\setupTABLE[start]
           [align={middle,lohi},width=0.12\textwidth,type=\tfx,offset=1ex]
\setupTABLE[column][first]
           [align={middle,right},width=0.52\textwidth]
\setupTABLE[1][1][frame=off]        
\stopsetups

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

\starttext

\startmidaligned
\bTABLE[setups=table: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
--------------060507000509050403090806-- --===============3004270450618360597== 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= --===============3004270450618360597==--