From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72506 Path: news.gmane.org!not-for-mail From: Andreas Harder Newsgroups: gmane.comp.tex.context Subject: Re: Table cell colo(u)rs Date: Thu, 17 Nov 2011 14:05:01 +0100 Message-ID: References: <4EC3C6D7.3040305@bespokespaces.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1321535140 11769 80.91.229.12 (17 Nov 2011 13:05:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Nov 2011 13:05:40 +0000 (UTC) To: pavneet_arora@bespokespaces.com, mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 17 14:05:36 2011 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 1RR1eo-0003MI-NX for gctc-ntg-context-518@m.gmane.org; Thu, 17 Nov 2011 14:05:34 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 37005CB109; Thu, 17 Nov 2011 14:05:34 +0100 (CET) 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 DwxiXRRpa9et; Thu, 17 Nov 2011 14:05:19 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9586BCB10E; Thu, 17 Nov 2011 14:05:19 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0589DCB10E for ; Thu, 17 Nov 2011 14:05:19 +0100 (CET) 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 G1AUPI2vMiKd for ; Thu, 17 Nov 2011 14:05:04 +0100 (CET) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 436E7CB109 for ; Thu, 17 Nov 2011 14:05:04 +0100 (CET) Original-Received: from deliver.uni-koblenz.de (deliver.uni-koblenz.de [141.26.64.15]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pAHD53tD016186 for ; Thu, 17 Nov 2011 14:05:03 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 4CD5BD233D; Thu, 17 Nov 2011 14:05:03 +0100 (CET) X-Virus-Scanned: amavisd-new at uni-koblenz.de Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BYlslSwO0Yeh; Thu, 17 Nov 2011 14:05:02 +0100 (CET) X-CHKRCPT: Envelopesender noch aharder@uni-koblenz.de Original-Received: from [192.168.1.112] (91-67-184-190-dynip.superkabel.de [91.67.184.190]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id 84A02D2302; Thu, 17 Nov 2011 14:05:02 +0100 (CET) In-Reply-To: <4EC3C6D7.3040305@bespokespaces.com> X-Mailer: Apple Mail (2.1251.1) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.26.64.15; country=DE; region=08; city=Koblenz; latitude=50.3500; longitude=7.6000; http://maps.google.com/maps?q=50.3500,7.6000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0dFWd53Kh - f7a2e8f43073 - 20111117 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:72506 Archived-At: On 16.11.2011, at 15:21, Pavneet Arora wrote: > Hello, > = > I am trying to do a simple cell background shading in a table using the e= xample at the wiki: > = > http://wiki.contextgarden.net/Table > = > Unfortunately, I get an "Undefined control sequence ..." error: > = > ! Undefined control sequence. > = > system > tex > error on line 4 in file tmp.tex: Undefined contro= l sequence ... > = > 1 \setupcolors[state=3Dstart] > 2 \starttable[|l|l|] > 3 \HL > 4 >> \BL[1]\SR > 5 \NC Command \NC Meaning \NC\SR > 6 \HL > 7 \NC \tex{NC} \NC next column \NC\FR > 8 \NC \tex{NR} \NC next row \NC\LR > 9 \HL > 10 \CL[green]\SR > 11 \NC \tex{AR} \NC automatic row\NC\SR > 12 \HL > 13 \stoptable > 14 > = > \BL > = > l.4 \BL > [1]\SR > ? > = > Any suggestions? I think the using \start- \stoptable is not recommended (MkIV) any more. In= stead you can use \starttabulate[|l|l|] \CM[yellow] Command \NC Meaning \NC\NR\FL \NC \tex{NC} \NC next column \NC\NR \NC \tex{NR} \CM[green] next row \NC\NR \NC \tex{HL} \CM[blue] horizontal line \NC\NR\FL \stoptabulate Or as already suggested the \bTABLE =85 \eTABLE or the new xtable-environme= nt. Greeting Andreas ___________________________________________________________________________= ________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________