From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109409 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sylvain Hubert Newsgroups: gmane.comp.tex.context Subject: Re: Indentation after \placefigure Date: Tue, 10 Nov 2020 10:15:08 +0100 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="===============8530464426424752212==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37727"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 10 10:15:52 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 1kcPkl-0009hm-TU for gctc-ntg-context-518@m.gmane-mx.org; Tue, 10 Nov 2020 10:15:51 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 57D251A9E5B; Tue, 10 Nov 2020 10:15:24 +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 iOF_WSvvfTsv; Tue, 10 Nov 2020 10:15:23 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 756451A9F78; Tue, 10 Nov 2020 10:15:23 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id CCC141A9F53 for ; Tue, 10 Nov 2020 10:15:21 +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 5skM7GjUhREy for ; Tue, 10 Nov 2020 10:15:21 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.176; helo=mail-il1-f176.google.com; envelope-from=champignoom@gmail.com; receiver= Original-Received: from mail-il1-f176.google.com (mail-il1-f176.google.com [209.85.166.176]) (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 22C331A9E5B for ; Tue, 10 Nov 2020 10:15:21 +0100 (CET) Original-Received: by mail-il1-f176.google.com with SMTP id l12so8480206ilo.1 for ; Tue, 10 Nov 2020 01:15:21 -0800 (PST) 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=QJRF1aU/Y+487qVQ5taMF8wIzf7gXfqfz6NlnSuCXV4=; b=qKsvnLG5XRlq8ez9FmC3mlg/XTgwThM/k55IAa+Phy9GYf2kDYPEPCYvksCzEKUDQK YG9k3ZeJZjvXNmv5GPodEWayevSloUA/x/m7psUtdPim8AqYac/2gG8lgvtHsNtguOjy aEhBuCZDoGNoKnQtAwUarNlfpsytAIt3TT9sGLbZctq8ZLXacISYIcRtQ9u/PYRMCvOY jm6hGk+Cs9vuv2aiuAoBsjeOVN3VtQJ8Iy0DnbaQF/p33oIuOPSKnYY/4PEaNF9r6Cel GE7CaGHqf/0gPatxkC8JAnKorXJAxV0+wAUlnr54XlPECFQBCZJSIABgwobH11S+eH+3 5CQA== 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=QJRF1aU/Y+487qVQ5taMF8wIzf7gXfqfz6NlnSuCXV4=; b=VW3jx7lub6koUNJIg0nUrKL+wzS/mKGVJPi6widtAMVyYm1nxv/RbnxD3A1nznjQJN AYdK+xuQNQkzBnIl1rMZ3ksXtu07oQXygLLGM9A8AMoC9OvObQUlboCnU8hXrnJAQXTZ eTnViYusjo9g3f2frGSoH9cTya/f0Ae6LhBerUYZ+EqCI41OGwY6fAivVLaU4IvYr2kv xoKvOEmlZUkT2mv417mFZ9MiOCvlsGpVka26ERqQus9pllYtza2zGQnw1R76OvgvuErA M8N8ducE7ngM169amw5gBiIWTHMETaanBelHi23f5UEOePIhMvDqP63NuYNv3FPlYOvh zG/Q== X-Gm-Message-State: AOAM5339jAF22A4iqL7DVMERf2/NHinjkXn/JEq+hDg+Ig0qefMgWxJ8 UMYpJPu/bnnKgHgaYiQ2bJSyF6IieOW6Dt37wgC1Vtze6m0= X-Google-Smtp-Source: ABdhPJxQDYvKD1fo3k/opvdeYdHBuZIfVJJ1IrgcG2gK/ocqgFoJ8+kKh5RhVSHzBrqap5fSIbtFzasWh+ZxH7POz54= X-Received: by 2002:a05:6e02:df1:: with SMTP id m17mr13704645ilj.70.1604999719873; Tue, 10 Nov 2020 01:15:19 -0800 (PST) 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:109409 Archived-At: --===============8530464426424752212== Content-Type: multipart/alternative; boundary="0000000000002af1cc05b3bd1e4f" --0000000000002af1cc05b3bd1e4f Content-Type: text/plain; charset="UTF-8" On Tue, 10 Nov 2020 at 10:05, mf wrote: > Il 10/11/20 09:42, Sylvain Hubert ha scritto: > > Dear List, > > > > Does anyone know how to indent the paragraph beneath \placefigure in the > > following example? > > > > \indenting[2em] > > \setupindenting[yes] > > > > \starttext > > > > \dorecurse{50}{a b c } > > > > \placefigure[here,none][indentnext=yes]{}{ > > \startMPcode > > draw fullcircle scaled 1cm; > > \stopMPcode > > } > > > > \dorecurse{50}{d e f } % not indented > > > > \dorecurse{50}{g h i } > > \stoptext > > > > The second bracket group of \placefigure is for references. > Instead of > > \placefigure[here,none][indentnext=yes]{}{... > > write > > \setupfloat[figure][indentnext=yes] > \placefigure[here,none]{}{... > > That way you enable indentation after every figure. > > Massi > Hi Massi, It works! Thanks for the help! Sylvain --0000000000002af1cc05b3bd1e4f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, 10 Nov 2020 at 10:05, mf <massifr@fastwebnet.it> wrote:
Il 10/11/20 09:42, Sylvain Hubert ha scrit= to:
> Dear List,
>
> Does anyone know how to indent the paragraph beneath \placefigure in t= he
> following example?
>
>=C2=A0 =C2=A0 =C2=A0 \indenting[2em]
>=C2=A0 =C2=A0 =C2=A0 \setupindenting[yes]
>
>=C2=A0 =C2=A0 =C2=A0 \starttext
>
>=C2=A0 =C2=A0 =C2=A0 \dorecurse{50}{a b c }
>
>=C2=A0 =C2=A0 =C2=A0 \placefigure[here,none][indentnext=3Dyes]{}{
>=C2=A0 =C2=A0 =C2=A0 \startMPcode
>=C2=A0 =C2=A0 =C2=A0 draw fullcircle scaled 1cm;
>=C2=A0 =C2=A0 =C2=A0 \stopMPcode
>=C2=A0 =C2=A0 =C2=A0 }
>
>=C2=A0 =C2=A0 =C2=A0 \dorecurse{50}{d e f } % not indented
>
>=C2=A0 =C2=A0 =C2=A0 \dorecurse{50}{g h i }
>=C2=A0 =C2=A0 =C2=A0 \stoptext
>

The second bracket group of \placefigure is for references.
Instead of

\placefigure[here,none][indentnext=3Dyes]{}{...

write

\setupfloat[figure][indentnext=3Dyes]
\placefigure[here,none]{}{...

That way you enable indentation after every figure.

Massi

Hi Massi,

It works! Thanks for the help!

Sylvain
=
--0000000000002af1cc05b3bd1e4f-- --===============8530464426424752212== 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== --===============8530464426424752212==--