Re: [NTG-context] How to really force figure to appear "here"?

2023-05-24 Thread Henning Hraban Ramm via ntg-context

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
___


Re: [NTG-context] How to really force figure to appear "here"?

2023-05-21 Thread 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).


\placefigure[force]{caption}{\externalfigure[1.jpg][width=\textwidth]}

Wolfgang

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


Re: [NTG-context] How to really force figure to appear "here"?

2023-05-21 Thread Joel via ntg-context
 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 
 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
___
  ___
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
___


Re: [NTG-context] How to really force figure to appear "here"?

2023-05-21 Thread Mikael Sundqvist via ntg-context
Hi,

On Sun, May 21, 2023 at 3:48 AM Joel via ntg-context  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
___


[NTG-context] How to really force figure to appear "here"?

2023-05-20 Thread 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
___
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
___