From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109421 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 18:08:41 +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="===============7005346414963182927==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32425"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 10 18:24:18 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 1kcXNR-0008Kc-Lh for gctc-ntg-context-518@m.gmane-mx.org; Tue, 10 Nov 2020 18:24:17 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D80531A9C39; Tue, 10 Nov 2020 18:08:57 +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 FfM4TV4WH4mg; Tue, 10 Nov 2020 18:08:56 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 27A131A9E0A; Tue, 10 Nov 2020 18:08:56 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D84C11A9C37 for ; Tue, 10 Nov 2020 18:08:54 +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 qfkAlqxfmwNi for ; Tue, 10 Nov 2020 18:08:53 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.53; helo=mail-io1-f53.google.com; envelope-from=champignoom@gmail.com; receiver= Original-Received: from mail-io1-f53.google.com (mail-io1-f53.google.com [209.85.166.53]) (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 864C81A9C34 for ; Tue, 10 Nov 2020 18:08:53 +0100 (CET) Original-Received: by mail-io1-f53.google.com with SMTP id u21so14957816iol.12 for ; Tue, 10 Nov 2020 09:08:53 -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=aX8qzXaJDQ9bTgcFc7LkX/5jkwn+ii7JzMhOhDsyfrE=; b=nlZeVyMEo6qBZ+trEMcDh3wgNMIdTbOtuFFI1rJaMH1FH3tiFC2CrTNyT8GTFwai9C yVTI6EECJeiS7h7hjWBz9USWGBrqCL/r7AJIrj6lmGIWga1VcK09CqQpodzrN7ANbGDz p35QH5TJuWNtb8NyW8usTR+Y9ypkYdwh0ThoYWIh8sqbRPUx2W/A4agDztaRT5N8ONli zitsrLYqtj0fKtLUq0T3KfNXkl4gUnhXgLoykGnawTK42eqMS6ZabojwsMI2TPlLrDWp 5yim9+hBiDWeo38u6rZLXI5QLXpVCapnzU7pWYVGEYVuW2DGcq6VGNcIqEYIiVIe+nFn Di2Q== 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=aX8qzXaJDQ9bTgcFc7LkX/5jkwn+ii7JzMhOhDsyfrE=; b=HNpbfRfJ8ykJF7hMxFZraDiazbE1fMAVarNdCSQY8FhBDSNfVi7e+fCJrYeyLWKlvF W1iGtk1ebnY0MUAjrL94Z8+OPnxb2CW5RkZdQcAXLzULhItMXAkjTMQUCw7O8UZpzpnE G8vBqTsoEwdOXxWcYqMr5DKoVBKtqf301FQmeIYv79CXpyUiM79uzLvzfg58/ESd008t mkXT0M7FI3alPocbGPWUvdMng+QH5EJfPaHRLtyEhKfTkd9nK8ttBSClwIaF2zG9DGZj Jpq796VIOCjc/pwSgxdlbnBQv/kDJ23dqdDv6dP5piJmsU+8CIZ3vtINnBBqPe7hcRYI Rs9Q== X-Gm-Message-State: AOAM532dicbzjbb9pTmh+OO7x39OlMV5bWwWT0iD6BNsgtA7Z+8z4TkO CinZveA67kwJLOdcWXpPjmpJJe68QO9Ma0slQnOtihUSTOw= X-Google-Smtp-Source: ABdhPJw3qJzsj8LBt5x3dI7JrEQcGdjgtoqoy1llPHkZzWqiG1EC+ie/CJn2/F10K6Dg3LNr1L0XdBEyjcFAjODj7R0= X-Received: by 2002:a02:a15b:: with SMTP id m27mr16425054jah.116.1605028132492; Tue, 10 Nov 2020 09:08:52 -0800 (PST) In-Reply-To: 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:109421 Archived-At: --===============7005346414963182927== Content-Type: multipart/alternative; boundary="000000000000b11ebb05b3c3bb80" --000000000000b11ebb05b3c3bb80 Content-Type: text/plain; charset="UTF-8" On Tue, 10 Nov 2020 at 18:05, Aditya Mahajan wrote: > On Tue, 10 Nov 2020, 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. > > If you want to change the behavior for a particular figure, you can also > use the \start...stop variant: > > \startplacefigure[location={here,none}, indentnext=yes] > .... > \stopplacefigure > Thanks for the information, Aditya! Sylvain --000000000000b11ebb05b3c3bb80 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, 10 Nov 2020 at 18:05, Aditya Mahajan <adityam@umich.edu> wrote:
On Tue, 10 Nov 2020, 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?
> >
> >=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]{}{<= br> > >=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.

If you want to change the behavior for a particular figure, you can also us= e the \start...stop variant:

=C2=A0 =C2=A0 \startplacefigure[location=3D{here,none}, indentnext=3Dyes] =C2=A0 =C2=A0 =C2=A0 =C2=A0....
=C2=A0 =C2=A0 \stopplacefigure

Thanks f= or the information, Aditya!

Sylvain
--000000000000b11ebb05b3c3bb80-- --===============7005346414963182927== 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== --===============7005346414963182927==--