From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/26282 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: table-caption: centred or not?? Date: Thu, 09 Mar 2006 09:42:14 +0100 Message-ID: <440FEA66.6080703@elvenkind.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1141893752 18941 80.91.229.2 (9 Mar 2006 08:42:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Mar 2006 08:42:32 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 09 09:42:26 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1FHGj2-0003Vc-F5 for gctc-ntg-context-518@m.gmane.org; Thu, 09 Mar 2006 09:42:25 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 740D6127AA; Thu, 9 Mar 2006 09:42:23 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01185-07; Thu, 9 Mar 2006 09:42:18 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3746E12778; Thu, 9 Mar 2006 09:42:18 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EA8B612778 for ; Thu, 9 Mar 2006 09:42:16 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02408-03 for ; Thu, 9 Mar 2006 09:42:15 +0100 (CET) Original-Received: from glenfiddich.elvenkind.com (elvenknd.xs4all.nl [213.84.171.68]) by ronja.ntg.nl (Postfix) with SMTP id D8D3512772 for ; Thu, 9 Mar 2006 09:42:15 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by glenfiddich.elvenkind.com (Postfix) with ESMTP id 7B5FB1B416 for ; Thu, 9 Mar 2006 09:42:15 +0100 (CET) Original-Received: from glenfiddich.elvenkind.com ([127.0.0.1]) by localhost (glenfiddich.elvenkind.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01811-02 for ; Thu, 9 Mar 2006 09:42:15 +0100 (CET) Original-Received: from [10.10.0.6] (glenlivet.elvenkind.com [10.10.0.6]) by glenfiddich.elvenkind.com (Postfix) with ESMTP id 3856C18236 for ; Thu, 9 Mar 2006 09:42:15 +0100 (CET) User-Agent: Mozilla Thunderbird 1.0.6-7.1.20060mdk (X11/20050322) X-Accept-Language: en-us, en Original-To: ntg-context@ntg.nl In-Reply-To: X-Virus-Scanned: by amavisd-new at elvenkind.net X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:26282 Archived-At: Hi Peter, I see no easy solution. ConTeXT does different things depending on whether or not the caption is wider than the table itself, and that code is creating the problem in the first 'not ok'. Greetings, Taco Peter M=FCnster wrote: > Hello, > how are the rules, that determine if the caption is centred? > Here my test-case, "ok" means: this is how I like it and "not ok" means, I > don't like it: > = > \setupcaptions[width=3D\makeupwidth] > \def\MyTable#1{\placetable{\dorecurse{#1}{bla }}{\starttable[|c|] > \NC This is a table.\NC\AR\stoptable}} > \starttext > \MyTable{2} % ok > \MyTable{10} % not ok > \MyTable{30} % ok > \setupcaptions[align=3Dmiddle] > \MyTable{2} % ok > \MyTable{10} % ok > \MyTable{30} % not ok > \stoptext > = > What should I do, to get 3 times "ok" ? > = > Cheers, Peter > =