From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63428 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: table background color in first row Date: Thu, 11 Nov 2010 20:58:24 +0100 Message-ID: <501D7DAE-90D7-4D42-B554-DD6C6A915DEF@gmail.com> References: <20101111194414.38552cb1@arcor.com> <113D46C8-CCB0-4295-9420-32927C72F0EE@gmail.com> <20101111204055.275acdf5@arcor.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1289505578 7841 80.91.229.12 (11 Nov 2010 19:59:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 11 Nov 2010 19:59:38 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 11 20:59:34 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 1PGdIx-0000z1-Hc for gctc-ntg-context-518@m.gmane.org; Thu, 11 Nov 2010 20:59:31 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 14786CA883; Thu, 11 Nov 2010 20:59:27 +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 104nxX4i4LN8; Thu, 11 Nov 2010 20:59:24 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F03B9CA875; Thu, 11 Nov 2010 20:59:23 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D0147CA875 for ; Thu, 11 Nov 2010 20:59:22 +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 hI1J+veTwBLm for ; Thu, 11 Nov 2010 20:59:20 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 8AC09CA86E for ; Thu, 11 Nov 2010 20:59:20 +0100 (CET) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oABJxJJc018502 for ; Thu, 11 Nov 2010 20:59:20 +0100 Original-Received: by bwz16 with SMTP id 16so2458963bwz.14 for ; Thu, 11 Nov 2010 11:59:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=qBtisdD/bshavdtHa5gTGJy84rPDmsupAqdrkoj3kv8=; b=qW75HJwaKDEsviUbj6CLys60TpN6OLVGyFDhagVMhgNy6lfg/PHGtNFW8RD3XipOT7 AgWYGpBk93VJt4XPPmiUcP0OylDpCV9zU26NE6CZxD7x2lC48ig/nAN/dVb4ET5RFjx6 xw3MOElQC1fj7XDh9+564vki/wncUDzNWgwH0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=S3zvaF5XOQt735vUkQaABNDcqpKLqeu1wJ1iN1q9+eyC2opIlqhGfIIEsURte3jAFL SJNUEEE8YcCK6KhDM1eY8msrGXkV8jK2HRVDUzIqNEWzu4dfLfbWuBhcpnZxpIx2DLZx GbAw0OhncXDhGt6CwLbbSrrfs2P4sYniSu2W8= Original-Received: by 10.204.84.76 with SMTP id i12mr1878413bkl.72.1289505559606; Thu, 11 Nov 2010 11:59:19 -0800 (PST) Original-Received: from [192.168.2.23] (p5B29403D.dip.t-dialin.net [91.41.64.61]) by mx.google.com with ESMTPS id v1sm1147835bkt.17.2010.11.11.11.59.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 11 Nov 2010 11:59:18 -0800 (PST) In-Reply-To: <20101111204055.275acdf5@arcor.com> X-Mailer: Apple Mail (2.1082) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03DtTXkLp - 353ceaa92d98 - 20101111 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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:63428 Archived-At: Am 11.11.2010 um 20:40 schrieb Manfred Lotz: > Thanks for your example which works fine but raises some more questions: > = > 1. Your example creates borders around each cell which I don't want to > have. Any way to get rid of them? You can disable the border rules with =84frame=3Doff=93. > 2. It seems to me that \setupTABLE creates a shading for the header for = > all tables in a document?! That is ok. = > = > However, I'd like to know what would be the variant to have it only for > a single table? \startsetups table:mystyle \setupTABLE [frame=3Doff] \setupTABLE[row][first][style=3Dbold,background=3Dcolor,backgroundcolor= =3Dgray] \stopsetups \bTABLE[setups=3Dtable:mystyle] \bTR \bTD Colheader 1 \eTD \bTD Colheader 2 \eTD \eTR \bTR \bTD cell 11 \eTD \bTD cell 11 \eTD \eTR \bTR \bTD cell 11 \eTD \bTD cell 11 \eTD \eTR \eTABLE or \bTABLE[frame=3Doff] \bTR[background=3Dcolor,backgroundcolor=3Dgray] \bTH Colheader 1 \eTH \bTH Colheader 2 \eTH \eTR \bTR \bTD cell 11 \eTD \bTD cell 11 \eTD \eTR \bTR \bTD cell 11 \eTD \bTD cell 11 \eTD \eTR \eTABLE > 3. How does this \bTABLE stuff compare to the \starttable stuff? Are > these just different methods to create tables which are both in use > these days in context or is one method to be preferred over the other? = Both are different method to write a table, \starttable/\stoptable is older than \bTABLE/\eTABLE which use \framed for each table cell and allows more fancy layouts but is slower than \starttable. Wolfgang ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________