From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/19994 Path: news.gmane.org!not-for-mail From: Michael Fuchs Newsgroups: gmane.comp.tex.context Subject: Strange behaviour of width parameter in \setuplayout (Was: Floating table caption extends textwidth) Date: Tue, 19 Apr 2005 23:50:33 +0100 Message-ID: <42658B39.408@hiskp.uni-bonn.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1113951034 25105 80.91.229.2 (19 Apr 2005 22:50:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 19 Apr 2005 22:50:34 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 20 00:50:32 2005 Return-path: 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 1DO1Xn-000874-Cv for gctc-ntg-context-518@m.gmane.org; Wed, 20 Apr 2005 00:50:11 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0B6881276C; Wed, 20 Apr 2005 00:54:25 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09244-02; Wed, 20 Apr 2005 00:54:24 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BAFEB127BF; Wed, 20 Apr 2005 00:50:36 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5BF83127BF for ; Wed, 20 Apr 2005 00:50:35 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08952-04-3 for ; Wed, 20 Apr 2005 00:50:34 +0200 (CEST) Original-Received: from sunkist.iskp.uni-bonn.de (sunkist.iskp.uni-bonn.de [131.220.221.221]) by ronja.ntg.nl (Postfix) with ESMTP id 920B61276C for ; Wed, 20 Apr 2005 00:50:34 +0200 (CEST) Original-Received: from [172.18.0.5] (unknown [172.18.0.5]) by sunkist.iskp.uni-bonn.de (Postfix on SuSE Linux 7.2 (i386)) with ESMTP id 15B035DCC6 for ; Wed, 20 Apr 2005 00:50:34 +0200 (CEST) User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: de-DE, de, en-us, en Original-To: ntg-context@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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: by amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:19994 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:19994 Hi! I have problems creating a "multi-line" caption for a floating table. If the caption is too long it will extend the defined text width. The following example shows this problem. I was able to find out, that this problem only appears if the variables "width" in the "setuplayout" command was used to define the textwidth. If you comment the line containing the "width" parameter (see comment in example) the caption will not extend the table. Regards Michael Example: -------------- \setuppapersize[A4][A4] \setuplayout[ backspace=25mm, cutspace=25mm, width=16cm, % <-- COMMENT THIS TO SEE THE EXAMPLE WORK footer=10mm, footerdistance=5mm, bottom=5mm] \starttext \placetable[here][tab:Referenz] { \input tufte } { \setupTABLE[x][1][width=4cm, align=middle] \setupTABLE[x][2,3,4,5][width=3cm, align=middle] \bTABLE \bTR \bTH Anzahl \eTH \bTH Daten \eTH \bTH MC \eTH \bTH Daten \eTH \bTH MC \eTH \eTR \eTABLE } \stoptext