ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pontus Lurcock <pont@talvi.net>
To: ntg-context@ntg.nl
Subject: Re: Indent paragraph after \placefigure
Date: Sun, 27 Mar 2011 13:15:00 +1300	[thread overview]
Message-ID: <20110327001500.GZ29732@rae.vm.bytemark.co.uk> (raw)
In-Reply-To: <20110327002246.6a4dab2d@glyph>

Sorry, I think I misunderstood the problem the first time (since I
didn't actually run your example until now). \setupfloats[indentnext=yes]
(as I understand it) controls the behaviour after the float is actually
placed in the output, rather than after the \placefigure... in the
source.

I'd expect the blank line after the \placefigure to trigger
indentation for the next paragraph, but this doesn't happen. I now
remember seeing this problem while typesetting a thesis chapter. Going
back to my source file, I see I worked around it in the most obvious
way:

\setupindenting [yes, medium]
\setupfloats    [indentnext=yes]
\starttext
This line is indented as intended.

\placefigure[auto][fig:somefigure]{My graphic}{}

\indentation This is indented, but only because of the explicit command.

This line is fine.
\stoptext

Maybe there is a better solution, but I don't know it... hope this is
helpful anyway.

Regards,

Pont


On Sun 27 Mar 2011, Marco wrote:

> On 2011-03-27 Pontus Lurcock <pont@talvi.net> wrote:
> 
> > On Sat 26 Mar 2011, Marco wrote:
> > 
> > > How to indent the paragraph after a \placefigure?
> > 
> > http://wiki.contextgarden.net/Reference/en/setupindenting says that
> > \setupfloats[indentnext=yes] should give the desired result.
> > (I haven't tested it, though.)
> 
> According to the manual \setupfloats[indentnext=yes] is the default behaviour.
> But it's not working, same result here:
> 
> \setupindenting [yes, medium]
> \setupfloats    [indentnext=yes]
> \starttext
> This line is indented as intended.
> 
> \placefigure[auto][fig:somefigure]{My graphic}{}
> 
> This is not, but I'd like it to be.
> 
> This line is fine.
> \stoptext
> 
> 
> Marco
> 
___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2011-03-27  0:15 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-26 22:37 Marco
2011-03-26 23:15 ` Pontus Lurcock
2011-03-26 23:22   ` Marco
2011-03-27  0:15     ` Pontus Lurcock [this message]
2011-03-27  0:22       ` Marco
2011-03-27  7:12     ` Wolfgang Schuster
2011-03-27 12:18       ` Marco
2011-03-27 21:14         ` Pontus Lurcock
2011-03-27 21:49           ` Marco
2011-03-27 21:59             ` Pontus Lurcock
2011-03-27 22:53           ` Hans Hagen
2011-03-27 23:05             ` Marco
2011-05-14 16:41             ` Steffen Wolfrum
2011-03-27 17:45 ` Wolfgang Schuster
2011-03-27 20:09   ` Marco

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=20110327001500.GZ29732@rae.vm.bytemark.co.uk \
    --to=pont@talvi.net \
    --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).