From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67190 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: How to get the style definitions from \chapter, \section, \subsection Date: Sat, 19 Mar 2011 18:25:07 +0100 Message-ID: <46985481-75C7-43DB-9AE3-9E2212A79112@gmail.com> References: 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="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1300555532 8377 80.91.229.12 (19 Mar 2011 17:25:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 19 Mar 2011 17:25:32 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 19 18:25:28 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 1Q0zu4-0007kr-35 for gctc-ntg-context-518@m.gmane.org; Sat, 19 Mar 2011 18:25:28 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B7BF3CAB28; Sat, 19 Mar 2011 18:25:20 +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 wmw1qL0GmUbq; Sat, 19 Mar 2011 18:25:17 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1D585CAB0C; Sat, 19 Mar 2011 18:25:17 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3DA1ECAB0C for ; Sat, 19 Mar 2011 18:25:16 +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 CWvlcrzmPJRT for ; Sat, 19 Mar 2011 18:25:05 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 4BC5ECAB06 for ; Sat, 19 Mar 2011 18:25:05 +0100 (CET) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p2JHPAaR032402 for ; Sat, 19 Mar 2011 18:25:10 +0100 Original-Received: by fxm18 with SMTP id 18so5850512fxm.14 for ; Sat, 19 Mar 2011 10:25:10 -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=C6nxl1UVjAp9gId4ro/dsM1EL4RVNWSn1BW6CpfHAp0=; b=IkzKO3iKNjG7Lo26zVW+ibs0xdxzdnEzLNw3Inl1st7cZfInxTQyYKKaxj6yE6rcw/ HN77RdoiPN2+23vFk+0b0KJS0U5JIDm8PhMyEo8E23fFojXDrDSOyJz+O6yWFjPUmuea L/JGMIwfy4vwSAbcSLk1RMl1oB7zZ48bPJLTM= 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=qQJJZgbcz2n3spchZ97gO97LKDSiwDL1Snf8TvCLs6F31scybh78L436oE9qDfyYpr Pe5JVrKEIeEuqHXFn6WzSJLK9F0yykrYCBLSYMLZwADel3AqVP2onlQ1UNEQOnfVjOfy 2KUWRuq/91T8wkPTXK2WDDrS2r9RC1yvL3m9o= Original-Received: by 10.223.102.80 with SMTP id f16mr2832389fao.33.1300555510100; Sat, 19 Mar 2011 10:25:10 -0700 (PDT) Original-Received: from [192.168.2.23] (p5B2965CF.dip.t-dialin.net [91.41.101.207]) by mx.google.com with ESMTPS id e17sm906940fak.0.2011.03.19.10.25.08 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 19 Mar 2011 10:25:09 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1082) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.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: 0rEl5paQ7 - 81dd87fb7888 - 20110319 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:67190 Archived-At: Am 19.03.2011 um 17:21 schrieb Cecil Westerhof: > The style of chapter is significant bigger as the style from section, but it looks like the style from section and subsection are about the same. I have a workaround with the following: > \setuphead[section][before={\blank[3*big] \testpage[15]}] > \setuphead[subsection][before={\blank[big,small] \testpage[10]},style={\bf}] > > This works reasonable. But it would be better if I could find out the definitions from \section and \subsection. Then I could make a more fine-tuned solution. Is it possible to get those definitions? \starttext \starttabulate[|lh{\type}|lh{\type}|lh{\type}|lh{\type}|] \NC \bf command \NC \bf before \NC \bf after \NC \bf style \NC\NR \HC {\part} \HC {\blank[2*big]} \HC {\blank[2*big]} \HC {\tfc} \NC\NR \HC {\chapter} \HC {\blank[2*big]} \HC {\blank[2*big]} \HC {\tfc} \NC\NR \HC {\section} \HC {\blank[2*big]} \HC {\blank} \HC {\tfa} \NC\NR \stoptabulate \stoptext \subsection has the same values as \section because unknown values are taken from the parent, e.g. \subsection use \section settings and \section use \chapter values etc. A exception to this behaviour are textstyle, textcolor, numberstyle and numbercolor because the use only the values from style/colors keys of the own level. 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 ___________________________________________________________________________________