From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94711 Path: news.gmane.org!not-for-mail From: Andrea Valle Newsgroups: gmane.comp.tex.context Subject: Re: headline and no indent Date: Mon, 9 May 2016 17:52:34 +0200 Message-ID: <16990C7F-10D3-4BCE-A15F-1462DC2F9C44@di.unito.it> References: <7ED7583F-B3D0-400C-82D6-314D5C11ECBD@di.unito.it> <5730B065.5030305@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Content-Type: multipart/mixed; boundary="===============3248460881445834054==" X-Trace: ger.gmane.org 1462810545 6486 80.91.229.3 (9 May 2016 16:15:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 May 2016 16:15:45 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon May 09 18:15:30 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 1aznUX-0003hO-VH for gctc-ntg-context-518@m.gmane.org; Mon, 09 May 2016 17:53:06 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id EAA02C138; Mon, 9 May 2016 17:52: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 aiH6wkowsha0; Mon, 9 May 2016 17:52:53 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 2AD1BC13C; Mon, 9 May 2016 17:52:53 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 52B4FC135 for ; Mon, 9 May 2016 17:52:52 +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 pjOj9iTIjGKb for ; Mon, 9 May 2016 17:52:51 +0200 (CEST) Original-Received: from mail.di.unito.it (pianeta.di.unito.it [130.192.156.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 71090C134 for ; Mon, 9 May 2016 17:52:41 +0200 (CEST) X-MailScanner-From: valle@di.unito.it X-SpamCheck: not spam, SpamAssassin (not cached, score=-102.437, required 3, autolearn=not spam, AUTHENTICATEDUSER -100.00, AWL -0.03, BAYES_00 -1.90, HTML_MESSAGE 0.00, MISSING_FROM 1.00, RCVD_IN_DNSWL_MED -2.30, RDNS_NONE 0.79, SPF_PASS -0.00) X-AntiVirus: Email Clean X-dipinfo-MailScanner-ID: u49FqYda009231 X-dipinfo-MailScanner-Information: Please contact Department of Computer Science technical staff for more information Original-Received: from mail.di.unito.it ([130.192.156.1]) by mail.di.unito.it (INFO-DIP) with ESMTP id u49FqYda009231 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO AuthenticatedUser=valle ) for ; Mon, 9 May 2016 17:52:35 +0200 (CEST) In-Reply-To: <5730B065.5030305@gmail.com> X-Mailer: Apple Mail (2.2104) 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:94711 Archived-At: --===============3248460881445834054== Content-Type: multipart/alternative; boundary="Apple-Mail=_552AF500-07BA-4B7D-B560-D7B5AA1171C9" --Apple-Mail=_552AF500-07BA-4B7D-B560-D7B5AA1171C9 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Thanks Wolfgang (and Marco), that was the trick! Best -a- -------------------------------------------------- Andrea Valle -------------------------------------------------- CIRMA - StudiUm Universit=C3=A0 degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> http://www.fonurgia.unito.it/andrea/ --> http://www.flickr.com/photos/vanderaalle/sets/ --> http://vimeo.com/vanderaalle --> andrea.valle@unito.it -------------------------------------------------- "This is a very complicated case, Maude. You know, a lotta ins, a lotta = outs, a lotta what-have-yous."=20 (Jeffrey 'The Dude' Lebowski) > On 09 May 2016, at 17:44, Wolfgang Schuster = wrote: >=20 >> Andrea Valle 9. Mai 2016 um 17:19 >> Dear all, >>=20 >> I=E2=80=99m finishing a book in ConTeXt. The publisher is pretty = happy with the results. >> But he asks me: >>=20 >> When opting for paragraph indents, paragraphs following directly = after a headline should no show the indent. >>=20 >> I guess that the first line of chapter/section/subsection should have = no indent. >> Hmm, how to get this? >>=20 >>=20 >> For chapter/section/subsection >> I have e.g. >>=20 >> \setuphead[chapter] >> [style=3D\ss\tfc, before=3D{\blank[1cm]\startframedtext[width=3Dlocal, = foregroundcolor=3Dblack, background=3Dcolor, backgroundcolor=3DbgGrey1, = framecolor=3DbgGrey2,offset=3D0.25cm, >> rulethickness=3D0.05cm, frame=3Doff, topframe=3Don, = bottomframe=3Don]\crlf},after=3D{\stopframedtext\blank[4cm]}] >>=20 >> Is there an available option to be set? > You have to add \noindentation after \stopframedtext. >=20 > \setuphead > [chapter] > [before=3D{\startframedtext}, > after=3D{\stopframedtext\noindentation}] >=20 > \setupindenting[yes,medium] >=20 > \starttext >=20 > \chapter{Knuth} >=20 > \input knuth >=20 > \stoptext >=20 > Wolfgang > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > maillist : ntg-context@ntg.nl / = http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > = __________________________________________________________________________= _________ --Apple-Mail=_552AF500-07BA-4B7D-B560-D7B5AA1171C9 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Thanks Wolfgang (and Marco), that was the trick!

Best

-a-

--------------------------------------------------
Andrea = Valle
--------------------------------------------------
CIRMA - = StudiUm
Universit=C3=A0 degli Studi di Torino
--------------------------------------------------

"This is a very = complicated case, Maude. You know, a lotta ins, a lotta outs, a lotta = what-have-yous." 
(Jeffrey 'The Dude' Lebowski)

On 09 May 2016, at 17:44, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:

 
9. Mai 2016 um 17:19
Dear all,

I=E2=80=99m finishing a = book in ConTeXt. The publisher is pretty happy with the = results.
But he asks me:

When opting for paragraph indents, = paragraphs following directly after a headline  should no show the = indent.

I = guess that the first line of chapter/section/subsection should have 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, = foregroundcolor=3Dblack, background=3Dcolor, backgroundcolor=3DbgGrey1, = framecolor=3DbgGrey2,offset=3D0.25cm,
rulethickness=3D0.05cm, frame=3Doff, topframe=3Don, =  bottomframe=3Don]\crlf},after=3D{\stopframedtext\blank[4cm]}]
<= /div>

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
_______________________________________________________________= ____________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
_______________________________________________________________= ____________________

= --Apple-Mail=_552AF500-07BA-4B7D-B560-D7B5AA1171C9-- --===============3248460881445834054== 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= --===============3248460881445834054==--