Placing figures with text wrap causes page break
I've searched through the ContextGarden documentation and tried Googling this issue, but I must not be hitting the right keywords. Sorry if this has already been answered. When I place a figure with the following code, the document leaves two-thirds of the page before blank and puts the graphic on the following page. I have other figures in the document and this issue happens repeatedly throughout. Below is my abbreviated ConTeXt. I've tried adding \dontleavehmode like this, but it results in the graphic moving to the left and being overwritten by the text. \placefigure[right,2*hang,nonumber] {Longish caption text} {\dontleavehmode\externalfigure [another_graphic.jpg] [0.4 \textwidth]} I've also tried adding \dontleavehmode like this, but it has no effect: \dontleavehmode \placefigure[right,2*hang,nonumber] {Longish caption text} {\externalfigure [graphic.jpg] [0.4 \textwidth]} How can I get the "Some more text" to move up to fill the empty page? Thank you for any help you can provide! \setuppapersize[letter][letter] \setuplayout[ topspace=0.5in, backspace=1in, header=24pt, footer=36pt, height=middle, width=middle] \setupwhitespace[big] \setupalign [right, nothyphenated] \setupcaptions{style=\tfx\ss] \define\bold{\dontleavehmode\groupedcommand\bf\donothing} \starttext \title{title text} Some text here. \bold{subheader} \placefigure[right,2*hang,nonumber] {Longish caption text} {\externalfigure [graphic.jpg] [0.4 \textwidth]} More text \placefigure[right,2*hang,nonumber] {Longish caption text} {\externalfigure [another_graphic.jpg] [0.4 \textwidth]} Even more text \stoptext
participants (1)
-
Philip