![](https://secure.gravatar.com/avatar/46562c7d27388490d62e8d7a5bc960dd.jpg?s=120&d=mm&r=g)
On 3/29/2018 12:50 PM, Henri Menke wrote:
Dear devs,
When a figure is wrapped in a paragraph and that paragraph is the first in a section, ConTeXt adds spurious vertical space above the text (eyeballing it, I'd say it is \topskip). Find MWE with workaround below.
Found at https://tex.stackexchange.com/questions/423817
Cheers, Henri
---
\setupwhitespace[big]
\starttext
\startsection[title=section]
\startmode[fix] % Set default whitespace \setupwhitespace[none] \stopmode
\startplacefigure [location={right}, title={just a dummy figure}] \externalfigure[dummy][width=.5\textwidth] \stopplacefigure
\input lorem
\startmode[fix] % Restore whitespace \setupwhitespace[big] \stopmode
\input lorem
\stopsection
\stoptext can you test with
\def\page_sides_wrapup {% we need to do this aftergroup \aftergroup\par \aftergroup\ignoreparskip \aftergroup\ignorespaces } ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------