From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25822 Path: news.gmane.org!not-for-mail From: Renaud AUBIN Newsgroups: gmane.comp.tex.context Subject: Re: Removing headers with chapter headings Date: Fri, 03 Feb 2006 14:45:44 +0100 Message-ID: <43E35E88.3050202@nibua-r.org> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0634783364==" X-Trace: sea.gmane.org 1138974377 20391 80.91.229.2 (3 Feb 2006 13:46:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Feb 2006 13:46:17 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Feb 03 14:46:16 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1F51GE-0007Dg-Cb for gctc-ntg-context-518@m.gmane.org; Fri, 03 Feb 2006 14:46:02 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C697A1284E; Fri, 3 Feb 2006 14:46:01 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27117-05-6; Fri, 3 Feb 2006 14:45:57 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 61BB41278E; Fri, 3 Feb 2006 14:45:57 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 083551278E for ; Fri, 3 Feb 2006 14:45:56 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27117-05-5 for ; Fri, 3 Feb 2006 14:45:54 +0100 (CET) Original-Received: from 26.mail-out.ovh.net (26.mail-out.ovh.net [213.186.42.179]) by ronja.ntg.nl (Postfix) with SMTP id 44EAD1277E for ; Fri, 3 Feb 2006 14:45:53 +0100 (CET) Original-Received: (qmail 29437 invoked by uid 503); 3 Feb 2006 13:46:11 -0000 Original-Received: (QMFILT: 1.0); 03 Feb 2006 13:46:11 -0000 Original-Received: from b6.ovh.net (HELO mail58.ha.ovh.net) (213.186.33.56) by 26.mail-out.ovh.net with SMTP; 3 Feb 2006 13:46:11 -0000 Original-Received: from b0.ovh.net (HELO queue-out) (213.186.33.50) by b0.ovh.net with SMTP; 3 Feb 2006 13:45:56 -0000 Original-Received: from mail58.ha.ovh.net (10.0.50.58) by mail58.ha.ovh.net with SMTP; 3 Feb 2006 13:45:54 -0000 Original-Received: from b0.ovh.net (HELO queue-pre) (213.186.33.50) by b0.ovh.net with SMTP; 3 Feb 2006 13:45:54 -0000 Original-Received: from d213-103-240-17.cust.tele2.fr (HELO ?192.168.78.10?) (aubin@nibua-r.org@213.103.240.17) by ns0.ovh.net with SMTP; 3 Feb 2006 13:45:54 -0000 User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: fr, en Original-To: mailing list for ConTeXt users In-Reply-To: X-Ovh-Remote: 213.103.240.17 (d213-103-240-17.cust.tele2.fr) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: fait|type 1&3|1.4|H 0.5 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:25822 Archived-At: This is a multi-part message in MIME format. --===============0634783364== Content-Type: multipart/alternative; boundary="------------000403040709000506010603" This is a multi-part message in MIME format. --------------000403040709000506010603 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Hi Elliot, Here, I use the option header=3Dempty and defined a custom chapter comman= d: \setuphead[chapter][header=3Dhigh, command=3D\ChapterHeader, style=3D\tfd= ] \def\ChapterHeader#1#2{% \framedtext [width=3D \overlaywidth, height=3D12\bodyfontsize, background=3D{foreground,HeaderDeco}, offset=3D0pt, strut=3Dno, frame=3Doff, align=3Dleft]{% \blank[4\bodyfontsize,force] #1 \blank[small] #2}} Cheers, Renaud Elliot Clifton a =E9crit : > I setup chapter headings as: > > \setuphead[chapter][header=3Dnone] > > I want the effect of header=3Dnone only on the chapter page, but it=20 > persists across all subsequent pages. How can I reset the header to=20 > sate=3Dnormal for pages after my chapter. pages. > > Note: chapter pages are not blank --- they contain bodytext > > Elliot > >------------------------------------------------------------------------ > >_______________________________________________ >ntg-context mailing list >ntg-context@ntg.nl >http://www.ntg.nl/mailman/listinfo/ntg-context > =20 > --------------000403040709000506010603 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi Elliot,

Here, I use the option header=empty and defined a custom chapter command:

\setuphead[chapter][header=high, command=\ChapterHeader, style=\tfd]
  \def\ChapterHeader#1#2{%
    \framedtext
      [width= \overlaywidth,
        height=12\bodyfontsize,
        background={foreground,HeaderDeco},
        offset=0pt,
        strut=no,
        frame=off,
        align=left]{%
        \blank[4\bodyfontsize,force]
        #1
        \blank[small]
        #2}}

Cheers,

Renaud

Elliot Clifton a écrit :
I setup chapter headings as:

\setuphead[chapter][header=none]

I want the effect of header=none only on the chapter page, but it persists across all subsequent pages. How can I reset the header to sate=normal for pages after my chapter. pages.

Note: chapter pages are not blank --- they contain bodytext

Elliot

_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

--------------000403040709000506010603-- --===============0634783364== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --===============0634783364==--