From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70684 Path: news.gmane.org!not-for-mail From: Cecil Westerhof Newsgroups: gmane.comp.tex.context Subject: Re: Why is the \crlf needed to display the table correctly Date: Mon, 15 Aug 2011 22:31:44 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0872899367==" X-Trace: dough.gmane.org 1313440330 28412 80.91.229.12 (15 Aug 2011 20:32:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 15 Aug 2011 20:32:10 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Aug 15 22:32:06 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qt3pO-0000VX-J0 for gctc-ntg-context-518@m.gmane.org; Mon, 15 Aug 2011 22:32:06 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D82C1CAEE4; Mon, 15 Aug 2011 22:32:05 +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 gVhN086DoVEs; Mon, 15 Aug 2011 22:31:59 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 72F9DCAEDB; Mon, 15 Aug 2011 22:31:59 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C94CCCAEDB for ; Mon, 15 Aug 2011 22:31:57 +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 BXd9+eb6aNJe for ; Mon, 15 Aug 2011 22:31:46 +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 D0BBCCAED7 for ; Mon, 15 Aug 2011 22:31:46 +0200 (CEST) Original-Received: from mail-vw0-f41.google.com (mail-vw0-f41.google.com [209.85.212.41]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p7FKVjvs026179 for ; Mon, 15 Aug 2011 22:31:46 +0200 Original-Received: by vwm42 with SMTP id 42so5854899vwm.14 for ; Mon, 15 Aug 2011 13:31:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=qoVZ2BkJFWyFgwNiFv1Np3D5gPfKyZkznmfwGqVrrNI=; b=We9PvbqROaH6wEMW62BL+1/5i60DJImIbbdJmVLq0js3Sa0yuVkP1CwLriPqQ2s7Mx d+4qYF8EBTE7qkCHY4XBiYaHrSOkE+s116MLVJG73jCx3DH75ga8DYYcpjUVl5GIZNR4 0P+twhd3xn2zfckwzJIOEfcc/0+OWgge49frU= Original-Received: by 10.52.110.231 with SMTP id id7mr3937910vdb.448.1313440304932; Mon, 15 Aug 2011 13:31:44 -0700 (PDT) Original-Received: by 10.52.165.33 with HTTP; Mon, 15 Aug 2011 13:31:44 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.212.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rFkIvJPL - 23ff00368215 - 20110815 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:70684 Archived-At: --===============0872899367== Content-Type: multipart/alternative; boundary=bcaec548a30bcf292c04aa9126fa --bcaec548a30bcf292c04aa9126fa Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 2011/8/15 Wolfgang Schuster > > On of the things I need to do for the manual about ConTeXt is a list of > the most frequently used commands. I am using some macros to display them > correctly in a table. Attached a strange effect I got. The second row is > displayed wrongly. The third is the same row, but with a \crlf added. Thi= s > displays correctly. But I am wondering why it is needed. > > Use =93align=3Dright=94 for the first column. > I changed: \setupTABLE[c][1][width=3D.35\textwidth] into: \setupTABLE[c][1][align=3Dright, width=3D.35\textwidth] But it does not change anything. (It is the right place I think, because when using left, or center the formatting changes. But not in a way that is satisfactory. With center the text stays in the box, but not with left and right.) Also it overrides the: \setupTABLE[r][1][align=3Dcenter, style=3Dbold] (The align, not the style.) --=20 Cecil Westerhof --bcaec548a30bcf292c04aa9126fa Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
2011/8/15 Wolfgang Schuster &l= t;schuster.wolfgang@goo= glemail.com>
> On of the things I need to do for the manual about ConTeXt is a list o= f the most frequently used commands. I am using some macros to display them= correctly in a table. Attached a strange effect I got. The second row is d= isplayed wrongly. The third is the same row, but with a \crlf added. This d= isplays correctly. But I am wondering why it is needed.

Use =93align=3Dright=94 for the first column.
I changed:
=A0 =A0 \setupTABLE[c][1][width=3D.35\textwidth]

into= :

=A0 =A0 \setupTABLE[c][1][align=3Dright, width=3D.35\textwidth]


But it does not change anything. (It is the right plac= e I think, because when using left, or center the formatting changes. But n= ot in a way that is satisfactory. With center the text stays in the box, bu= t not with left and right.)


Also it overrides the:

=A0 =A0 \setupTABLE[r][1][align=3Dcenter, style=3Dbold]

= (The align, not the style.)


--
Cecil Westerhof
--bcaec548a30bcf292c04aa9126fa-- --===============0872899367== 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 ___________________________________________________________________________________ --===============0872899367==--