Henning Hraban Ramm schrieb am 27.01.2020 um 10:31:
Am 2020-01-26 um 13:07 schrieb Henning Hraban Ramm
: I thought I’d try columnset areas for the placement of ads: This MWE shows better what’s going on: The "area" space is reserved as requested, but its contents get placed elsewhere.
\usemodule[visual] \useMPlibrary[dum] \definecolor[fakerulecolor][gray] \setuplayout[ grid=yes, ] \showframe[text] \showgrid
\definecolumnset[Two][ n=2, page=no, ] %\definecolumnsetspan[TwoSpan][n=2] \definecolumnsetarea[AdSpace][ x=1,y=21, nx=1,ny=21, state=stop, frame=on, framecolor=magenta, ]
\starttext \startcolumnset[Two]
\dorecurse{10}{\fakewords{100}{120}\par}
\setupcolumnsetarea[AdSpace][state=start] \setupcolumnsetareatext[AdSpace]{\externalfigure[MyAd][width=\textwidth,height=0.45\textheight]}
You need brackets for both argument, i.e. \setupcolumnsetareatext[...][...] but even then your example only works when I place the areatext before \startcolumnset. Wolfgang