From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87812 Path: news.gmane.org!not-for-mail From: Rik Kabel Newsgroups: gmane.comp.tex.context Subject: Problem in natural tables with nc= and alignmentcharacter Date: Mon, 23 Jun 2014 15:03:16 -0400 Message-ID: <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="===============0965077471==" X-Trace: ger.gmane.org 1403550223 7989 80.91.229.3 (23 Jun 2014 19:03:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Jun 2014 19:03:43 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 23 21:03:38 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 1Wz9Wk-0001Z8-7o for gctc-ntg-context-518@m.gmane.org; Mon, 23 Jun 2014 21:03:38 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E089910245 for ; Mon, 23 Jun 2014 21:03:37 +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 dhG4fjYyn5do for ; Mon, 23 Jun 2014 21:03:37 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 5F08310226 for ; Mon, 23 Jun 2014 21:03:32 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0635B101E8 for ; Mon, 23 Jun 2014 21:03:29 +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 ocXEt4P6LyiS for ; Mon, 23 Jun 2014 21:03:26 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 7CB2D101E2 for ; Mon, 23 Jun 2014 21:03:26 +0200 (CEST) Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s5NJ3KNs011672 for ; Mon, 23 Jun 2014 21:03:20 +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 641292E98E for ; Mon, 23 Jun 2014 15:03:19 -0400 (EDT) User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 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: 03MhT3kp7 - 5c96ba02d578 - 20140623 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:87812 Archived-At: This is a multi-part message in MIME format. --===============0965077471== Content-Type: multipart/alternative; boundary="------------010305040008040008090501" This is a multi-part message in MIME format. --------------010305040008040008090501 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------010305040008040008090501 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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
--------------010305040008040008090501-- --===============0965077471== 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 ___________________________________________________________________________________ --===============0965077471==--