From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94710 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: headline and no indent Date: Mon, 09 May 2016 17:44:37 +0200 Message-ID: <5730B065.5030305@gmail.com> References: <7ED7583F-B3D0-400C-82D6-314D5C11ECBD@di.unito.it> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4335825482001788169==" X-Trace: ger.gmane.org 1462809976 28524 80.91.229.3 (9 May 2016 16:06:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 May 2016 16:06:16 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon May 09 18:06:04 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aznLq-0003ur-19 for gctc-ntg-context-518@m.gmane.org; Mon, 09 May 2016 17:44:06 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3A9E1C0D9; Mon, 9 May 2016 17:43:53 +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 93p-yrAZcqB6; Mon, 9 May 2016 17:43:52 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 6F3EBC0DD; Mon, 9 May 2016 17:43:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 66C33C0DA for ; Mon, 9 May 2016 17:43:51 +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 40TKofFR6K13 for ; Mon, 9 May 2016 17:43:50 +0200 (CEST) Original-Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id EE0E6C0D9 for ; Mon, 9 May 2016 17:43:40 +0200 (CEST) Original-Received: by mail-wm0-f42.google.com with SMTP id v200so22077578wmv.1 for ; Mon, 09 May 2016 08:43:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=bYtYri1f77Sjf3Z8ARgGXZN46TxvTVx82tvmztxbLTE=; b=UayMbZlIarbW6+MzDP73CRb6AkJee6XBavW/J/dt4zMpH9cXuL1I/1MV7Bm0A5UhgV ykvp/Uj3qH36UyZ5A0bYJuzm6ftcEkMf1j+0Rjx/xHVV3NFVw7BaR2+2heWxSjfbZb73 hRCbX1utzhcBKhsfBy2KRyXZqdZycqfzL5p5TgalzrKSO2yTjdFNsaDlEpcn0v5nCqo4 +MypGg1KyvgSyCHD1e1cx7GaD5krVXfTMEy+Zhh5dJwiO/I0iXDfKmc+06ENjPKmIl8S m6JwkCHEyAO6VtC1qVpBKkFh4uDVumM9fE4p0VISYbQB7C6b9zwl8hlauDJoixTMIR7I 5Zug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=bYtYri1f77Sjf3Z8ARgGXZN46TxvTVx82tvmztxbLTE=; b=fj6duLBEXrV2W8MFAn4kBJ185nAC+PNUzkws9UN9SWNFRBbDTGaW74wFzGwB7dmpW6 ty8goHOIk2J3qIG1ZWXknNRSWwth0KuoomVsQeP0iC40usZLz3MRz0PxIvnBBVEH6rSG A5Uq/DmYud4KBqc8Jhy8e6OlHdxDESGb0X6OAztmdmDptHWpGKGmlxXUoxfvY4owWtT6 uWTJreop/7lzMqwbkwJlbjOqA98yfVzsqU63elVIfPcIp8nxCQKfOIcd09YODZNhfbG1 aDypycWqokqNA/odVZfLuj8CMAwfvnJ23lKlfyqNv/BfV3nb526m5qZHtwve/Nr/ESR1 VNBg== X-Gm-Message-State: AOPr4FUkHNtJdgphuRt8GuXgpEJnGMaYjrvRavSc474WtQxCRlzQCJNN8gUvqJkVocP14g== X-Received: by 10.28.139.137 with SMTP id n131mr11609234wmd.13.1462808620492; Mon, 09 May 2016 08:43:40 -0700 (PDT) Original-Received: from keima.localdomain (x2f2595a.dyn.telefonica.de. [2.242.89.90]) by smtp.gmail.com with ESMTPSA id u6sm31844224wjh.2.2016.05.09.08.43.39 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 09 May 2016 08:43:39 -0700 (PDT) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: <7ED7583F-B3D0-400C-82D6-314D5C11ECBD@di.unito.it> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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.org gmane.comp.tex.context:94710 Archived-At: This is a multi-part message in MIME format. --===============4335825482001788169== Content-Type: multipart/alternative; boundary="------------030409010303060807020906" This is a multi-part message in MIME format. --------------030409010303060807020906 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Andrea Valle > 9. Mai 2016 um 17:19 > Dear all, > > I=E2=80=99m finishing a book in ConTeXt. The publisher is pretty happy = with=20 > the results. > But he asks me: > > When opting for paragraph indents, paragraphs following directly after=20 > a headline should no show the indent. > > I guess that the first line of chapter/section/subsection should have=20 > no indent. > Hmm, how to get this? > > > For chapter/section/subsection > I have e.g. > > \setuphead[chapter] > [style=3D\ss\tfc, before=3D{\blank[1cm]\startframedtext[width=3Dlocal,=20 > foregroundcolor=3Dblack, background=3Dcolor, backgroundcolor=3DbgGrey1,= =20 > framecolor=3DbgGrey2,offset=3D0.25cm, > rulethickness=3D0.05cm, frame=3Doff, topframe=3Don,=20 > bottomframe=3Don]\crlf},after=3D{\stopframedtext\blank[4cm]}] > > Is there an available option to be set? You have to add \noindentation after \stopframedtext. \setuphead [chapter] [before=3D{\startframedtext}, after=3D{\stopframedtext\noindentation}] \setupindenting[yes,medium] \starttext \chapter{Knuth} \input knuth \stoptext Wolfgang --------------030409010303060807020906 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
9.= =20 Mai 2016 um 17:19
Dear all,
I=E2=80=99m finishing a book in ConTeXt.= The=20 publisher is pretty happy with the results.
But he=20 asks me:

When o= pting for paragraph indents, paragraphs following directly after a headline=20 =C2=A0should no show the indent.

I guess that the first line of chapter/section/subsection=20 should have no indent.
Hmm, how to get this?


For =C2=A0chapter/section/subsection
I ha= ve e.g.

\setuphe= ad[chapter]
[style=3D\ss\tfc,=20 before=3D{\blank[1cm]\startframedtext[width=3Dlocal, foregroundcolor=3Dbl= ack,=20 background=3Dcolor, backgroundcolor=3DbgGrey1,=20 framecolor=3DbgGrey2,offset=3D0.25cm,
rulethickness=3D= 0.05cm, frame=3Doff, topframe=3Don,=20 =C2=A0bottomframe=3Don]\crlf},after=3D{\stopframedtext\blank[4cm]}]
=

Is there an available op= tion=20 to be set?
You have to add \noindentation after \stopframedtext.

\setuphead
=C2=A0 [chapter]
=C2=A0 [before=3D{\startframedtext},
=C2=A0=C2=A0 after=3D{\stopframedtext\noindentation}]

\setupindenting[yes,medium]

\starttext

\chapter{Knuth}

\input knuth

\stoptext

Wolfgang
--------------030409010303060807020906-- --===============4335825482001788169== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============4335825482001788169==--