From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/96238 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: placed tabulations broken when ended with \HL in MkIV Date: Mon, 26 Sep 2016 20:04:31 +0200 Message-ID: <57E9632F.8070400@gmail.com> References: <87h992c3gq.fsf@devereux.me.uk> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2559619226721622242==" X-Trace: blaine.gmane.org 1474913131 28005 195.159.176.226 (26 Sep 2016 18:05:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 26 Sep 2016 18:05:31 +0000 (UTC) User-Agent: Postbox 5.0.2 (Macintosh/20160922) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 26 20:05:27 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 1boaHD-0005vI-Qn for gctc-ntg-context-518@m.gmane.org; Mon, 26 Sep 2016 20:05:15 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id CE06419793; Mon, 26 Sep 2016 20:04:51 +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 AKZNGOimEXxy; Mon, 26 Sep 2016 20:04:49 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 708BE19794; Mon, 26 Sep 2016 20:04:49 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id AA39F19792 for ; Mon, 26 Sep 2016 20:04:48 +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 tw2vdLWD8v4E for ; Mon, 26 Sep 2016 20:04:47 +0200 (CEST) Original-Received: from mail-qt0-f179.google.com (mail-qt0-f179.google.com [209.85.216.179]) (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 AE0CC19791 for ; Mon, 26 Sep 2016 20:04:37 +0200 (CEST) Original-Received: by mail-qt0-f179.google.com with SMTP id l91so85571341qte.3 for ; Mon, 26 Sep 2016 11:04:37 -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=S6e/FxJ53Q8Tup+8Ti1d+xwscRVxwi0Mzy2LDowyvTo=; b=mK1uf/xM0YvDF30ci08S6uu4LSeO7JzwdceGqyLuwhxS6Dan9WELsMNUTuzc1Gjix2 P/g/VpDV44dOd6tr4NJqwundl1XYJ1vIUPWVBhkVVXyY9RH8him6GjlDeDB+pQ6jqN3u YqaXb13J7FPsM5GF6PVDx1hQvESqERlwIz19WEGsz8vz/N1FziBr3zugcBtOBhEAsMw6 hg2Y41wwvONGwslsTdXaV/38hpDppv1FCdIeY9NPwzHC6fNOD4LJeJPBpCcT8u390Ani kenMunQnGk5Ss05PHt+0EuN7v7gN/6jqRTzWWa8Sjcxq3z8cBxt3Eh7g5h0AHXUKsLcc VO2g== 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=S6e/FxJ53Q8Tup+8Ti1d+xwscRVxwi0Mzy2LDowyvTo=; b=JlYvIMbQ9LWhwR/im9J1+FiGpHTzVlqreMtCw3BbPUpzS9blJAcP2XU2thVYcn3BS2 1be5NR78mdvpvQwnXg3EejVwNn30AcBIurXLGUD7Gu5yAfjq7jDj2T9pw/Bnb2xUKjQ9 Avwc84MGzEy36w4/P+TdolfAnJLhBUNT98y6n2GZFamRkHwY7JVd3Ep5h3eZYL+Zq4YR /LTs37Luhc7N6mFWI2iYl5mhonuTsrB2nv/0OW5rMYD2gppQfyj9u9BIIARXymhjU7BL 17wTLe6F8FUDZxA5yHCgxgopIhY/dxoQk1K5VG8jxsFNTeqlc2LZOCNelGkE24HzdT3Z JvXA== X-Gm-Message-State: AA6/9RnPSKPJDkccCcJvvebrGqTN6I16JVU3FdogMQJtfhrnfxPxRYDw8zVTJAcHOtSeGA== X-Received: by 10.28.30.17 with SMTP id e17mr14847526wme.70.1474913075819; Mon, 26 Sep 2016 11:04:35 -0700 (PDT) Original-Received: from keima.home ([86.86.82.85]) by smtp.gmail.com with ESMTPSA id bc5sm23541118wjb.37.2016.09.26.11.04.33 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 26 Sep 2016 11:04:34 -0700 (PDT) In-Reply-To: <87h992c3gq.fsf@devereux.me.uk> 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:96238 Archived-At: This is a multi-part message in MIME format. --===============2559619226721622242== Content-Type: multipart/alternative; boundary="------------030806080801060102070406" This is a multi-part message in MIME format. --------------030806080801060102070406 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit > John Devereux > 26. September 2016 um 13:20 > Hi, > > I updated my context (IV) installation recently and most of my > tabulations are not working when they are placed with \placetable. > > Even the examples on the wiki do not work e.g. this aborts with an > undefined control sequence error for the \stoptabulate: > > \starttext > This is a very long text, longer than the width of the table. > It must be long enough to flow to the next line to see the effect. > > \startplacetable[location=force,number=no] > \starttabulate[|r|l|] > \HL > \NC I want this table \NC aligned in the center.\NC\NR > \HL > \stoptabulate > \stopplacetable > \stoptext > > > I traced it to ending with a \HL. It can be made to work if I add an > extra \AR after the final \HL tabl-tbl.mkiv: \def\tabl_tabulate_inside_before {\ifhmode\par\fi \ifhmode \ifinsidesplitfloat \let\tabl_tabulate_inside_after \relax + \let\tabl_tabulate_inside_inbetween\relax \else \vbox\bgroup \let\tabl_tabulate_inside_after \egroup + \let\tabl_tabulate_inside_inbetween\relax \fi \else \let\tabl_tabulate_inside_after \relax + \let\tabl_tabulate_inside_inbetween\relax \fi} Wolfgang --------------030806080801060102070406 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
26. September 2016 um 13:20
Hi,

I updated my context (IV) installation recently and most of my
tabulations are not working when they are placed with \placetable.

Even the examples on the wiki do not work e.g. this aborts with an
undefined control sequence error for the \stoptabulate:

\starttext
This is a very long text, longer than the width of the table.
It must be long enough to flow to the next line to see the effect.

\startplacetable[location=force,number=no]
\starttabulate[|r|l|]
\HL
\NC I want this table \NC aligned in the center.\NC\NR
\HL
\stoptabulate
\stopplacetable
\stoptext


I traced it to ending with a \HL. It can be made to work if I add an
extra \AR after the final \HL
tabl-tbl.mkiv:

\def\tabl_tabulate_inside_before
  {\ifhmode\par\fi
   \ifhmode
     \ifinsidesplitfloat
       \let\tabl_tabulate_inside_after    \relax
+      \let\tabl_tabulate_inside_inbetween\relax
     \else
       \vbox\bgroup
       \let\tabl_tabulate_inside_after    \egroup
+      \let\tabl_tabulate_inside_inbetween\relax
     \fi
   \else
     \let\tabl_tabulate_inside_after    \relax
+    \let\tabl_tabulate_inside_inbetween\relax
   \fi}

Wolfgang
--------------030806080801060102070406-- --===============2559619226721622242== 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= --===============2559619226721622242==--