I have been using \placefigure[here, force] to place some graphics, but its instead showing other text from the next section, then the picture. In testing, this is causing readers to be confused, as they expect to see a picture, but its somehow appearing two pages later. I don't care it it requires a huge blank area on the page before it, how can I make it so any text after \placefigure[here, force] doesn't appear before the figure? --Joel
Hi,
On Sun, May 21, 2023 at 3:48 AM Joel via ntg-context
I have been using \placefigure[here, force] to place some graphics, but its instead showing other text from the next section, then the picture. In testing, this is causing readers to be confused, as they expect to see a picture, but its somehow appearing two pages later. I don't care it it requires a huge blank area on the page before it, how can I make it so any text after \placefigure[here, force] doesn't appear before the figure?
--Joel
You submit no example, but with the one I tried, \placefigure[force] seems to place the figure at the place where it is called. Doesn't that work for you? /Mikael
Here, I've created an example that does just that. I want the figure to appear immediately after the bold text. Even if a lot of whitespace is placed and the figure appears on the next page, that is fine, but I don't want the next group of text to appear until *after* the figure. This is really confusing my readers.
\starttext
\input knuth
\input knuth
{\boldface This is a short note about the picture. It should appear right after this.}
\placefigure[here,force]{caption}{
\externalfigure[1.jpg][width=\textwidth]
}
\input knuth
\input knuth
\input knuth
\input knuth
\input knuth
\input knuth
\stoptext
--Joel
On Saturday, May 20, 2023 at 07:49:45 PM MDT, Joel via ntg-context
Joel via ntg-context schrieb am 21.05.2023 um 15:11:
Here, I've created an example that does just that. I want the figure to appear immediately after the bold text. Even if a lot of whitespace is placed and the figure appears on the next page, that is fine, but I don't want the next group of text to appear until *after* the figure. This is really confusing my readers.
\starttext \input knuth \input knuth
{\boldface This is a short note about the picture. It should appear right after this.} \placefigure[here,force]{caption}{ \externalfigure[1.jpg][width=\textwidth] }
Get rid of the here keyword and use only force, you can't use both at the same time and one gets ignored (depends whatever is first checked in the float mechanism). \placefigure[force]{caption}{\externalfigure[1.jpg][width=\textwidth]} Wolfgang
Am 21.05.23 um 15:17 schrieb Wolfgang Schuster via ntg-context:
Joel via ntg-context schrieb am 21.05.2023 um 15:11:
Here, I've created an example that does just that. I want the figure to appear immediately after the bold text. Even if a lot of whitespace is placed and the figure appears on the next page, that is fine, but I don't want the next group of text to appear until *after* the figure. This is really confusing my readers.
\starttext \input knuth \input knuth
{\boldface This is a short note about the picture. It should appear right after this.} \placefigure[here,force]{caption}{ \externalfigure[1.jpg][width=\textwidth] }
Get rid of the here keyword and use only force, you can't use both at the same time and one gets ignored (depends whatever is first checked in the float mechanism).
I seem to remember it used to work and was even suggested. Then I’d consider it a bug/regression. Does {bottom,force} make sense? Hraban
participants (4)
-
Henning Hraban Ramm
-
Joel
-
Mikael Sundqvist
-
Wolfgang Schuster