From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62156 Path: news.gmane.org!not-for-mail From: Peter =?utf-8?Q?M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: Problems with TABLE Date: Thu, 30 Sep 2010 15:43:08 +0200 Message-ID: <20100930134308.GA3819@gaston.couberia.bzh> References: <0A5FC5E8-E76D-4D94-BBD9-FE23EBA0DBDD@gundla.ch> 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: dough.gmane.org 1285854203 6528 80.91.229.12 (30 Sep 2010 13:43:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 30 Sep 2010 13:43:23 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 30 15:43:20 2010 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 1P1JPs-0000fY-Ae for gctc-ntg-context-518@m.gmane.org; Thu, 30 Sep 2010 15:43:20 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1FEC0CA78C; Thu, 30 Sep 2010 15:43:20 +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 6BqtNEhs2HyZ; Thu, 30 Sep 2010 15:43:17 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 594E3CA783; Thu, 30 Sep 2010 15:43:17 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E58C5CA783 for ; Thu, 30 Sep 2010 15:43:15 +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 kZSo6QvePhoj for ; Thu, 30 Sep 2010 15:43:13 +0200 (CEST) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id 1BC25CA782 for ; Thu, 30 Sep 2010 15:43:13 +0200 (CEST) Original-Received: from smtp2e.orange.fr (smtp2e.orange.fr [80.12.242.112]) by filter2-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8UDXNQt001998 for ; Thu, 30 Sep 2010 15:33:24 +0200 Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2e08.orange.fr (SMTP Server) with ESMTP id 4CEF48000310 for ; Thu, 30 Sep 2010 15:43:09 +0200 (CEST) Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2e08.orange.fr (SMTP Server) with ESMTP id 404FF8000449 for ; Thu, 30 Sep 2010 15:43:09 +0200 (CEST) Original-Received: from gaston.couberia.bzh (ARennes-551-1-135-244.w90-49.abo.wanadoo.fr [90.49.6.244]) by mwinf2e08.orange.fr (SMTP Server) with ESMTP id 19FF78000310 for ; Thu, 30 Sep 2010 15:43:09 +0200 (CEST) X-ME-UUID: 20100930134309106.19FF78000310@mwinf2e08.orange.fr Original-Received: by gaston.couberia.bzh (Postfix, from userid 1000) id 8E507306DA; Thu, 30 Sep 2010 15:43:08 +0200 (CEST) Mail-Followup-To: mailing list for ConTeXt users Content-Disposition: inline In-Reply-To: <0A5FC5E8-E76D-4D94-BBD9-FE23EBA0DBDD@gundla.ch> User-Agent: Mutt/1.5.20 (2009-06-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.12.242.112; country=FR; region=A8; city=Guyancourt; latitude=48.7667; longitude=2.0667; http://maps.google.com/maps?q=48.7667,2.0667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0aDd1xn01 - a7611be9f933 - 20100930 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 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:62156 Archived-At: On Thu, Sep 30 2010, Patrick Gundlach wrote: > > I still have some problems with TABLE: > > \bTABLE[frame=on] We need to know the values for rulethickness and offset, so let's define them: \bTABLE[frame=on, rulethickness=0.5pt, offset=0.1em] > \bTD[frame=off,rightframe=on,rulethickness=1mm] abc \eTD Now, it gets ugly: \bTD[frame=off,rightframe=on,rulethickness=1mm, offset=\dimexpr 0.1em + 0.5pt - 1mm \relax, roffset=0.1em] abc \eTD See also: http://tracker.luatex.org/view.php?id=427 > \bTD[nc=2,nr=2,background=color, backgroundcolor=yellow] > \externalfigure[cow][width=.2\textwidth] \eTD 2 options: - The cow gets smaller: \externalfigure[cow][width=\localhsize] (does not work, I don't know why...) - The table cells get bigger. You have to define the width. If you want to span the cow 50%/50%, then \setupTABLE[c][2,3][width=0.1\textwidth] I wonder, why there is no such problem with the height... ? Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___________________________________________________________________________________ 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 ___________________________________________________________________________________