From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/112476 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Fabrice Couvreur via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: How not to display the header of the chapter page on the page with the table of contents ? Date: Sun, 15 Aug 2021 18:02:41 +0200 Message-ID: References: <2641f441-f893-a1d6-7ab7-41108c47f2b4@gmx.es> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5537749604437695584==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23334"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Fabrice Couvreur To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Aug 15 18:09:03 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mFIh4-0005vT-Ig for gctc-ntg-context-518@m.gmane-mx.org; Sun, 15 Aug 2021 18:09:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 482F92867FF; Sun, 15 Aug 2021 18:04:42 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L7e-dhaMwcPu; Sun, 15 Aug 2021 18:04:40 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A4C2B28680F; Sun, 15 Aug 2021 18:04:40 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B3C5228680F for ; Sun, 15 Aug 2021 18:04:38 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4xo707HI7Y9u for ; Sun, 15 Aug 2021 18:04:37 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.167.169; helo=mail-oi1-f169.google.com; envelope-from=fabrice1.couvreur@gmail.com; receiver= Original-Received: from mail-oi1-f169.google.com (mail-oi1-f169.google.com [209.85.167.169]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id CB3AD2867DE for ; Sun, 15 Aug 2021 18:04:36 +0200 (CEST) Original-Received: by mail-oi1-f169.google.com with SMTP id u25so23464710oiv.5 for ; Sun, 15 Aug 2021 09:04:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=3M+QVe1diaJt/Hr7E/dn+MD8YzJt0hR98uPlDJuYl2s=; b=qHM6XIvrdXtucBJJN76wG++fFBf+Z8N9AjxCAdiRKAeEMF7dlkZe8SScHz9hIQMFd5 7NvoKzyEZJqXdYwk7JHk9nkgRZQ2psgXWdUvCxgRfAC57C86BCkr3IW/y1A0FGJKSHpZ 1soGP7FeOYJ43WZ6MthrHU+p4/rmSE6my83q4B8TU8alCXkgBJwISr7lZjp0tDco+l5h S3fNoNK6Nek+bKOP4cD2vQ176qAgSG4J1FHzG7cLFD9SAxMLaHTQDcBU/lUK6Gk/ZbH6 Etoui1w2TAM3vcMvsIGE/JObvLc4qHdUy0a1BB7jI/OEovRstz1kgcjctJOwsctQaD2H U7Hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=3M+QVe1diaJt/Hr7E/dn+MD8YzJt0hR98uPlDJuYl2s=; b=FmC40VdXiYjeRQfQBK4d5h1ErZoVH0W4wX18/Oui8tjN6ufhM7d4P4IUPm6cbGQ5sm HOWgQeAO8xFKGdMq7ci4mNM1W+2oqbXQUlbNFqnLEB/wGsS9f0oqZD1fOEZcD82RRyud 3ZP6+0pMGVOkM/Kx6NOx8mCInuoDSUNZgRzGaz7JRyTTk/WHTJeFksocNujao42tqfEt sFal5zQVidYJHbvfuiSxR1Wu6NH3j7Exu7hjbF51ry0NzP0yEKijtFUHwp4BB0bxZg81 2gNiUKNTa99Mh303hzW4Ws97XUodQ+HiHVVCftPhqgjy7Wdlh+0bzbsoXtjKBpQ6JG04 3jtQ== X-Gm-Message-State: AOAM532zAl3SjHBrb35lufqD1XmHpl6y3UPxWaM1yjpDp6uCj5oVmO07 ksRxtSSV8bOPo15x5JpKwObwlwROCmASLZkSGqGhzQ65ZWE= X-Google-Smtp-Source: ABdhPJzIWP4UcyQi2zTaxxycXXPFgnX6LcHxpIFc/DSv/7PbwBjWLHvK9Iv90jefZ9BNPOYTMlw0y4w8S97NrNYFJ1Y= X-Received: by 2002:aca:ad55:: with SMTP id w82mr7387310oie.45.1629043475234; Sun, 15 Aug 2021 09:04:35 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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" Xref: news.gmane.io gmane.comp.tex.context:112476 Archived-At: --===============5537749604437695584== Content-Type: multipart/alternative; boundary="000000000000aa425d05c99b3de4" --000000000000aa425d05c99b3de4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable A small note : this method works if I compile the project but if I compile only one chapter, the header no longer appears. Le dim. 15 ao=C3=BBt 2021 =C3=A0 17:01, Fabrice Couvreur a =C3=A9crit : > Hi Pablo, > Thanks, it works. > Fabrice > > Le dim. 15 ao=C3=BBt 2021 =C3=A0 16:20, Pablo Rodriguez via ntg-context < > ntg-context@ntg.nl> a =C3=A9crit : > >> On 8/15/21 12:49 PM, Fabrice Couvreur via ntg-context wrote: >> > Hello, >> > Wolfgang created a >> > heading https://mailman.ntg.nl/pipermail/ntg-context/2021/102870.html >> > for the chapters of my book. >> > How can I prevent this header from appearing on the page with the tabl= e >> > of contents ? >> >> Hi Fabrice, >> >> a simple way would be: >> >> \startsectionblockenvironment[bodypart] >> \setuphead >> [chapter] >> [align=3Dflushright, >> textcommand=3D\groupedcommand{\blank[medium]}{}, >> numbercolor=3Ddarkgray, >> textstyle=3DChapterTextStyle, >> numberstyle=3DChapterNumberStyle, >> before=3D\startChapterFrame, >> after=3D\stopChapterFrame, >> header=3Dhigh] >> \stopsectionblockenvironment >> >> Then use frontmatter and bodymatter. >> >> Just in case it might help, >> >> Pablo >> -- >> http://www.ousia.tk >> >> ________________________________________________________________________= ___________ >> If your question is of interest to others as well, please add an entry t= o >> the Wiki! >> >> maillist : ntg-context@ntg.nl / >> http://www.ntg.nl/mailman/listinfo/ntg-context >> webpage : http://www.pragma-ade.nl / http://context.aanhet.net >> archive : https://bitbucket.org/phg/context-mirror/commits/ >> wiki : http://contextgarden.net >> >> ________________________________________________________________________= ___________ >> > --000000000000aa425d05c99b3de4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
A small note : this method works if I compile the = project but if I compile only one chapter, the header no longer appears.

Le=C2=A0dim. 15 ao=C3=BBt 2021 =C3=A0=C2=A017:01, = Fabrice Couvreur <fabrice= 1.couvreur@gmail.com> a =C3=A9crit=C2=A0:
= Hi Pablo,
Thanks, it works.
Fabrice

Le=C2=A0dim. 15 ao=C3=BBt 2021 =C3= =A0=C2=A016:20, Pablo Rodriguez via ntg-context <ntg-context@ntg.nl> a =C3=A9crit=C2= =A0:
On 8/15/21 = 12:49 PM, Fabrice Couvreur via ntg-context wrote:
> Hello,
> Wolfgang created a
> heading=C2=A0https://mailman.ntg.n= l/pipermail/ntg-context/2021/102870.html
> for the chapters of my book.
> How can I prevent this header from appearing on the page with the tabl= e
> of contents ?

Hi Fabrice,

a simple way would be:

=C2=A0 \startsectionblockenvironment[bodypart]
=C2=A0 =C2=A0 \setuphead
=C2=A0 =C2=A0 =C2=A0 =C2=A0[chapter]
=C2=A0 =C2=A0 =C2=A0 =C2=A0[align=3Dflushright,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 textcommand=3D\groupedcommand{\blank[medium]}{}= ,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 numbercolor=3Ddarkgray,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 textstyle=3DChapterTextStyle,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 numberstyle=3DChapterNumberStyle,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 before=3D\startChapterFrame,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 after=3D\stopChapterFrame,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 header=3Dhigh]
=C2=A0 \stopsectionblockenvironment

Then use frontmatter and bodymatter.

Just in case it might help,

Pablo
--
http:/= /www.ousia.tk
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--000000000000aa425d05c99b3de4-- --===============5537749604437695584== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============5537749604437695584==--