From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84079 Path: news.gmane.org!not-for-mail From: Michael Scholtz Newsgroups: gmane.comp.tex.context Subject: Re: Setting `before` option of chapter breaks header text Date: Tue, 3 Sep 2013 16:32:45 +0200 Message-ID: <9BF1100A-6230-425F-9FF6-EC236A53BD7F@gmail.com> References: <89A80267-412F-4F53-9EF3-7EC771A1C6A8@gmail.com> <8371E36D-D606-4F44-9AE1-D6874200D384@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 1378218776 18505 80.91.229.3 (3 Sep 2013 14:32:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Sep 2013 14:32:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 03 16:32:59 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 1VGrf9-0008HA-3I for gctc-ntg-context-518@m.gmane.org; Tue, 03 Sep 2013 16:32:59 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id ECD5A10203; Tue, 3 Sep 2013 16:31: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 m7mD8yvWhbPW; Tue, 3 Sep 2013 16:31:23 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 7A77310208; Tue, 3 Sep 2013 16:31:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A30FF10208 for ; Tue, 3 Sep 2013 16:31:21 +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 EcYEhdYJidkz for ; Tue, 3 Sep 2013 16:31:20 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 7559510203 for ; Tue, 3 Sep 2013 16:31:20 +0200 (CEST) Original-Received: from mail-bk0-x22f.google.com (mail-bk0-x22f.google.com [IPv6:2a00:1450:4008:c01::22f]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r83EXimF018816 for ; Tue, 3 Sep 2013 16:33:44 +0200 Original-Received: by mail-bk0-f47.google.com with SMTP id mx12so2163857bkb.34 for ; Tue, 03 Sep 2013 07:32:49 -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=9sMPCkOILiDnD+/ouoto4PSNpREXhI1s7qahgW9YJFY=; b=k6NDM+w99JjYyB+i3+VBnoXQMXP31GAOPyzm0MINcP+7alApKg5nKtwHgmhYBmuo0J rhT8bQBDLwyQLiuFUpVhw8obOtmqzxlpruuYRVPNwESEmi5UGeQqIBKeJhdEy35bm/dj 9CLU2Ly5ZuzNJR8eQr5Ex7CD9YUKxcgCAeEEss1SwmXNtEqeNF869vPR4LEdzU8E91X2 Gih1/1vcgbwvKwR4uA/q9W+u36i4R+Fej6DIHY2Ho/0vHpzX/4niWywMhRynoVyn9pi1 kqjLs+MdTzoF6/BQPyBoc/QdBabsSfQ2nspRPoJ9Fy2hDZ6Qq+P4hAhkZVV0B+OhPxEe 1c+w== X-Received: by 10.205.36.70 with SMTP id sz6mr21398794bkb.12.1378218769174; Tue, 03 Sep 2013 07:32:49 -0700 (PDT) Original-Received: from camo146-230.hrz.tu-chemnitz.de (camo146-230.hrz.tu-chemnitz.de. [134.109.146.230]) by mx.google.com with ESMTPSA id zl3sm4788545bkb.4.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 03 Sep 2013 07:32:47 -0700 (PDT) In-Reply-To: <8371E36D-D606-4F44-9AE1-D6874200D384@gmail.com> X-Mailer: Apple Mail (2.1508) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4008:c01::22f; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01KkCxIMD - 6e147be2abc9 - 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:84079 Archived-At: On 03.09.2013, at 16:13, Wolfgang Schuster wr= ote: > = > 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 b= reaking 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 Thanks, I got this from the wiki page: http://wiki.contextgarden.net/Titles= #Your_Own_Titling_Levels ...but it seems to be wrong there. I used `before` (probably in the wrong way ;-) ) to add more space above ea= ch chapter title. = How to do this without `before`? Michael ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________