From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109418 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Indentation after \placefigure Date: Tue, 10 Nov 2020 11:58:24 -0500 (EST) Message-ID: References: <6dfa4180-c43d-8cd7-63b2-bb727e532707@fastwebnet.it> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-768961766-1605027504=:747246" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21568"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Alpine 2.23 (LNX 453 2020-06-18) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 10 18:04:45 2020 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 1kcX4W-0005Sa-Th for gctc-ntg-context-518@m.gmane-mx.org; Tue, 10 Nov 2020 18:04:44 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 921B41AA32C; Tue, 10 Nov 2020 17:58:28 +0100 (CET) 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 Swr0PqmNz5Kd; Tue, 10 Nov 2020 17:58:27 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A76311A9FEF; Tue, 10 Nov 2020 17:58:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id EAA9D1A9FD0 for ; Tue, 10 Nov 2020 17:58:26 +0100 (CET) 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 bmdIo-qBKEq7 for ; Tue, 10 Nov 2020 17:58:26 +0100 (CET) Received-SPF: Softfail (mailfrom) identity=mailfrom; client-ip=132.206.73.2; helo=orford.cim.mcgill.ca; envelope-from=adityam@umich.edu; receiver= Original-Received: from orford.cim.mcgill.ca (orford.cim.mcgill.ca [132.206.73.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 528E11A9F7F for ; Tue, 10 Nov 2020 17:58:25 +0100 (CET) Original-Received: from adi-thinkpad (198-48-192-62.cpe.teksavvy.com [198.48.192.62]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: adityam) by orford.cim.mcgill.ca (Postfix) with ESMTPSA id 5BF5111BEE6 for ; Tue, 10 Nov 2020 11:58:24 -0500 (EST) In-Reply-To: <6dfa4180-c43d-8cd7-63b2-bb727e532707@fastwebnet.it> 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:109418 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-768961766-1605027504=:747246 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE On Tue, 10 Nov 2020, mf wrote: > Il 10/11/20 09:42, Sylvain Hubert ha scritto: > > Dear List, > >=20 > > Does anyone know how to indent the paragraph beneath \placefigure in th= e=20 > > following example? > >=20 > > =C2=A0 =C2=A0 \indenting[2em] > > =C2=A0 =C2=A0 \setupindenting[yes] > >=20 > > =C2=A0 =C2=A0 \starttext > >=20 > > =C2=A0 =C2=A0 \dorecurse{50}{a b c } > >=20 > > =C2=A0 =C2=A0 \placefigure[here,none][indentnext=3Dyes]{}{ > > =C2=A0 =C2=A0 \startMPcode > > =C2=A0 =C2=A0 draw fullcircle scaled 1cm; > > =C2=A0 =C2=A0 \stopMPcode > > =C2=A0 =C2=A0 } > >=20 > > =C2=A0 =C2=A0 \dorecurse{50}{d e f } % not indented > >=20 > > =C2=A0 =C2=A0 \dorecurse{50}{g h i } > > =C2=A0 =C2=A0 \stoptext > >=20 >=20 > The second bracket group of \placefigure is for references. > Instead of >=20 > \placefigure[here,none][indentnext=3Dyes]{}{... >=20 > write >=20 > \setupfloat[figure][indentnext=3Dyes] > \placefigure[here,none]{}{... >=20 > That way you enable indentation after every figure. If you want to change the behavior for a particular figure, you can also us= e the \start...stop variant: \startplacefigure[location=3D{here,none}, indentnext=3Dyes] .... \stopplacefigure Aditya --8323329-768961766-1605027504=:747246 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== --8323329-768961766-1605027504=:747246--