28 Aug
2016
28 Aug
'16
10:59 p.m.
On Sun, 28 Aug 2016, Aditya Mahajan wrote:
Hi,
This is based on a question on TeX.SE https://tex.stackexchange.com/questions/326653/context-wrapfigure-interacts-...
All marginrules except those of level 1 stop working after \placefigure[right]. Here is a minimal example:
\useexternalfigure[ctanlion][http://www.ctan.org/lion/ctan_lion_350x350.png][width=4cm] \starttext
\placefigure[here,none,right]{}{\externalfigure[ctanlion]} \input knuth
\startmarginrule[2] \input ward \stopmarginrule
\startmarginrule[1] \input ward \stopmarginrule
\startmarginrule[3] \input ward \stopmarginrule
\stoptext
The output is attached.
The attached patch seems to fix the bug. Aditya