On Mon, 2 Apr 2018, Wolfgang Schuster wrote:

The problem is that float with the “bottom” or “auto” positions don’t indent the paragraph
which appears after the float while “top” does it.


%%%% begin example
\setupindenting[yes,6cm]
\setupfloat[figure][indentnext=yes]

\starttext

\setupbodyfont[modern]

{\bf NONE:} \input lorem

\placefigure[here]{HERE}{\blackrule[width=6cm,height=2cm]}

{\bf HERE:} \input lorem

\placefigure[top]{TOP}{\blackrule[width=6cm,height=2cm]}

{\bf TOP:} \input lorem

\placefigure[bottom]{BOTTOM}{\blackrule[width=6cm,height=2cm]}

{\bf BOTTOM:} \input lorem

\placefigure[auto]{AUTO}{\blackrule[width=6cm,height=2cm]}

{\bf AUTO:} \input lorem

\stoptext
%%%% end example


The reason for this are these line in page-one.mkiv:

\def\page_one_place_float_auto       {\page_one_place_float_otherwise}
\def\page_one_place_float_top {\page_one_place_float_otherwise\nonoindentation}
\def\page_one_place_float_bottom     {\page_one_place_float_otherwise}

Older discussion on the same topic:

https://www.mail-archive.com/ntg-context@ntg.nl/msg83098.html

Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to