From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/35592 Path: news.gmane.org!not-for-mail From: Giuseppe Bilotta Newsgroups: gmane.comp.tex.context Subject: Re: Framing a linetable? Date: Sat, 28 Jul 2007 13:44:52 +0200 Message-ID: <190826408.20070728134452@iol.it> References: <196166275.20070724100054@iol.it> <46A5D673.7030103@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1185623095 18141 80.91.229.12 (28 Jul 2007 11:44:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 28 Jul 2007 11:44:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jul 28 13:44:45 2007 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 1IEkiy-0006e0-8w for gctc-ntg-context-518@m.gmane.org; Sat, 28 Jul 2007 13:44:44 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BAEE71FD60; Sat, 28 Jul 2007 13:44:42 +0200 (CEST) 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 11027-01; Sat, 28 Jul 2007 13:44:33 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 64F301FD59; Sat, 28 Jul 2007 13:44:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3FDC01FD59 for ; Sat, 28 Jul 2007 13:44:31 +0200 (CEST) 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 11019-02-2 for ; Sat, 28 Jul 2007 13:44:28 +0200 (CEST) Original-Received: from jack.tiscali.it (jack.tiscali.it [213.205.33.53]) by ronja.ntg.nl (Postfix) with ESMTP id 6A34B1FD24 for ; Sat, 28 Jul 2007 13:44:28 +0200 (CEST) Original-Received: from [192.168.0.3] (62.10.76.119) by jack.tiscali.it (7.3.122) id 46A8A7D100041204 for ntg-context@ntg.nl; Sat, 28 Jul 2007 13:44:27 +0200 X-Mailer: The Bat! (v3.5.25) Professional X-Priority: 3 (Normal) In-Reply-To: <46A5D673.7030103@wxs.nl> 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:35592 Archived-At: Tuesday, July 24, 2007 Hans Hagen wrote: > Giuseppe Bilotta wrote: >> Hello all, >> = >> is it possible to put a frame around a linetable? > you mean the whole table? > probably a matter of hooks; linetables work page-wise which may > complicate things a bit so it has to be applied piecewise I've been experimenting with this a little. Putting the whole linetable inside a frame doesn't work because of the \nointerlinelineskip in \ifdim\topskipgap=3D\zeropoint\else=B6 \verticalstrut\nobreak\kern-\struttotal\kern-\parskip\nobreak\nointerline= skip % fix topskip=B6 \fi=B6 in \flushlinetableparts -- if I comment out this section of the code, the table gets placed, but the frame is somewhat short. This is in fact a bug in linetables which I noticed before, even though it didn't affect me until recently: if the last line in a table is a \vtop (\linetablemode is 0) with more than one line of text, the flattening of its depth in \flushlinetableparts \dp\tablebox\linetablepart\strutdepth causes the text after the table to appear *in* the table itself. So I commented out the depth smashing, and the frame now has the correct size. There is one more thing missing, though, and it's the fact that the table is typeset halfway to the right of the frame, as if a large indentation was placed before each line. If I manage to squeeze out this last bug, I can frame the table automatically which will be a great advantage for me. -- = Giuseppe "Oblomov" Bilotta ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________