ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Geert Dobbels <dobbels.geert@googlemail.com>
To: ntg-context@ntg.nl
Subject: Re: Float positioning
Date: Thu, 9 Apr 2020 20:44:16 +0200	[thread overview]
Message-ID: <6aaae701-e4aa-a556-2895-162072610916@gmail.com> (raw)
In-Reply-To: <20200406141550.a635e708f8f4e81e6dbba45c@yandex.ru>


[-- Attachment #1.1: Type: text/plain, Size: 1382 bytes --]

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.
>


[-- Attachment #1.2: Type: text/html, Size: 3101 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2020-04-09 18:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-06 11:15 Alexey Kryukov
2020-04-06 11:58 ` Tomas Hala
2020-04-06 12:15   ` Alexey Kryukov
2020-04-06 14:53     ` Tomas Hala
2020-04-08 14:53       ` Alexey Kryukov
2020-04-09 18:44 ` Geert Dobbels [this message]
2020-04-10  2:48   ` Alexey Kryukov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6aaae701-e4aa-a556-2895-162072610916@gmail.com \
    --to=dobbels.geert@googlemail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).