[NTG-context] Indenting after floating image

Thangalin thangalin at gmail.com
Wed Feb 19 03:37:38 CET 2014


Hi Jan,

A work-around:

\setupexternalfigures[location=default]
\setupindenting[yes,medium]

\define[1]\PlaceFigure{
  \startplacefigure[number=no, location={page}, title={}]
  \externalfigure[#1]
  \stopplacefigure
  \\ \vskip-1em
}

\starttext
\input{ward}
\PlaceFigure{cow}
\input{ward}
\stoptext

The wiki states:

\setupindenting does not take care of indenting after environments,
such as ConTeXt's itemizes, enumerations, definitions, formulas and
floats.

The work-around forces the new line using \\, then immediately skips
back a line.


More information about the ntg-context mailing list