From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/58385 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Questions about \setuphead and \framed Date: Sat, 24 Apr 2010 14:41:06 +0200 Message-ID: <4BD2E6E2.7010306@googlemail.com> References: <201004202301.57945.michael.ewe@arcor.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1272112895 3838 80.91.229.12 (24 Apr 2010 12:41:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 24 Apr 2010 12:41:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 24 14:41:34 2010 connect(): No such file or directory 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 1O5efu-00032p-4A for gctc-ntg-context-518@m.gmane.org; Sat, 24 Apr 2010 14:41:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3876BC9C38; Sat, 24 Apr 2010 14:41:33 +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 x8j4kx+thxZF; Sat, 24 Apr 2010 14:41:30 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 50550C9C73; Sat, 24 Apr 2010 14:41:30 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C29E4C9C73 for ; Sat, 24 Apr 2010 14:41:28 +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 gBTSA6nTdVZE for ; Sat, 24 Apr 2010 14:41:26 +0200 (CEST) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by balder.ntg.nl (Postfix) with ESMTP id 65126C9C38 for ; Sat, 24 Apr 2010 14:41:26 +0200 (CEST) Original-Received: by fg-out-1718.google.com with SMTP id e21so687798fga.2 for ; Sat, 24 Apr 2010 05:41:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=/upmLL7gj2KnRVtp+AgYTFPYwGhUGBy2KzDdybp4ZOg=; b=rl3pZNWw5pETCTtaETjkpwO/eVrCkKGotIHf3vkpv/WuN+MxWVHhnZcuPHpQ8bZq9n qhIUrkLktTCkO12OFpo9j4LK+/f+QTz2fZsr1UR0i0yRiaIMrgLGRNqVvKaZInJzCpRX ZWoav3h0WAa/TKc8nBQD6zK/S73hbVOe3Rplc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=Da0lgZ8+wzcoRk8Y2oriJYdZVjuA/dKrnOsE7qbmSzONf11uL5R3uS4OquWWiIiOnT WQwSk2x+LdhBui3leXbus3wrVzl/w3FZ05tETNidBVqpXyOgG37/VPVjwMZFx1p6ilQk nqG49WGcCy4q/Ye6D3g1bL3wgAdjoGdCq01kg= Original-Received: by 10.87.31.36 with SMTP id i36mr2430364fgj.56.1272112882413; Sat, 24 Apr 2010 05:41:22 -0700 (PDT) Original-Received: from [192.168.2.23] (p5B297557.dip.t-dialin.net [91.41.117.87]) by mx.google.com with ESMTPS id e20sm757291fga.26.2010.04.24.05.41.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 24 Apr 2010 05:41:21 -0700 (PDT) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 In-Reply-To: <201004202301.57945.michael.ewe@arcor.de> 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:58385 Archived-At: Am 20.04.10 23:01, schrieb Michael Ewe: > 1 The frames in the chapter both headings are much bigger than in the normal > text. > The chapter insert it's own strut in the number and the text and changing/disabling the strut in the header command is useless here (it's a bug but i'll report this in another mail) > 2 The gap between the chapter number and the chapter name is different for > chapter 1 (on page 1) and chapter 2 (on page 2). The word "test" is not > aligned > Setting a font for style is not the same as setting it to textstyle and numberstyle. > 3 The value of "strut" has no effect at all. > strut in \setuphead accepts only yes and no, in \framed you can use the values yes, no, global and local, dimensions are no legal argument. Since you haven't shown what dou want to achieve i can only guess but maybe this setup is what you want: \definefont[FontA][Sans at 36pt] \defineframed[chapterframe][offset=0pt,strut=local] \definehead[ChapterA][chapter] \setuphead [ChapterA] [deeptextcommand=\chapterframe, deepnumbercommand=\chapterframe, distance=0pt, style=FontA] \starttext \ChapterA{Test} \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 ___________________________________________________________________________________