From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67704 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: two problems with natural tables Date: Mon, 11 Apr 2011 09:18:55 +0200 Message-ID: <37486D4D-BE69-4D01-B807-17A5535C71E7@googlemail.com> References: <16614D98-D85B-4AE1-B4F3-4B7FA049B0C6@awi.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1302506385 4307 80.91.229.12 (11 Apr 2011 07:19:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 11 Apr 2011 07:19:45 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Apr 11 09:19:41 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 1Q9BPR-0005Yq-0e for gctc-ntg-context-518@m.gmane.org; Mon, 11 Apr 2011 09:19:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5DAAFCABB8; Mon, 11 Apr 2011 09:19:40 +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 1rYQGp2dJ-17; Mon, 11 Apr 2011 09:19:36 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6C2BECABAF; Mon, 11 Apr 2011 09:19:36 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 09441CABAF for ; Mon, 11 Apr 2011 09:19:35 +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 9lhE+KZ2Uh1y for ; Mon, 11 Apr 2011 09:19:32 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id D0BA9CAB99 for ; Mon, 11 Apr 2011 09:19:32 +0200 (CEST) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p3B7JVVd028230 for ; Mon, 11 Apr 2011 09:19:32 +0200 Original-Received: by bwz17 with SMTP id 17so6423195bwz.14 for ; Mon, 11 Apr 2011 00:19:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to :x-mailer; bh=tMxcDEZ7T5ysyDdhkbFL16jx42WpFx0/EyDIzYDDosA=; b=DmDbUBNh/y9nD/MwCjU4u6tzMO2JP0kuICzgCKw7mL2mlmmEIlYQwlAL7rMw+hjO3Q BPib93kXz8wjhMJzsuKrNz468RzXBmoXyWMJ41rioHitxFlNGhjbgkIA9xRdDJFuA5mf oqX4236uQsWbt01w8k0dUt8XyEywA4ZNovPC4= 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=Za1qCczCBV9vVMSoBYtsoO6z9enZNIvJN95emt4e6FHo/7LmK3D4KMiS+LifE9tRPr gnqORWZ2gLizmtFleOP1D55+VBXhbTVXc4CqxFc0ARmWyAaS48GYuEHyQuYE0m9HMZwd ZZ+0gxa8N6vsX24EiDGfqoWcCodc1pbRJ1ZmE= Original-Received: by 10.204.20.66 with SMTP id e2mr4592483bkb.141.1302506371755; Mon, 11 Apr 2011 00:19:31 -0700 (PDT) Original-Received: from [192.168.2.31] (p5B295033.dip.t-dialin.net [91.41.80.51]) by mx.google.com with ESMTPS id 16sm3021919bkm.18.2011.04.11.00.19.23 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Apr 2011 00:19:30 -0700 (PDT) In-Reply-To: <16614D98-D85B-4AE1-B4F3-4B7FA049B0C6@awi.de> X-Mailer: Apple Mail (2.1084) 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: 0eEu7jwBv - 6b25148bc668 - 20110411 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:67704 Archived-At: Am 10.04.2011 um 18:40 schrieb Florian Wobbe: > 2) How do I get a small and bold header? This does not work: > > \bTABLE > \setupTABLE[style=\tfx] > \setupTABLE[row][1][style=\bfx] % redundant w/ line 5 > \bTABLEhead > \bTR[style=\bfx] \bTH Header \eTH \eTR > \eTABLEhead > \bTABLEbody > \bTR \bTD hello \eTD \eTR > \bTR \bTD world \eTD \eTR > \eTABLEbody > \eTABLE You mix too many setups, \bTH overwrites your setting for the row (\bTR[style=\tfx]) and also your other setting (\setupTABLE[row][1][style=\bfx]). Here is one to separate the style and the markup \startsetups table:style \setupTABLE[start] [style=\tfx] \setupTABLE[header][style=\bfx] \stopsetups \starttext \bTABLE[setups=table:style] \bTABLEhead \bTR \bTD Header \eTD \eTR \eTABLEhead \bTABLEbody \bTR \bTD Body \eTD \eTR \eTABLEbody \eTABLE \stoptext Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________