[NTG-context] Strange behaviour of \start/stopplacefigure

Tomas Hala tomas.hala at mendelu.cz
Fri Mar 30 19:01:13 CEST 2018


Hi,

in the example below I came across the very strange behaviour of key 
location: if I use values none or top, the following paragraph is indented
according to the settings whereas if I use the value bottom, 
the first line of the following paragraph starts just on the left, 
without any indentation.

What am I doing wrong? 

Thanks for a help,

Tomáš

%%%%%%%%%%%%%%%%%%%%%% TL2017 

\starttext
	\indenting[yes,2em,first]
	\setupfloat[indentnext=yes]

1none. \input knuth

\startplacefigure[location={none,}]
\setupcaption[width=0.45\makeupwidth,align={nothyphenated,middle},textcommand=\crlf,distance=0cc]
  \startfloatcombination[2*1]
     \placefigure{caption left}{\externalfigure[cow.pdf][height=5cm]}
     \placefigure{caption right}{\externalfigure[cow.pdf][height=5cm]}
  \stopfloatcombination
\stopplacefigure

1top. \input knuth

\startplacefigure[location={top,none,}]
\setupcaption[width=0.45\makeupwidth,align={nothyphenated,middle},textcommand=\crlf,distance=0cc]
  \startfloatcombination[2*1]
     \placefigure{caption left}{\externalfigure[cow.pdf][height=5cm]}
     \placefigure{caption right}{\externalfigure[cow.pdf][height=5cm]}
  \stopfloatcombination
\stopplacefigure

1bottom. \input knuth

\startplacefigure[location={bottom,none,}]
\setupcaption[width=0.45\makeupwidth,align={nothyphenated,middle},textcommand=\crlf,distance=0cc]
  \startfloatcombination[2*1]
     \placefigure{caption left}{\externalfigure[cow.pdf][height=5cm]}
     \placefigure{caption right}{\externalfigure[cow.pdf][height=5cm]}
  \stopfloatcombination
\stopplacefigure

1end. \input knuth !!! NOT INDENTED

\stoptext

%%%%%%%%%%%%%%%%%%%%%%


More information about the ntg-context mailing list