From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70427 Path: news.gmane.org!not-for-mail From: Cecil Westerhof Newsgroups: gmane.comp.tex.context Subject: Re: Using the width of the page with start/stop tabulate Date: Wed, 3 Aug 2011 19:54:55 +0200 Message-ID: References: <873523F9-9709-4374-9A47-6BBDD69A960E@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2044759959==" X-Trace: dough.gmane.org 1312394112 31944 80.91.229.12 (3 Aug 2011 17:55:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 3 Aug 2011 17:55:12 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 03 19:55:05 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 1Qofeq-0002GP-KA for gctc-ntg-context-518@m.gmane.org; Wed, 03 Aug 2011 19:55:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1FD8BCAED0; Wed, 3 Aug 2011 19:55:04 +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 qC+m5N8TxJb6; Wed, 3 Aug 2011 19:55:00 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1D186CAEC1; Wed, 3 Aug 2011 19:55:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 07EACCAEC1 for ; Wed, 3 Aug 2011 19:54:59 +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 Co5ngQtKLz1l for ; Wed, 3 Aug 2011 19:54:57 +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 19BFECAEC0 for ; Wed, 3 Aug 2011 19:54:57 +0200 (CEST) Original-Received: from mail-ey0-f171.google.com (mail-ey0-f171.google.com [209.85.215.171]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p73HsumR025808 for ; Wed, 3 Aug 2011 19:54:56 +0200 Original-Received: by eyg24 with SMTP id 24so677756eyg.2 for ; Wed, 03 Aug 2011 10:54:56 -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=h2s8nvJl7dM2uod3NDxW8Fexk71kJNLnZ2BhMihk6Gw=; b=GBlDNtWWR9JypEN8RxFBOmD//rpUSONoWfqA3ZuUe8AZNRzQhQB4LDBHjlnISD53SV WMkBFvDooLcTwyTn2jAwTXbyABTVeGkv9JeDOKoMyjZwsnBKQJ0TjTgdP0BDYPqz4UXN N5N0otj+qOm6uY0WNPUgUnRKxMknvwsqMeqPU= Original-Received: by 10.14.127.193 with SMTP id d41mr1087eei.58.1312394096076; Wed, 03 Aug 2011 10:54:56 -0700 (PDT) Original-Received: by 10.14.45.68 with HTTP; Wed, 3 Aug 2011 10:54:55 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.215.171; 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: 0rFfRSUgK - 03e7bed7e14b - 20110803 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:70427 Archived-At: --===============2044759959== Content-Type: multipart/alternative; boundary=90e6ba5bb98fe6e8a204a99d8f52 --90e6ba5bb98fe6e8a204a99d8f52 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 2011/8/3 Wolfgang Schuster > > That is in this case a better solution. For one in my solution the tabl= e > became to wide. (Do not know why.) > > >> The combined width of the columns in your table had been \textwidth but >> there is also a space between the columns which makes the table wider th= an >> the normal text. >> > > Is it know how much spave this is? For another table I now use: > \starttable[|w(.10\textwidth)|p(.82\textwidth)|] > > This looks about right, but if there is a better way to do it =85 > > > Set only a width for the first column, the width of the =93p=94 column > is calculated by ConTeXt. > That does not work. The p column will become as long as the first column: \starttext \starttable[|w(.10\textwidth)|p(.82\textwidth)|] \HL \NC Field one \NC A quit long field to show what goes wrong \NC\AR \HL \stoptable \starttable[|w(.10\textwidth)|p|] \HL \NC Field one \NC A quit long field to show what goes wrong \NC\AR \HL \stoptable \stoptext --=20 Cecil Westerhof --90e6ba5bb98fe6e8a204a99d8f52 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
2011/8/3 Wolfgang Schuster <= ;schuster.wolfgang@goog= lemail.com>
> That is in this case a better solu= tion. For one in my solution the table became to wide. (Do not know why.)

The combined width of the columns in your table had been \textwidth b= ut there is also a space between the columns which makes the table wider th= an the normal text.

Is it know how much spave this= is? For another table I now use:
=A0 \starttable[|w(.10\textwidth)|p(.82\textwidth)|]

This looks abou= t right, but if there is a better way to do it =85

Set only a width for the first column, the w= idth of the =93p=94 column
is calculated by ConTeXt.

That does n= ot work. The p column will become as long as the first column:
\starttex= t

\starttable[|w(.10\textwidth)|p(.82\textwidth)|]
\HL
\NC Fie= ld one \NC A quit long field to show what goes wrong \NC\AR
\HL
\stoptable

\starttable[|w(.10\textwidth)|p|]
\HL
\NC Fi= eld one \NC A quit long field to show what goes wrong \NC\AR
\HL
\sto= ptable

\stoptext
=A0
--
Cecil Westerhof
--90e6ba5bb98fe6e8a204a99d8f52-- --===============2044759959== 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 ___________________________________________________________________________________ --===============2044759959==--