From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87813 Path: news.gmane.org!not-for-mail From: Rik Kabel Newsgroups: gmane.comp.tex.context Subject: Re: Problem in natural tables with nc= and alignmentcharacter Date: Mon, 23 Jun 2014 15:43:07 -0400 Message-ID: <53A8834B.1050708@rik.users.panix.com> References: <53A879F4.8020900@rik.users.panix.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0131056766==" X-Trace: ger.gmane.org 1403552622 5002 80.91.229.3 (23 Jun 2014 19:43:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Jun 2014 19:43:42 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 23 21:43:37 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WzA9R-0007fQ-1u for gctc-ntg-context-518@m.gmane.org; Mon, 23 Jun 2014 21:43:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6E64C1024A for ; Mon, 23 Jun 2014 21:43:36 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id xhS+arMUMZ-2 for ; Mon, 23 Jun 2014 21:43:36 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 955EC10222 for ; Mon, 23 Jun 2014 21:43:30 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3B5D9101E7 for ; Mon, 23 Jun 2014 21:43:27 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id XKdS1u3r0Bh8 for ; Mon, 23 Jun 2014 21:43:24 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 9CC17101E2 for ; Mon, 23 Jun 2014 21:43:13 +0200 (CEST) Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s5NJhArj007286 for ; Mon, 23 Jun 2014 21:43:13 +0200 Original-Received: from [192.168.201.10] (cpe-67-240-55-150.nycap.res.rr.com [67.240.55.150]) by mailbackend.panix.com (Postfix) with ESMTP id 64C1E2E073 for ; Mon, 23 Jun 2014 15:43:10 -0400 (EDT) User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: <53A879F4.8020900@rik.users.panix.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=166.84.1.89; country=US; region=New York; city=Richmond Hill; latitude=40.7005; longitude=-73.8345; http://maps.google.com/maps?q=40.7005,-73.8345&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QMhTHbhz - 82d6070d07e4 - 20140623 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:87813 Archived-At: This is a multi-part message in MIME format. --===============0131056766== Content-Type: multipart/alternative; boundary="------------030201020902060407050907" This is a multi-part message in MIME format. --------------030201020902060407050907 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2014-06-23 15:03, Rik Kabel wrote: > When a wide-ish column precedes a character-aligned column and a > column span is in place, the table is set improperly. > > With the following example, the first two columns overlap. > > When the first column is moved to the right side of the table there is > no issue. > > When the setup line is removed, there is no issue. > > When the long entry in column is shortened, there is no issue. > > When the column span is removed and another cell added to that row, > there is no issue. > > The problem occurs when the span is applied to the first two or the > last two columns in the example. > > TL14 handles this correctly. It fails with the 20140622 beta. > > \starttext > \bTABLE > \setupTABLE[c][3][alignmentcharacter={.},aligncharacter=yes] > \bTABLEbody > \bTR > \bTC AAA\eTC > \bTC[nc=2] Location\eTC > \eTR > \bTR > \bTC AAA Longish entry\eTC > \bTC Figure\eTC > \bTC 1.12\eTC > \eTR > \bTR > \bTC AAA\eTC > \bTC Table\eTC > \bTC 10.8\eTC > \eTR > \eTABLEbody > \eTABLE > \stoptext > > -- > Rik Kabel Small correction. The statement When the first column is moved to the right side of the table there is no issue. is incorrect. The problem exists with the long entry in a column following the alignmentcharacter column as well. -- Rik --------------030201020902060407050907 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
On 2014-06-23 15:03, Rik Kabel wrote:
When a wide-ish column precedes a character-aligned column and a column span is in place, the table is set improperly.

With the following example, the first two columns overlap.

When the first column is moved to the right side of the table there is no issue.

When the setup line is removed, there is no issue.

When the long entry in column is shortened, there is no issue.

When the column span is removed and another cell added to that row, there is no issue.

The problem occurs when the span is applied to the first two or the last two columns in the example.

TL14 handles this correctly. It fails with the 20140622 beta.
\starttext
  \bTABLE
    \setupTABLE[c][3][alignmentcharacter={.},aligncharacter=yes]
    \bTABLEbody
      \bTR
        \bTC AAA\eTC
        \bTC[nc=2] Location\eTC
      \eTR
      \bTR
        \bTC AAA Longish entry\eTC
        \bTC Figure\eTC
        \bTC 1.12\eTC
      \eTR
      \bTR
        \bTC AAA\eTC
        \bTC Table\eTC
        \bTC 10.8\eTC
      \eTR
    \eTABLEbody
  \eTABLE
\stoptext
--
Rik Kabel
Small correction. The statement
When the first column is moved to the right side of the table there is no issue.
is incorrect. The problem exists with the long entry in a column following the alignmentcharacter column as well.

--
Rik
--------------030201020902060407050907-- --===============0131056766== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0131056766==--