From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/58434 Path: news.gmane.org!not-for-mail From: Michael Ewe Newsgroups: gmane.comp.tex.context Subject: Re: Questions about \setuphead and \framed Date: Tue, 27 Apr 2010 22:09:30 +0200 Message-ID: <201004272209.30644.michael.ewe@arcor.de> References: <201004202301.57945.michael.ewe@arcor.de> <4BD2E6E2.7010306@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1272398987 29693 80.91.229.12 (27 Apr 2010 20:09:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 27 Apr 2010 20:09:47 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 27 22:09:43 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 1O6r6E-0004VP-NY for gctc-ntg-context-518@m.gmane.org; Tue, 27 Apr 2010 22:09:42 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 86F94C9B92; Tue, 27 Apr 2010 22:09:41 +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 V7BOJt2aiePf; Tue, 27 Apr 2010 22:09:39 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DA3ABC9BB9; Tue, 27 Apr 2010 22:09:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0753FC9BB9 for ; Tue, 27 Apr 2010 22:09:38 +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 83ycHqNe9Lv2 for ; Tue, 27 Apr 2010 22:09:35 +0200 (CEST) Original-Received: from mail-in-16.arcor-online.net (mail-in-16.arcor-online.net [151.189.21.56]) by balder.ntg.nl (Postfix) with ESMTP id 95CBBC9B92 for ; Tue, 27 Apr 2010 22:09:35 +0200 (CEST) Original-Received: from mail-in-19-z2.arcor-online.net (mail-in-19-z2.arcor-online.net [151.189.8.36]) by mx.arcor.de (Postfix) with ESMTP id 0E67B256D52 for ; Tue, 27 Apr 2010 22:09:32 +0200 (CEST) Original-Received: from mail-in-13.arcor-online.net (mail-in-13.arcor-online.net [151.189.21.53]) by mail-in-19-z2.arcor-online.net (Postfix) with ESMTP id 2D0446BD84 for ; Tue, 27 Apr 2010 22:09:32 +0200 (CEST) Original-Received: from finkaraa.localnet (dslb-084-063-090-207.pools.arcor-ip.net [84.63.90.207]) (Authenticated sender: michael.ewe@arcor.de) by mail-in-13.arcor-online.net (Postfix) with ESMTPSA id 9C3682BAF77 for ; Tue, 27 Apr 2010 22:09:31 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-13.arcor-online.net 9C3682BAF77 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arcor.de; s=mail-in; t=1272398971; bh=DXZtTQhgJo5PYp6/sEHO0UKAMk0RoTtwAQT2j3Mba+c=; h=From:To:Subject:Date:References:In-Reply-To:MIME-Version: Content-Type:Content-Transfer-Encoding:Message-Id; b=LKrUUjUGkVoR5B3utCDFZgF126oi6DkyjWfqyjIVtIlb49vDW6aFOaXzrJlAnQ8de d70Yck2bYRFb0PfHMi91amGO3ZdwfoEW+Zq1k7f/xm5/ZszuJ/asYKImux0kMo58jF JK7ntn3Uxdhat51IBxT6jYOQMQT/Y4oN/keKEyCY= User-Agent: KMail/1.12.2 (Linux/2.6.31-20-generic; KDE/4.3.2; x86_64; ; ) In-Reply-To: <4BD2E6E2.7010306@googlemail.com> 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:58434 Archived-At: On Saturday 24 April 2010 14:41:06 Wolfgang Schuster wrote: > 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 > ___________________________________________________________________________ > ________ > Thank you, I will give it another try! ___________________________________________________________________________________ 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 ___________________________________________________________________________________