From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84382 Path: news.gmane.org!not-for-mail From: Xan Newsgroups: gmane.comp.tex.context Subject: Re: Alignment table with comma, and long long space after Date: Sun, 22 Sep 2013 19:13:37 +0200 Message-ID: <20130922191337.72b7498e092edc7aa32226a9@telefonica.net> References: <20130921162217.dc08bf3ffc0e1474e8707d28@telefonica.net> <3230401D-D3BB-43EC-BA4C-B98C34705F8C@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1379870252 501 80.91.229.3 (22 Sep 2013 17:17:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Sep 2013 17:17:32 +0000 (UTC) Cc: mailing list for ConTeXt users To: Wolfgang Schuster Original-X-From: ntg-context-bounces@ntg.nl Sun Sep 22 19:17:36 2013 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 1VNnHr-0002f6-8V for gctc-ntg-context-518@m.gmane.org; Sun, 22 Sep 2013 19:17:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 90827101EE; Sun, 22 Sep 2013 19:15:31 +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 2zDeamW29iR9; Sun, 22 Sep 2013 19:15:28 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 54D45101E5; Sun, 22 Sep 2013 19:15:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 671FC101E5 for ; Sun, 22 Sep 2013 19:15: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 lff0+059pu2g for ; Sun, 22 Sep 2013 19:15:26 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 56AC110193 for ; Sun, 22 Sep 2013 19:15:25 +0200 (CEST) Original-Received: from smtp.movistar.es (smtp10.acens.net [86.109.99.134]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r8MHHRsr008976 for ; Sun, 22 Sep 2013 19:17:27 +0200 X-CTCH-RefID: str=0001.0A0B0203.523F2626.0016, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-Junkmail-Premium-Raw: score=8/90, refid=2.7.2:2013.9.22.142715:17:8.317, ip=, rules=__HAS_FROM, FROM_NAME_ONE_WORD, __TO_MALFORMED_2, __BOUNCE_CHALLENGE_SUBJ, __BOUNCE_NDR_SUBJ_EXEMPT, __SUBJ_ALPHA_END, __HAS_MSGID, __SANE_MSGID, __IN_REP_TO, __HAS_X_MAILER, __MIME_VERSION, __CT, __CT_TEXT_PLAIN, __CTE, __UNUSABLE_MSGID, MIME_LOWER_CASE, __ANY_URI, __FRAUD_BODY_WEBMAIL, __URI_NO_WWW, __CP_URI_IN_BODY, __SUBJ_ALPHA_NEGATE, __FORWARDED_MSG, BODYTEXTP_SIZE_3000_LESS, BODY_SIZE_2000_2999, __MIME_TEXT_ONLY, __URI_NS, HTML_00_01, HTML_00_10, BODY_SIZE_5000_LESS, __FRAUD_WEBMAIL, BODY_SIZE_7000_LESS X-CTCH-Spam: Unknown Original-Received: from rulot (80.30.57.84) by smtp.movistar.es (8.6.111.04) (authenticated as dxpublica) id 523F046500013C02; Sun, 22 Sep 2013 17:17:26 +0000 In-Reply-To: <3230401D-D3BB-43EC-BA4C-B98C34705F8C@gmail.com> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.20; i686-pc-linux-gnu) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=86.109.99.134; country=ES; latitude=40.0000; longitude=-4.0000; http://maps.google.com/maps?q=40.0000,-4.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NKshhrnl - ba7538584275 - 20130922 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:84382 Archived-At: It does not work with that: %%% Per a qu=E8 les taules se me puguin alinear amb les comes \chardef\characteralignmentmode=3D2 \chardef\characteralignmentmode\plustwo %%% http://randomdeterminism.wordpress.com/2012/11/18/separation-of-content= -and-presentation-for-tables-part-1/ \startsetups table:style \setupTABLE[row][first][background=3Dcolor, backgroundcolor=3Dtablecolor,= color=3Dblack, align=3D{middle,lohi},style=3Dss] \setupTABLE[column][1][align=3D{right,lohi}] \setupTABLE[column][2][align=3D{left,lohi},alignmentcharacter=3D{,},align= character=3Dyes] % \setupTABLE[column][2][width=3D.20\textwidth] \setupTABLE[loffset=3D1mm,roffset=3D1mm] \setupTABLE[frame=3Doff] \setupTABLE[topframe=3Don,bottomframe=3Don] \setupTABLE[column][first][leftframe=3Don] \setupTABLE[column][last][rightframe=3Don] \stopsetups What can I do? Xan. On Sat, 21 Sep 2013 18:55:51 +0200 Wolfgang Schuster ha escrit: > = > Am 21.09.2013 um 16:22 schrieb Xan : > = > > Hi, > > = > > I have this > > = > > \startsetups table:style > > \setupTABLE[row][first][background=3Dcolor, backgroundcolor=3Dtablecol= or, color=3Dblack, align=3D{middle,lohi},style=3Dss] > > \setupTABLE[column][1][align=3D{right,lohi}] > > \setupTABLE[column][2][align=3D{left,lohi},alignmentcharacter=3D{,},al= igncharacter=3Dyes] > > % \setupTABLE[column][2][width=3D.20\textwidth] > > \setupTABLE[loffset=3D1mm,roffset=3D1mm] > > \setupTABLE[frame=3Doff] > > \setupTABLE[topframe=3Don,bottomframe=3Don] > > \setupTABLE[column][first][leftframe=3Don] > > \setupTABLE[column][last][rightframe=3Don] > > \stopsetups > > = > > \placefigure[here]{Diverses mesures}{ > > \bTABLE[setups=3D{table:header, table:frame, table:style}] > > \bTABLEhead > > \bTR \bTD Esdeveniment \eTD \bTD Mesura (m) \eTD \eTR > > \eTABLEhead > > \bTABLEbody > > \bTR \bTD Dist=E0ncia mitjana Terra-Lluna \eTD \bTD 150.000.000.000 \eT= D \eTR > > \bTR \bTD Di=E0metre mitj=E0 terrestre \eTD \bTD 12 800.000 \eTD \eTR > > \bTR \bTD Dist=E0ncia Palma-Alc=FAdia \eTD \bTD 75.000 \eTD \eTR > > \bTR \bTD Di=E0metre mitj=E0 de J=FApiter \eTD \bTD 140.000.000 \eTD \e= TR > > \bTR \bTD L'altura d'una persona \eTD \bTD 1,75 \eTD \eTR > > \bTR \bTD La dist=E0ncia mitjana entre el Sol i Alfa-Centauri \eTD \bTD= 40.790.494.000.000.000 \eTD \eTR > > \eTABLEbody > > \eTABLE} > > = > > = > > but ConTeXt produces a lot of space after 1,75. > > = > > How can I do for second column fits the content? > = > Add the following line to your setups for the table. > = > \chardef\characteralignmentmode\plustwo > = > Wolfgang > = > = ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________