[NTG-context] Float positioning
Geert Dobbels
dobbels.geert at googlemail.com
Thu Apr 9 20:44:16 CEST 2020
Hello,
Maybe I did not understand the problem, but doesn't the code below give
you the expected result?:
\setupexternalfigures[location={local,default}]
\starttext
\dorecurse{3}{\input{knuth}}
\placefigure[force]{cow}{\externalfigure[cow][width=150mm]}
\input{knuth}
\placefigure[force,page]{one more cow}{\externalfigure[cow][width=150mm]}
\placefigure[force,page]{cow again}{\externalfigure[cow][width=150mm]}
\dorecurse{10}{\input{knuth}}
\stoptext
Geert
On 06/04/2020 13:15, Alexey Kryukov wrote:
> Hi all,
>
> Suppose I have the following document:
>
> \setupexternalfigures[location={local,default}]
> \starttext
>
> \dorecurse{3}{\input{knuth}}
> \placefigure[top]{cow}{\externalfigure[cow][width=150mm]}
> \input{knuth}
> \placefigure[page]{one more cow}{\externalfigure[cow][width=150mm]}
> \placefigure[page]{cow again}{\externalfigure[cow][width=150mm]}
> \dorecurse{10}{\input{knuth}}
> \stoptext
>
> Here I would expect the text flow to continue below the first image,
> and then two more images to be positioned on separate pages. Instead I
> get no text at all at the page with the Figure 1 and one more
> blank page after it. Only after the last image the text flow continues.
>
> Since similar situations are very common for documents which contain
> several large illustrations, I would like to know if there are any
> workarounds for the problem.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20200409/2f92d118/attachment-0001.htm>
More information about the ntg-context
mailing list