[NTG-context] Marginrule levels after \placefigure[right]

Aditya Mahajan adityam at umich.edu
Sun Aug 28 22:59:22 CEST 2016


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-with-marginrule
>
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: anch-bar.patch
Type: text/x-diff
Size: 853 bytes
Desc: 
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160828/35cd9caa/attachment.patch>


More information about the ntg-context mailing list