Re: [NTG-context] Float positioning

2020-04-09 Thread Alexey Kryukov
On Thu, 9 Apr 2020 20:44:16 +0200 Geert Dobbels wrote: > Hello, > > Maybe I did not understand the problem, but doesn't the code below > give you the expected result?: Hmm, unfortunately no. Using [top,force] just causes context to break the text flow at the place where the image is specified.

Re: [NTG-context] Float positioning

2020-04-09 Thread Geert Dobbels
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}

Re: [NTG-context] Float positioning

2020-04-08 Thread Alexey Kryukov
On Mon, 6 Apr 2020 16:53:33 +0200 Tomas Hala wrote: > You can try the work around below, it is based on computation of > additional measures for special instance of figure. Thank you, this is helpful indeed, at least as a workaround. -- Regards, Alexey Kryukov Moscow State University Faculty

Re: [NTG-context] Float positioning

2020-04-06 Thread Tomas Hala
Hi Alexey, # Yes, I tried leftpage/rightpage: this removes the blank page, but may # cause images to be reordered (so that e. g. 3 goes before 2), which is # completely unacceptable IMO. Yes, you are right. But -- I do not know why -- your code you attached gives on my computer (TL2019) the

Re: [NTG-context] Float positioning

2020-04-06 Thread Alexey Kryukov
Hi Tomas, thank you for your answer. Yes, I tried leftpage/rightpage: this removes the blank page, but may cause images to be reordered (so that e. g. 3 goes before 2), which is completely unacceptable IMO. Also, this doesn't help with the text flow at the page where the first image is

Re: [NTG-context] Float positioning

2020-04-06 Thread Tomas Hala
Hi Alexey, I do not how free are you in decision where figures should be located but I tried with "leftpage" and "rightpage" instead of "page" and it seems to be ok. \placefigure[rightpage]{one more cow}{\externalfigure[cow][width=150mm]} \placefigure[leftpage]{cow