ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* right figure at bottom of page can narrow text block on whole next page
@ 2019-01-29 11:48 Sanjoy Mahajan
  2019-02-06 17:52 ` Rik Kabel
  0 siblings, 1 reply; 3+ messages in thread
From: Sanjoy Mahajan @ 2019-01-29 11:48 UTC (permalink / raw)
  To: ntg-context

Dear List,

A figure near the bottom of the page can narrow the text block on the
whole next page.  I noticed the problem when typesetting my (next) book.
But the book is more a maximal than a minimal example.  However, from it
I made the minimal example included below that uses no external figures.

Figure 2 is the bottom of the page and the paragraph flows to its left
with a correspondingly narrower text block.  So far, so good.  But the
text block also narrows for the entirity of page 2 and for the first
two lines of page 3.  

I've found the problem on the MkIV 2019.01.07 and 2019.01.28 betas (all
on Debian amd64), as well as on the live ConTeXt (which is the
2019.01.28 beta).

-Sanjoy

================== start margin-figure-region.tex =====================
\definepapersize[bookcrop][width=137mm,height=221mm]
\setuppapersize [bookcrop][bookcrop]

\setuplayout[marking=on, 
  location=middle,
  backspace=13.5mm,
  width=middle,
  topspace=32bp, 
  header=10bp, headerdistance=26bp,
  footerdistance=16bp, footer=10bp,
  height=578bp,
]

\setupinterlinespace[line=1.3em]
\setupbodyfont[times,10bp]

\starttext

\input knuth

Silly para

Silly para

\placefigure[right]{}{\framed[width=100bp,height=75.75bp]{\null}}

\input knuth

\dorecurse{8}{\par Silly para}

\placefigure[right]{}{\framed[width=100bp,height=60.75bp]{\null}}

\dorecurse{32}{Silly text }

\dorecurse{3}{\input knuth \par}

\stoptext
================== end margin-figure-region.tex =====================
___________________________________________________________________________________
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: right figure at bottom of page can narrow text block on whole next page
  2019-01-29 11:48 right figure at bottom of page can narrow text block on whole next page Sanjoy Mahajan
@ 2019-02-06 17:52 ` Rik Kabel
  2019-02-06 19:35   ` Sanjoy Mahajan
  0 siblings, 1 reply; 3+ messages in thread
From: Rik Kabel @ 2019-02-06 17:52 UTC (permalink / raw)
  To: ntg-context

On 1/29/2019 06:48, Sanjoy Mahajan wrote:
> \definepapersize[bookcrop][width=137mm,height=221mm]
> \setuppapersize [bookcrop][bookcrop]
>
> \setuplayout[marking=on,
>    location=middle,
>    backspace=13.5mm,
>    width=middle,
>    topspace=32bp,
>    header=10bp, headerdistance=26bp,
>    footerdistance=16bp, footer=10bp,
>    height=578bp,
> ]
>
> \setupinterlinespace[line=1.3em]
> \setupbodyfont[times,10bp]
>
> \starttext
>
> \input knuth
>
> Silly para
>
> Silly para
>
> \placefigure[right]{}{\framed[width=100bp,height=75.75bp]{\null}}
>
> \input knuth
>
> \dorecurse{8}{\par Silly para}
>
> \placefigure[right]{}{\framed[width=100bp,height=60.75bp]{\null}}
>
> \dorecurse{32}{Silly text }
>
> \dorecurse{3}{\input knuth \par}
>
> \stoptext

This has come up a few times on this list. Hans has stated a reluctance 
to make a change or add an option to discard the unused vertical space 
(see https://www.mail-archive.com/ntg-context@ntg.nl/msg21273.html from 
March 2007, and most recently 
https://www.mail-archive.com/ntg-context@ntg.nl/msg86872.html in January 
2018).

The workaround that Hans suggests in that last post , adding the flag 
'high', almost resolves the issue in your example.

-- 
Rik

___________________________________________________________________________________
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: right figure at bottom of page can narrow text block on whole next page
  2019-02-06 17:52 ` Rik Kabel
@ 2019-02-06 19:35   ` Sanjoy Mahajan
  0 siblings, 0 replies; 3+ messages in thread
From: Sanjoy Mahajan @ 2019-02-06 19:35 UTC (permalink / raw)
  To: Rik Kabel, ntg-context

> This has come up a few times on this list. Hans has stated a reluctance 
> to make a change or add an option to discard the unused vertical space 
> (see https://www.mail-archive.com/ntg-context@ntg.nl/msg21273.html from 
> March 2007, and most recently 
> https://www.mail-archive.com/ntg-context@ntg.nl/msg86872.html in January 
> 2018).

Thank you for those pointers.

> The workaround that Hans suggests in that last post , adding the flag
> 'high', almost resolves the issue in your example.

Right -- or just shifting the figure upward by one paragraph or so.  In
a long document like a book, pagebreaks need to be adjusted by hand at
the end anyway to avoid long stretches of unused bottom space.
Adjusting the figure placements slightly can become part of that
process.

-Sanjoy
___________________________________________________________________________________
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:[~2019-02-06 19:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-29 11:48 right figure at bottom of page can narrow text block on whole next page Sanjoy Mahajan
2019-02-06 17:52 ` Rik Kabel
2019-02-06 19:35   ` Sanjoy Mahajan

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).