From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84077 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Setting `before` option of chapter breaks header text Date: Tue, 3 Sep 2013 16:13:49 +0200 Message-ID: <8371E36D-D606-4F44-9AE1-D6874200D384@gmail.com> References: <89A80267-412F-4F53-9EF3-7EC771A1C6A8@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1378217636 4134 80.91.229.3 (3 Sep 2013 14:13:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Sep 2013 14:13:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 03 16:14:00 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VGrMm-0006kf-JA for gctc-ntg-context-518@m.gmane.org; Tue, 03 Sep 2013 16:14:00 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A6E3A10220; Tue, 3 Sep 2013 16:12:30 +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 ocJwuVK07v3Q; Tue, 3 Sep 2013 16:12:25 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 61CCF10203; Tue, 3 Sep 2013 16:12:25 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8C77210203 for ; Tue, 3 Sep 2013 16:12:24 +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 chOExpCMPiZ5 for ; Tue, 3 Sep 2013 16:12:21 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id D8C60101DE for ; Tue, 3 Sep 2013 16:12:21 +0200 (CEST) Original-Received: from mail-ee0-x22d.google.com (mail-ee0-x22d.google.com [IPv6:2a00:1450:4013:c00::22d]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r83EDoVb026054 for ; Tue, 3 Sep 2013 16:13:50 +0200 Original-Received: by mail-ee0-f45.google.com with SMTP id c50so3029385eek.4 for ; Tue, 03 Sep 2013 07:13:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=3kiFC05NszYEm30WpOB3Khs8cM2II5OycDFp+fqapfw=; b=DP9WXV1gjn/dpt6xeLYA0faMHqGMk93e8jhN81KCWGVcaZmsBhr3hTGz7ncgMoPuJd Owd+kLbTXorRxOFxov1zXSyoBZ3IwW6ZEgI++nV2WXifWVfRDu3aPTs7UoSLNh7XsfS+ 1p8iiYqiaaOVoqdHCxsHkfqGKpH4jtSYLstGnEReSA/2Ls1twhzwyJupH6PxVgx0RBVL b68JdnkBMhsHrFrzyVydiGoOj6eroUY6D4VmhdWUIJ/cVneZQvtdR2UA/8MSMEXcjV5M fFYs4n0sJtmlPWy3G6h+uP1sxlHue3Ak+XlDizqsP8MnYhP0hBRXlVC8kr7x2OUm0BLJ w1AA== X-Received: by 10.14.122.132 with SMTP id t4mr47117274eeh.20.1378217630490; Tue, 03 Sep 2013 07:13:50 -0700 (PDT) Original-Received: from keima.localdomain (x2f21aa2.dyn.telefonica.de. [2.242.26.162]) by mx.google.com with ESMTPSA id m54sm31862874eex.2.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 03 Sep 2013 07:13:50 -0700 (PDT) In-Reply-To: <89A80267-412F-4F53-9EF3-7EC771A1C6A8@gmail.com> X-Mailer: Apple Mail (2.1508) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c00::22d; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WKkCdOGU - 22a02d83e4d6 - 20130903 X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:84077 Archived-At: Am 03.09.2013 um 16:02 schrieb Michael Scholtz : > If chapter titles are styled using the `before` option, the header texts = on each first page of the documents (body|back|appendix)part are incorrect,= because chapter name and number are empty. = > (Tested with ConTeXt version 2013.05.28 00:36 and 2013.09.03 10:22) > = > Is this a bug? (If not, is there any other way to set `before` without br= eaking the headers?) It=92s the wrong method to add rules at the begin/end of a heading. A better way to add rules is to put a frame around the text. \defineframedtext [ChapterFrame] [frame=3Doff, width=3D\textwidth, topframe=3Don, bottomframe=3Don, offset=3D0pt, toffset=3D1ex, boffset=3D1ex] \setuphead [chapter] [before=3D\startChapterFrame, after=3D\stopChapterFrame] 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 ___________________________________________________________________________= ________