On Tuesday 10 November 2009 09:51:09 Hans Hagen wrote:
> Alan BRASLAU wrote:
> > On Monday 09 November 2009 18:57:30 Wolfgang Schuster wrote:
> >> Am 09.11.2009 um 18:18 schrieb Vyatcheslav Yatskovsky:
> >>> Hi
> >>>
> >>> I noticed that after \placefigure the first paragraph of body text
> >>> is not indented. Can I enable the indenting after figures?
> >>
> >> \setupfloat[figure][indentnext=yes]
> >
> > I have also noticed that \placefigure inserts a (line) break, that is, a
> > \placefigure somewhere in the middle of a paragraph adds a break in the
> > line (as would \crlf). Is this to be the expected default behavior, and
> > is there an option to \setupfloat that controls this?
> >
> > If so, would this get broken by [indentnext=yes]?
> >
> > I would expect the default behavior be
> > 1) not to break the line
> > and
> > 2) to respect \setupindenting
> 
> placefigure is a display command, and normally has a caption etc which
> only makes sense in display usage
> 
> why use placefigure in the middle of a paragraph?

placefigure is a float.

\starttext

Typically, one would like to float a displayed figure (or table)
with its caption somewhere near the textual reference to the display.
For example, see \in[figure]{fig:example}.
\placefigure[][fig:example]{This is an example}{\externalfigure[example]}
This reference can occur in the middle of a paragraph.
The figure may float to the bottom of the page,
to the top of the next page, or further.
In this example, it is undesirable to break the line
after \quotation{For example, see figure 1.}.
Does this example illustrate the point sufficiently?

\stoptext
___________________________________________________________________________________
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 via email to