From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/112478 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:45:40 +0200 Message-ID: References: <2641f441-f893-a1d6-7ab7-41108c47f2b4@gmx.es> <9f7b9a08-469e-e2ff-cb11-7fb6fa3b7c63@gmx.es> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7052459068455217472==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3954"; 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:48:06 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 1mFJIs-0000qP-Is for gctc-ntg-context-518@m.gmane-mx.org; Sun, 15 Aug 2021 18:48:06 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9261B2866F5; Sun, 15 Aug 2021 18:47:41 +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 FtdaijdTnmBT; Sun, 15 Aug 2021 18:47:39 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7693428680D; Sun, 15 Aug 2021 18:47:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E8B842867FF for ; Sun, 15 Aug 2021 18:47:37 +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 FaioXjQNmUJf for ; Sun, 15 Aug 2021 18:47:36 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.210.42; helo=mail-ot1-f42.google.com; envelope-from=fabrice1.couvreur@gmail.com; receiver= Original-Received: from mail-ot1-f42.google.com (mail-ot1-f42.google.com [209.85.210.42]) (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 E87292866F5 for ; Sun, 15 Aug 2021 18:47:35 +0200 (CEST) Original-Received: by mail-ot1-f42.google.com with SMTP id n1-20020a9d1e810000b0290514da4485e4so15495059otn.4 for ; Sun, 15 Aug 2021 09:47:35 -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=meSDgSbmP1kFO8F8Tq2PV0eLo5iiRTLVqe8541LtV2M=; b=TsPapeU/qyLj0rxqVmrM08CTz9Ee/0fPxMP4TpoFFH7SvEKhsSB52LXfTw1Lmk4DUw HUZvF2AQ0M3fvGAQY5E2CBUgXeQar/XBXnIuZ+Y9MNvs8U5Q8ZoJhpcYKJdgZA6pLWAV 2JPS5gFDzpZFRoyHsND59BfGszRL1sQJgiSxvos5V24dd4RZg2isu7H6edw7zKPHZReh fyzIiE2/oAWH7kP8xxEfCtgLdRfwUoqLvBJr2SG16AjvM2zNGYgK2VsWxJ3x+q++PzHy CIrUupm586xPlmUrOPAXcRWwJQZxwdkaVy80KcHAd4HboLgJI1YyNnWM/Dfz81kz3Qeb o5cg== 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=meSDgSbmP1kFO8F8Tq2PV0eLo5iiRTLVqe8541LtV2M=; b=o1DlKMMQeDELif+RRqEaJG6OV1g3uaSTd6Vm1FIsPiOBtMuG4rWbDuMUzCU/PNaYfQ KnmCG/uBYh8qjLykSud6uYQEEwIwDKUTsLvpK962KRHifT7H6nja71gF4YS9VoC5cHbL Nb+rXRIsmjiK5fGhktK+bLujEhbI0o3hsf66i4IKfZw1tJX8g1kkGxrfe+Wol2N9Brot 1bASK5f0iU72dGs02AOFIMoYYo7Qj2dstymtJSx5/32QP0JsUoCBGty0Cgz3zp/kc77f u7BnxV7Q5m3jTAr4c3uffxNHu7faCiSF4/47QKZpWVvefbuiM50rELo81AaqQh1//F3r FEww== X-Gm-Message-State: AOAM533nAppHaAFUHUx6ml7iNXnrWmIxHMnjMdVLLPUDY+V+UyzAQn7h fczTjR7g6uNFtKyrqSVkxzatQAecJ2W10ljSbpIalkaZQgQ= X-Google-Smtp-Source: ABdhPJwG4zOBaCqvJ6z46zlhA4sJC0jQuUizfKPPixCKX2wqedCCbaSu6BWYnddXeqaGuyU5wgqpQLnjmNwufWZDH8Q= X-Received: by 2002:a05:6830:20d0:: with SMTP id z16mr3319860otq.330.1629046054406; Sun, 15 Aug 2021 09:47:34 -0700 (PDT) In-Reply-To: <9f7b9a08-469e-e2ff-cb11-7fb6fa3b7c63@gmx.es> 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:112478 Archived-At: --===============7052459068455217472== Content-Type: multipart/alternative; boundary="000000000000654cc105c99bd71b" --000000000000654cc105c99bd71b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Pablo, The second solution works as I want it to Thanks Fabrice Le dim. 15 ao=C3=BBt 2021 =C3=A0 18:33, Pablo Rodriguez via ntg-context < ntg-context@ntg.nl> a =C3=A9crit : > On 8/15/21 6:02 PM, Fabrice Couvreur via ntg-context wrote: > > A small note : this method works if I compile the project but if I > > compile only one chapter, the header no longer appears. > > Hi Fabrice, > > I have never used projects and chapters (or whatever the right name is). > > I=E2=80=99m not sure I get what you=E2=80=99re experiencing: with a singl= e chapter, do > you have the fancy layout or not? > > It would make sense that the fancy chapter doesn=E2=80=99t appear only co= mpiling > a chapter. I guess there is no \startbodymatter...\stopbodymatter > wrapping it. > > Another approach would be: > > \setuphead > [chapter] > [align=3Dflushright, > textcommand=3D\groupedcommand{\blank[medium]}{}, > numbercolor=3Ddarkgray, > textstyle=3DChapterTextStyle, > numberstyle=3DChapterNumberStyle, > before=3D\startChapterFrame, > after=3D\stopChapterFrame, > header=3Dhigh] > > \setuphead > [title] > [header=3Dempty, > align=3D, > textcommand=3D, > textstyle=3D, > style=3D\tfc, > before=3D{\blank[2*big]}, > after=3D{\blank[2*big]}] > > I hope it helps, > > Pablo > > -- > http://www.ousia.tk > > _________________________________________________________________________= __________ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > _________________________________________________________________________= __________ > --000000000000654cc105c99bd71b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Pablo,
Th= e second solution works as I want it to
T= hanks
Fabrice

Le=C2=A0dim. 15 ao=C3=BBt 2021 =C3=A0=C2=A018:33, Pablo Rodriguez via n= tg-context <ntg-context@ntg.nl= > a =C3=A9crit=C2=A0:
On 8/15/21 6:02 PM, Fabrice Couvreur via ntg-context wrote:
> A small note : this method works if I compile the project but if I
> compile only one chapter, the header no longer appears.

Hi Fabrice,

I have never used projects and chapters (or whatever the right name is).
I=E2=80=99m not sure I get what you=E2=80=99re experiencing: with a single = chapter, do
you have the fancy layout or not?

It would make sense that the fancy chapter doesn=E2=80=99t appear only comp= iling
a chapter. I guess there is no \startbodymatter...\stopbodymatter
wrapping it.

Another approach would be:

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

\setuphead
=C2=A0 [title]
=C2=A0 [header=3Dempty,
=C2=A0 =C2=A0align=3D,
=C2=A0 =C2=A0textcommand=3D,
=C2=A0 =C2=A0textstyle=3D,
=C2=A0 =C2=A0style=3D\tfc,
=C2=A0 =C2=A0before=3D{\blank[2*big]},
=C2=A0 =C2=A0after=3D{\blank[2*big]}]

I hope it helps,

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
___________________________________________________________________________= ________
--000000000000654cc105c99bd71b-- --===============7052459068455217472== 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== --===============7052459068455217472==--