[NTG-context] Indent paragraph after \placefigure

Wolfgang Schuster schuster.wolfgang at googlemail.com
Sun Mar 27 19:45:41 CEST 2011


Am 26.03.2011 um 23:37 schrieb Marco:

> How to indent the paragraph after a \placefigure?
> 
> Example:
> 
> \setupindenting [yes, medium]
> \starttext
> This line is indented as intended.
> 
> \placefigure[auto][fig:somefigure]{My graphic}{}
> 
> This is not, but I'd like it to be.
> 
> This line is fine.
> \stoptext

Not sure if there are side effects but adding \nonoindentation to these
two commands from strc-flt.mkiv help for the “auto” and “bottom” keywords.

- \def\somebottomfloat       [#1]{\someelsefloat[#1]}
- \def\someautofloat         [#1]{\someelsefloat[#1]}
+ \def\someautofloat         [#1]{\someelsefloat[#1]\nonoindentation}
+ \def\somebottomfloat       [#1]{\someelsefloat[#1]\nonoindentation}

Wolfgang



More information about the ntg-context mailing list