![](https://secure.gravatar.com/avatar/e5aa6984b53b8925e405ebbdbc051ad9.jpg?s=120&d=mm&r=g)
Am 01.04.24 um 18:54 schrieb Wolfgang Schuster:
Henning Hraban Ramm schrieb am 01.04.2024 um 18:29:
Am 01.04.24 um 18:21 schrieb Wolfgang Schuster:
Henning Hraban Ramm schrieb am 01.04.2024 um 17:19:
A while ago, I was pointed (by Wolfgang or Hans, I guess) to \start/stoptextdisplay to enhance whitespace handling around images.
My guess is Mikael because I saw the command the first time in the source of a presentation from him.
Oh, that’s probably where I saw it, too.
Here is a short example which two other solution to get a similar effect as \starttextdisplay.
\usemodule[visual]
\setupfloat[figure][location=left]
\starttext
\fakewords{10}{20} \startlinecorrection \fakeimage{4cm}{3cm}{6cm}{4cm} \stoplinecorrection \fakewords{10}{20}
\blank[2*line]
\fakewords{10}{20} \startplacefigure[location={force,none}] \fakeimage{4cm}{3cm}{6cm}{4cm} \stopplacefigure \fakewords{10}{20}
\blank[2*line]
\fakewords{10}{20} \starttextdisplay \fakeimage{4cm}{3cm}{6cm}{4cm} \stoptextdisplay \fakewords{10}{20}
\stoptext
Thank you! And when would you suggest what? A float I’d use only if I need caption/numbering or the floating feature. When I tried line correction, it never helped; probably I used it wrong (e.g. around section titles).
I wanted to document it, but can’t find it in the sources:
The definition is in spac-ver.mkxl.
Thank you!
So, "context --find" does not what I thought it would.
AFAIR the find option searches only the manual sources.
Looks like it. So I should use grep (mtxrun --script grep). Hraban