From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/88658 Path: news.gmane.org!not-for-mail From: Maggyero Newsgroups: gmane.comp.tex.context Subject: Two issues with character alignment Date: Thu, 4 Sep 2014 22:58:15 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0167048482==" X-Trace: ger.gmane.org 1409864320 22289 80.91.229.3 (4 Sep 2014 20:58:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Sep 2014 20:58:40 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 04 22:58:34 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 1XPe6z-0001xf-Em for gctc-ntg-context-518@m.gmane.org; Thu, 04 Sep 2014 22:58:33 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EE2D510223 for ; Thu, 4 Sep 2014 22:58:32 +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 opuyU+k4OADH for ; Thu, 4 Sep 2014 22:58:32 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id B960D10226 for ; Thu, 4 Sep 2014 22:58:25 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A0617101E3 for ; Thu, 4 Sep 2014 22:58:20 +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 VCJkoj2ExHoC for ; Thu, 4 Sep 2014 22:58:17 +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 3FB00101E1 for ; Thu, 4 Sep 2014 22:58:17 +0200 (CEST) Original-Received: from mail-lb0-x233.google.com (mail-lb0-x233.google.com [IPv6:2a00:1450:4010:c04::233]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s84KwF6c008515 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Thu, 4 Sep 2014 22:58:15 +0200 Original-Received: by mail-lb0-f179.google.com with SMTP id z11so1915194lbi.24 for ; Thu, 04 Sep 2014 13:58:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Z+MK4C9+UGfolf75P07EQJThfTIh2JkWpWVgZbL64xk=; b=KG/rfT8IQUVrDOBx0gxVSV9HnH8Bb9C4lyk4OBZ3VdESQFttqaUj+b/OSYV4sNq725 P5qbmrcdhSn1P0YuAMq6eSnyt+oKpCPQEsBiPzSdoZ8IellDKkduZrkGwRJPv7FSQrY/ zA0camPnOTVT5CKnlfC4OeOWAYLLdb3pZRsfauqwzrDNLkFWe2PMnRLw8VGYizVZ48N5 liOSS/Xn46ZBrdWJP2NufYJ7KXwIA09P+2MeZktzSUdD8MMEkX/1Kt/b0DTbAmIlskLv nMw9EdMbrmeLL0h8Ler67rdG3Wc7bzz3vTfs6HW4DsrE1Bmpr4ICXrtERCCQLuo+ZqgD ZLGw== X-Received: by 10.112.11.170 with SMTP id r10mr6936792lbb.14.1409864295727; Thu, 04 Sep 2014 13:58:15 -0700 (PDT) Original-Received: by 10.25.170.70 with HTTP; Thu, 4 Sep 2014 13:58:15 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:4010:c04::233; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03ML8Wf7S - 5ab6ae5e24b6 - 20140904 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:88658 Archived-At: --===============0167048482== Content-Type: multipart/alternative; boundary=001a11c3be5e87473b0502439cbc --001a11c3be5e87473b0502439cbc Content-Type: text/plain; charset=UTF-8 I have found two issues with character alignment (see the following minimal example): one when \\ is used in a cell instead of \crlf, another one when \high or \low are used in a cell. Is it a bug? \starttext \setupTABLE[% aligncharacter=yes, alignmentcharacter=., align=middle] \subject{Reference} \startTABLE \NC Foo\crlf bar \NC \NR \NC 1.1 \NC \NR \NC 11.1 \NC \NR \stopTABLE \subject{Double backslash issue} \startTABLE \NC Foo\\bar \NC \NR \NC 1.1 \NC \NR \NC 11.1 \NC \NR \stopTABLE \subject{Sub/superscript issue} \startTABLE \NC Foo\high{bar} \NC \NR \NC 1.1 \NC \NR \NC 11.1 \NC \NR \stopTABLE \startTABLE \NC Foo\low{bar} \NC \NR \NC 1.1 \NC \NR \NC 11.1 \NC \NR \stopTABLE \stoptext --001a11c3be5e87473b0502439cbc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I have found two issues with character alignment (see= the following minimal example): one when \\ is used in a cell instead of \= crlf, another one when \high or \low are used in a cell. Is it a bug?


\starttext

\set= upTABLE[%
=C2=A0 =C2=A0 aligncharacter=3Dyes,
=C2=A0 = =C2=A0 alignmentcharacter=3D.,
=C2=A0 =C2=A0 align=3Dmiddle]

\subject{Reference}

\startTABLE
=C2=A0 =C2=A0 \NC Foo\crlf bar = =C2=A0 =C2=A0\NC \NR
=C2=A0 =C2=A0 \NC 1.1 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 \NC \NR
=C2=A0 =C2=A0 \NC 11.1 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0\NC \NR
\stopTABLE

\subject{Double backslash issue}

\startTABLE
=C2=A0 =C2=A0 \NC Foo\\bar =C2=A0= =C2=A0 =C2=A0 =C2=A0\NC \NR
=C2=A0 =C2=A0 \NC 1.1 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 \NC \NR
=C2=A0 =C2=A0 \NC 11.1 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\NC \NR
\stopTABLE
<= br>
\subject{Sub/superscript issue}

\startTABLE
=C2=A0 =C2=A0 \NC Foo\high{bar} = =C2=A0 \NC \NR
=C2=A0 =C2=A0 \NC 1.1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 \NC \NR
=C2=A0 =C2=A0 \NC 11.1 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0\NC \NR
\stopTABLE

= \startTABLE
=C2=A0 =C2=A0 \NC Foo\low{bar} =C2=A0 =C2=A0\NC \NR
=C2=A0 = =C2=A0 \NC 1.1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \NC \NR
= =C2=A0 =C2=A0 \NC 11.1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\NC \NR
\stopTABLE

\stoptext
--001a11c3be5e87473b0502439cbc-- --===============0167048482== 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 ___________________________________________________________________________________ --===============0167048482==--