From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/22173 Path: news.gmane.org!not-for-mail From: "luigi.scarso" Newsgroups: gmane.comp.tex.context Subject: Re: [Fwd: ConTEXt Newbie: Column/table background color - which table model/command?] Date: Mon, 29 Aug 2005 09:23:23 +0200 Message-ID: <4312B7EB.9050802@logosrl.it> References: <431180A7.9080409@elvenkind.com> 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; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1125300417 8275 80.91.229.2 (29 Aug 2005 07:26:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 29 Aug 2005 07:26:57 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Aug 29 09:26:54 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 1E9e1e-0001Iu-3m for gctc-ntg-context-518@m.gmane.org; Mon, 29 Aug 2005 09:25:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B14A2127B9; Mon, 29 Aug 2005 09:25:49 +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 16310-05; Mon, 29 Aug 2005 09:25:49 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D9F661279F; Mon, 29 Aug 2005 09:23:51 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 992731279F for ; Mon, 29 Aug 2005 09:23:50 +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 16310-04 for ; Mon, 29 Aug 2005 09:23:49 +0200 (CEST) Original-Received: from ServerNotes.logosrl.it (81-208-99-91.ip.fastwebnet.it [81.208.99.91]) by ronja.ntg.nl (Postfix) with ESMTP id ABE7512791 for ; Mon, 29 Aug 2005 09:23:45 +0200 (CEST) Original-Received: from [192.168.2.85] ([192.168.2.85]) by ServerNotes.logosrl.it (Lotus Domino Release 6.5.1) with ESMTP id 2005082909234621-70 ; Mon, 29 Aug 2005 09:23:46 +0200 User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <431180A7.9080409@elvenkind.com> X-MIMETrack: Itemize by SMTP Server on ServerNotes/Logo(Release 6.5.1|January 21, 2004) at 29/08/2005 09.23.46, Serialize by Router on ServerNotes/Logo(Release 6.5.1|January 21, 2004) at 29/08/2005 09.23.51, Serialize complete at 29/08/2005 09.23.51 X-Virus-Scanned: 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:22173 Archived-At: Taco Hoekwater wrote: > > Hi all, > > Forwarding this from c.t.t. It looks like perhaps the OP's code > is correct and something in ConTeXt is wrong (at least I cannot > find anything wrong with the example code, even with > \setupcolors[state=start], I get no background color). > Perhaps somebody who has actually used table backgrounds can > help? > I hope this can help; see chapter "Color and background" in cont-eni.pdf %------------------ \setupcolors[state=start] %% useful: default=stop \setupbackground[state=start] %% useless: default=start \starttext \placetable {Just a table.} %% from cont-eni.pdf :``The command \background expects %% an argument. Because a table is `grouped' it will generate %% by itself and no extra braces are necessary.`` \background \starttable[|c|c|c|] \HL \VL red \VL green \VL blue \VL \AR \VL cyan \VL magenta \VL yellow \VL \AR \HL \stoptable \stoptext %--------------------------- luigi