ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm via ntg-context <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: Henning Hraban Ramm <texml@fiee.net>
Subject: Re: How to stop \placefigure from floating off to some other page?
Date: Sun, 30 Jan 2022 10:42:44 +0100	[thread overview]
Message-ID: <fc873e96-4135-0e33-915b-6881b4af762e@fiee.net> (raw)
In-Reply-To: <81552605-96C1-4CC4-A645-CEE932B6F67C@scorecrow.com>

Am 30.01.22 um 00:44 schrieb Bruce Horrocks via ntg-context:
> On 29 Jan 2022, at 21:30, Joel via ntg-context <ntg-context@ntg.nl> wrote:
>>
>> When I used `\placefigure`, ConTeXt often puts the figure on a completely different page, my readership of young students is getting confused where the image is. How can I have all of my `\placefigure` in the entire document appear exactly where called, even if that means having to place it on a new page with lots of space before it or even a new page afterwards? I need it to show up in the order it was called. I think `\setupexternalfigures[location=]` should provide the solution, but cann't figure what is the correct location, I'm not seeing that in the manual anywhere.
> 
> Use the force Luke...
> 
> e.g.
> \placefigure [force] [fig1] {Caption} {\externalfigure [filename.png]}
> 
> The location= option is for where on the page (e.g. in a margin, in the main text) the picture will go, the actual page it appears on is controlled by 'here' or 'force' or the default which is to float along until it finds what it thinks is a good place.

Not really. "here" and "force" are just options for location, i.e.
location={here,force}
should mostly do what you want.

Hraban
___________________________________________________________________________________
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
___________________________________________________________________________________

      reply	other threads:[~2022-01-30  9:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <446440904.2042811.1643491817935.ref@mail.yahoo.com>
2022-01-29 21:30 ` Joel via ntg-context
2022-01-29 23:44   ` Bruce Horrocks via ntg-context
2022-01-30  9:42     ` Henning Hraban Ramm via ntg-context [this message]

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=fc873e96-4135-0e33-915b-6881b4af762e@fiee.net \
    --to=ntg-context@ntg.nl \
    --cc=texml@fiee.net \
    /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).