ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to stop \placefigure from floating off to some other page?
       [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
  0 siblings, 1 reply; 3+ messages in thread
From: Joel via ntg-context @ 2022-01-29 21:30 UTC (permalink / raw)
  To: Mailing List for ConTeXt Users; +Cc: Joel


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

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.

[-- Attachment #1.2: Type: text/html, Size: 792 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to stop \placefigure from floating off to some other page?
  2022-01-29 21:30 ` How to stop \placefigure from floating off to some other page? 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
  0 siblings, 1 reply; 3+ messages in thread
From: Bruce Horrocks via ntg-context @ 2022-01-29 23:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Bruce Horrocks

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.

—
Bruce Horrocks
Hampshire, UK

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to stop \placefigure from floating off to some other page?
  2022-01-29 23:44   ` Bruce Horrocks via ntg-context
@ 2022-01-30  9:42     ` Henning Hraban Ramm via ntg-context
  0 siblings, 0 replies; 3+ messages in thread
From: Henning Hraban Ramm via ntg-context @ 2022-01-30  9:42 UTC (permalink / raw)
  To: ntg-context; +Cc: Henning Hraban Ramm

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-30  9:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <446440904.2042811.1643491817935.ref@mail.yahoo.com>
2022-01-29 21:30 ` How to stop \placefigure from floating off to some other page? 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 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).