From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94600 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Strange bug in the latest version of ConTeXt - start-stop table problem Date: Sun, 01 May 2016 09:50:27 +0200 Message-ID: <5725B543.7000804@gmail.com> References: <571F74F9.4030500@gyza.cz> <572092EF.8040408@gmail.com> <57259992.30806@gyza.cz> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7448710865096717451==" X-Trace: ger.gmane.org 1462089203 4950 80.91.229.3 (1 May 2016 07:53:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 May 2016 07:53:23 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun May 01 09:53:11 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 plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1awmBh-0001KU-2z for gctc-ntg-context-518@m.gmane.org; Sun, 01 May 2016 09:53:09 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 05BF1B5F0; Sun, 1 May 2016 09:50: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 jldcRL_TC9NP; Sun, 1 May 2016 09:50:11 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id E431AB60C; Sun, 1 May 2016 09:50:11 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 19FD1B5ED for ; Sun, 1 May 2016 09:50:11 +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 Cm6i0dolOOhJ for ; Sun, 1 May 2016 09:50:10 +0200 (CEST) Original-Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) (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 29F0CB5E0 for ; Sun, 1 May 2016 09:50:00 +0200 (CEST) Original-Received: by mail-wm0-f46.google.com with SMTP id e201so73096101wme.0 for ; Sun, 01 May 2016 00:50:00 -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=ATMBGPIJ4YENaR7+SLjYbJqLiu75X1Zx2eH6w7wnMpY=; b=SsNc8BHr9SLsgaMYII/rtmpmtvf+XcdnVR/62RZBVz0DDOVSxLgIbUw0ufBpuxeJ7T Nwzm5MiXvo0F8pfE0RN4bCwookTY3ow0zTvLH8npCauWAI+/vEP1HcY0l5DxMT4Sz2bk Z9fiM20I8lOuLCaFBTYE5/PxUy3q/yqyK45I5uCQ7BgXtxwesfEdz2l/BHaSM14Njrck BmbiSculLc7JApwrZuaEIvjfYY9BJeU/fhehi8Y4Q3v3rOrl+wzBewVM+JmRETnjwhIj piutSIcDnpBJDU3mXX+tFIBVSphQSMIyOHc4mEBgiceEAA9bT+35wCHv0X2BEj47r1hh ug1A== 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=ATMBGPIJ4YENaR7+SLjYbJqLiu75X1Zx2eH6w7wnMpY=; b=K95f2RKl7I8DVVId36gCpOxs4/ZoExthkMLj8eu6V2Pa5d7Z1iEvOF+XwIbCFWavw2 OPurjILIke23j3jcUOkooUHh4TjVnXB4FrrUkbZGgfBnkTp4J32DkY3WmAA9Ygx+uhTt BIagcZ/CON1JVt2HC1PixeM4xc7HpCL1xPnYo874qBm+Om+uH/t4u5M7OFYpKuyaSziW KDc9TRpjC7Uq7zbxFikJplqupSSpV2Gh0+jBBIpBznaP3mU5B2uXLl9sHVdCrNoGBSGV 8dcGhlLhnEFyUGGA4lAJbK135H37mrctniNhrBKLJfshOgBc+TwuWCo7If19hmz3LJox fv0Q== X-Gm-Message-State: AOPr4FWWUtw25dHZka/kdlx/aG3V23wfO191vJ2sSXwBXcrldICRMT0z7RSoRGztIocfOA== X-Received: by 10.194.95.198 with SMTP id dm6mr31854174wjb.136.1462088999837; Sun, 01 May 2016 00:49:59 -0700 (PDT) Original-Received: from keima.localdomain (x2f2a581.dyn.telefonica.de. [2.242.165.129]) by smtp.gmail.com with ESMTPSA id 8sm12142082wms.14.2016.05.01.00.49.58 for (version=TLSv1/SSLv3 cipher=OTHER); Sun, 01 May 2016 00:49:59 -0700 (PDT) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: <57259992.30806@gyza.cz> 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:94600 Archived-At: This is a multi-part message in MIME format. --===============7448710865096717451== Content-Type: multipart/alternative; boundary="------------000604000008050807060702" This is a multi-part message in MIME format. --------------000604000008050807060702 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Jaroslav Hajtmar > 1. Mai 2016 um 07:52 > Thanx Wolfgang for reply. > I looked for possible mistakes in my library, and finally I find out=20 > that described error that bug is reflecting when I use \starttable ---=20 > \stoptable environment. I am sending now an minimal example that=20 > illustrates the problem. I am aware that work with tables of this type=20 > is not recommended, however, I was surprised that in a previous=20 > version of standalone ConTeXt the bug did not show. Is there any=20 > changes in code, which is related with tables typing? > > Thanks Jaroslav Hajtmar > > Here is minimal example: > > > > \starttext > > \starttable[|l w50mm|c|] You forgot the braces around the cell width: \starttable[|lw(50mm)|c|] > \NC \NC {\bf ZZZZ} \MR 1. You forgot the \NC after the last cell. 2. You don=E2=80=99t need the braces for the font switch because font cha= nges=20 are always local to a cell. \NC \NC \bf ZZZZ \NC\MR Wolfgang --------------000604000008050807060702 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
1.= =20 Mai 2016 um 07:52
Thanx=20 Wolfgang for reply.
I looked for possible mistakes in my library, and finally I find out =20 that described error that bug is reflecting when I use \starttable ---=20 \stoptable environment. I am sending now an minimal example that=20 illustrates the problem. I am aware that work with tables of this type=20 is not recommended, however, I was surprised that in a previous version=20 of standalone ConTeXt the bug did not show. Is there any changes in=20 code, which is related with tables typing?

Thanks Jaroslav Hajtmar

Here is minimal example:



\starttext

\starttable[|l w50mm|c|]
You forgot the braces around the cell width:

\starttable[|lw(50mm)|c|]
\NC=C2=A0=C2=A0=C2=A0=C2=A0 = \NC {\bf ZZZZ} \MR
1. You forgot the \NC after the last cell.

2. You don=E2=80=99t need the braces for the font switch because font cha= nges=20 are always local to a cell.

=C2=A0=C2=A0=C2=A0 \NC \NC \bf ZZZZ \NC\MR

Wolfgang
--------------000604000008050807060702-- --===============7448710865096717451== 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= --===============7448710865096717451==--