Re: [NTG-context] Indenting after floating image
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.
On 2014-02-19 Thangalin wrote:
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.
Thanks for sharing your approach. In meantime I've found an alternative solution: ... \stopplacefigure \indentation % this command forces the indentation of the next first paragraph Jan
participants (2)
-
Jan Tosovsky
-
Thangalin