From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/38728 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: Re: Bug: Messy results when using "table" in head and multi-page "tables" in text Date: Mon, 21 Jan 2008 12:26:24 +0100 Message-ID: <47948160.8060103@gmx.net> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1200915084 10062 80.91.229.12 (21 Jan 2008 11:31:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Jan 2008 11:31:24 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 21 12:31:43 2008 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 lo.gmane.org with esmtp (Exim 4.50) id 1JGusQ-0006n2-AF for gctc-ntg-context-518@m.gmane.org; Mon, 21 Jan 2008 12:31:42 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BC9AC1FC09; Mon, 21 Jan 2008 12:31:13 +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 25697-04; Mon, 21 Jan 2008 12:31:11 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5E0B91FC61; Mon, 21 Jan 2008 12:27:30 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8FC7D1FC61 for ; Mon, 21 Jan 2008 12:27:19 +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 28405-01-2 for ; Mon, 21 Jan 2008 12:26:37 +0100 (CET) Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by ronja.ntg.nl (Postfix) with SMTP id 529CB1FC6F for ; Mon, 21 Jan 2008 12:26:34 +0100 (CET) Original-Received: (qmail invoked by alias); 21 Jan 2008 11:26:25 -0000 Original-Received: from i5387C418.versanet.de (EHLO [192.168.1.3]) [83.135.196.24] by mail.gmx.net (mp008) with SMTP; 21 Jan 2008 12:26:25 +0100 X-Authenticated: #24293357 X-Provags-ID: V01U2FsdGVkX19j7ss6dN1j/teY4IJf4IO3EH4NdGy/dZnW4R3qCy BEbUv4lvL10pXL User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: X-Enigmail-Version: 0.95.6 X-Y-GMX-Trusted: 0 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:38728 Archived-At: Hi Carsten, I'm not quite sure if this is a help (was just playing around with it while watching snooker). I had to clear|redefine the table head|tail in the page head (or is this intended?). There are still some unwanted vertical offsets above|below the page head. If you use a hbox instead of a vbox for the page head you will see the difference on the last page. So this space is introduced by the splitted table somehow. Don't ask me for details ;) Best wishes, Peter Carsten Fechtmann schrieb: > Dear ConTeXt experts, > > I have setup a page layout where I use "table" in the page-head for > formatting quite a bit of stuff. (The example below is just a simple > as can be basic idea, to show the overall effect) > Now - as I can't prevent later users of this layout environment - to > not use \starttables ... \stoptables I naturally would like for this > to work in the text region as well. > This works fine and as advertised (well mostly, see below) as long as > the table does not spill over to the next page. In which case, things > start to look very messy, indeed. > > From my (simple) point of view it looks like ConTeXt gets confused > about which format to use for which table and tries to do them all at > the same place or something. > > Any chance to get this fixed ? > > Thanks in advance > Carsten > > P.S.: There is an additional bug (also concerning the single page > version and not related to having a "table" in the pagehead), which > puts in an extra (empty) gap in between the end of the tablebody and > the tablefoot when the tablefoot starts with \HL (and there is no \HL > at the end of tablebody). > Things work when putting the \HL at the end of the tablebody, but then > no \HL will be put on top of the foot for any intermediate pages of > the table, which is certainly not what one would usually want in this > case. > > > Anyway, here a simple version of this to demonstrate the effect(s) > > \setuppagenumbering[location=] > \setupheadertexts[\setups{pagehead}][][\setups{pagehead}][] > \startsetups[pagehead] > \SetTableToWidth{\makeupwidth} > \starttable[|p(40mm)|p(60mm)|p(40mm)|] > \HL > \VL \leftaligned{left} \VL \midaligned{middle} \VL > \rightaligned{right} \VL\SR > \HL > \stoptable > \stopsetups > > \starttext > > \start > \SetTableToWidth{\makeupwidth} > \setuptables[split=repeat] > \starttablehead > \HL > \VL Head \VL\SR > \HL > \stoptablehead > \starttabletail > \HL % This results in an additional bug, > % i.e. an extra / unwanted gap > \VL Foot \VL\SR > \HL > \stoptabletail > \starttables[|p(.95\textwidth)|] > \VL \input knuth \VL\FR > %\dorecurse{1}{\VL \input tufte \VL\MR} > \dorecurse{10}{\VL \input tufte \VL\MR} > \VL \input knuth \VL\LR > % \HL % putting \HL here does not introduce > % that unwanted gap ...?!? > \stoptables > \stop > > \stoptext > > ___________________________________________________________________________________ > 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 : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ > ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________