* [NTG-context] How to really force figure to appear "here"? [not found] <184739469.220649.1684633669751.ref@mail.yahoo.com> @ 2023-05-21 1:47 ` Joel via ntg-context 2023-05-21 6:35 ` Mikael Sundqvist via ntg-context 2023-05-21 13:11 ` Joel via ntg-context 0 siblings, 2 replies; 5+ messages in thread From: Joel via ntg-context @ 2023-05-21 1:47 UTC (permalink / raw) To: Mailing List for ConTeXt Users; +Cc: Joel [-- Attachment #1.1: Type: text/plain, Size: 444 bytes --] 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 [-- Attachment #1.2: Type: text/html, Size: 729 bytes --] [-- Attachment #2: Type: text/plain, Size: 496 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [NTG-context] How to really force figure to appear "here"? 2023-05-21 1:47 ` [NTG-context] How to really force figure to appear "here"? Joel via ntg-context @ 2023-05-21 6:35 ` Mikael Sundqvist via ntg-context 2023-05-21 13:11 ` Joel via ntg-context 1 sibling, 0 replies; 5+ messages in thread From: Mikael Sundqvist via ntg-context @ 2023-05-21 6:35 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Mikael Sundqvist Hi, On Sun, May 21, 2023 at 3:48 AM Joel via ntg-context <ntg-context@ntg.nl> wrote: > > 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 ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [NTG-context] How to really force figure to appear "here"? 2023-05-21 1:47 ` [NTG-context] How to really force figure to appear "here"? Joel via ntg-context 2023-05-21 6:35 ` Mikael Sundqvist via ntg-context @ 2023-05-21 13:11 ` Joel via ntg-context 2023-05-21 13:17 ` Wolfgang Schuster via ntg-context 1 sibling, 1 reply; 5+ messages in thread From: Joel via ntg-context @ 2023-05-21 13:11 UTC (permalink / raw) To: Joel via ntg-context; +Cc: Joel [-- Attachment #1.1: Type: text/plain, Size: 1794 bytes --] 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 <ntg-context@ntg.nl> wrote: 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 ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ [-- Attachment #1.2: Type: text/html, Size: 3605 bytes --] [-- Attachment #2: Type: text/plain, Size: 496 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [NTG-context] How to really force figure to appear "here"? 2023-05-21 13:11 ` Joel via ntg-context @ 2023-05-21 13:17 ` Wolfgang Schuster via ntg-context 2023-05-24 14:36 ` Henning Hraban Ramm via ntg-context 0 siblings, 1 reply; 5+ messages in thread From: Wolfgang Schuster via ntg-context @ 2023-05-21 13:17 UTC (permalink / raw) To: Joel via ntg-context; +Cc: Wolfgang Schuster [-- Attachment #1.1: Type: text/plain, Size: 891 bytes --] 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 [-- Attachment #1.2: Type: text/html, Size: 1567 bytes --] [-- Attachment #2: Type: text/plain, Size: 496 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [NTG-context] How to really force figure to appear "here"? 2023-05-21 13:17 ` Wolfgang Schuster via ntg-context @ 2023-05-24 14:36 ` Henning Hraban Ramm via ntg-context 0 siblings, 0 replies; 5+ messages in thread From: Henning Hraban Ramm via ntg-context @ 2023-05-24 14:36 UTC (permalink / raw) To: ntg-context; +Cc: Henning Hraban Ramm 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 ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-05-24 14:37 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <184739469.220649.1684633669751.ref@mail.yahoo.com> 2023-05-21 1:47 ` [NTG-context] How to really force figure to appear "here"? Joel via ntg-context 2023-05-21 6:35 ` Mikael Sundqvist via ntg-context 2023-05-21 13:11 ` Joel via ntg-context 2023-05-21 13:17 ` Wolfgang Schuster via ntg-context 2023-05-24 14:36 ` 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).