ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] text under page floats
@ 2023-05-24 14:44 Henning Hraban Ramm via ntg-context
  2023-05-24 18:19 ` Henning Hraban Ramm via ntg-context
  0 siblings, 1 reply; 4+ messages in thread
From: Henning Hraban Ramm via ntg-context @ 2023-05-24 14:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Henning Hraban Ramm

Hi,

in more than one of my books, I struggle with some lines of text below 
page floats. They start below the regular text area (i.e. in the bottom) 
and can even consist of a table float or a section title.

I can’t reproduce it in a simple example like this:

"""
\starttext

\dorecurse{2}{\samplefile{tufte}}

\startplacefigure[location=page,title={Pagefloat}]
\framed[width=\textwidth,height=.5\textheight]{TEST}
\stopplacefigure

\dorecurse{5}{\samplefile{knuth}}

\stoptext
"""

What could cause this behavior? For what should I look in my setups?

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] 4+ messages in thread

* Re: [NTG-context] text under page floats
  2023-05-24 14:44 [NTG-context] text under page floats Henning Hraban Ramm via ntg-context
@ 2023-05-24 18:19 ` Henning Hraban Ramm via ntg-context
  2023-05-24 19:07   ` Henning Hraban Ramm via ntg-context
  0 siblings, 1 reply; 4+ messages in thread
From: Henning Hraban Ramm via ntg-context @ 2023-05-24 18:19 UTC (permalink / raw)
  To: Henning Hraban Ramm via ntg-context; +Cc: Henning Hraban Ramm

Am 24.05.23 um 16:44 schrieb Henning Hraban Ramm via ntg-context:
> Hi,
> 
> in more than one of my books, I struggle with some lines of text below 
> page floats. They start below the regular text area (i.e. in the bottom) 
> and can even consist of a table float or a section title.
> 
> I can’t reproduce it in a simple example like this:
> 
> """
> \starttext
> 
> \dorecurse{2}{\samplefile{tufte}}
> 
> \startplacefigure[location=page,title={Pagefloat}]
> \framed[width=\textwidth,height=.5\textheight]{TEST}
> \stopplacefigure
> 
> \dorecurse{5}{\samplefile{knuth}}
> 
> \stoptext
> """
> 
> What could cause this behavior? For what should I look in my setups?

In this instances, location=opposite causes the float to disappear.

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] 4+ messages in thread

* Re: [NTG-context] text under page floats
  2023-05-24 18:19 ` Henning Hraban Ramm via ntg-context
@ 2023-05-24 19:07   ` Henning Hraban Ramm via ntg-context
  2023-06-02 12:02     ` [NTG-context] SOLVED: " Henning Hraban Ramm via ntg-context
  0 siblings, 1 reply; 4+ messages in thread
From: Henning Hraban Ramm via ntg-context @ 2023-05-24 19:07 UTC (permalink / raw)
  To: Henning Hraban Ramm via ntg-context; +Cc: Henning Hraban Ramm

I found a MWE that shows the problem:

"""
\setuppapersize[C5]

\showframe

\starttext

\startplacefigure[location=page,title={Pagefloat}]
\framed[width=\textwidth,height=.75\textheight]{TEST}
\stopplacefigure

\dorecurse{4}{\section{Tufte \recurselevel}

\samplefile{tufte}}

\stoptext
"""

If the page float is placed before a title, the next section starts 
below the float.

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] 4+ messages in thread

* Re: [NTG-context] SOLVED: text under page floats
  2023-05-24 19:07   ` Henning Hraban Ramm via ntg-context
@ 2023-06-02 12:02     ` Henning Hraban Ramm via ntg-context
  0 siblings, 0 replies; 4+ messages in thread
From: Henning Hraban Ramm via ntg-context @ 2023-06-02 12:02 UTC (permalink / raw)
  To: ntg-context; +Cc: Henning Hraban Ramm

Am 24.05.23 um 21:07 schrieb Henning Hraban Ramm via ntg-context:
> If the page float is placed before a title, the next section starts 
> below the float.

This is solved now after a one-line fix by Hans. (And I was dense.)

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] 4+ messages in thread

end of thread, other threads:[~2023-06-02 12:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-24 14:44 [NTG-context] text under page floats Henning Hraban Ramm via ntg-context
2023-05-24 18:19 ` Henning Hraban Ramm via ntg-context
2023-05-24 19:07   ` Henning Hraban Ramm via ntg-context
2023-06-02 12:02     ` [NTG-context] SOLVED: " 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).