Aditya Mahajan wrote:
Hi, When I use \placefigure[left] with some test, the text wraps around the figure. But if the paragraph, contains some formula, it does not wrap even after the figure is complete. How can I prevent such a behaviour.
Example \startbuffer[figure] \placefigure [left] {}{} \stopbuffer
\startbuffer[test] \dorecurse{3}{\input knuth} \stopbuffer
\startbuffer[mathtest] \dorecurse{3}{ This is a dummy paragraph to support a little bit of math to show the trouble with placefigure \startformula a = b \stopformula This is a dummy paragraph to support a little bit of math to show the trouble with placefigure This is a dummy paragraph to support a little bit of math to show the trouble with placefigure} \stopbuffer
\starttext \getbuffer[figure] \getbuffer[test]
\page
\getbuffer[figure] \getbuffer[mathtest]
\stoptext
add empty lines around the \start\stop pair (somehow display does not go well with the parshape (i must discuss this with taco) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------