From: Sylvain Hubert <champignoom@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Indentation after \placefigure
Date: Tue, 10 Nov 2020 10:15:08 +0100 [thread overview]
Message-ID: <CACNy3NBsS=bGK8iGifwv9LVfJpwumk259PUsnDiSdOpOEChzzQ@mail.gmail.com> (raw)
In-Reply-To: <6dfa4180-c43d-8cd7-63b2-bb727e532707@fastwebnet.it>
[-- Attachment #1.1: Type: text/plain, Size: 937 bytes --]
On Tue, 10 Nov 2020 at 10:05, mf <massifr@fastwebnet.it> 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
[-- Attachment #1.2: Type: text/html, Size: 1522 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2020-11-10 9:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-10 8:42 Sylvain Hubert
2020-11-10 9:04 ` mf
2020-11-10 9:15 ` Sylvain Hubert [this message]
2020-11-10 16:58 ` Aditya Mahajan
2020-11-10 17:08 ` Sylvain Hubert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CACNy3NBsS=bGK8iGifwv9LVfJpwumk259PUsnDiSdOpOEChzzQ@mail.gmail.com' \
--to=champignoom@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).