bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #50770] .PSPIC macro at bottom of page causes unwarranted page brea


From: Dave
Subject: [bug #50770] .PSPIC macro at bottom of page causes unwarranted page break
Date: Thu, 4 May 2017 16:35:56 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #9, bug #50770 (project groff):

> Yes, so the maximum amount of usable space which
> is lost, is 1v.

No, the maximum amount of usable space that is lost (for any size graphic) is
the height of the graphic.

Consider three cases, with a 10cm x 10cm graphic as an example.

1. At the bottom of the page is room for the graphic plus one line of text. 
PSPIC happily puts the graphic and its following line of text there.

2. Add one line of text above the graphic, so that there is no longer room on
the page for the line of text below it.  There are still 10cm of usable
vertical space at the bottom of the page.  But PSPIC *will not use* that
space; because of the +1v requirement, it will move the entire graphic to the
next page, resulting in a 10cm blank vertical space.

3. Add another line of text above the graphic.  Now there is insufficient
space for the graphic on the page at all, so it must be moved to the next
page.  This results in 10cm - 1v of blank space at the bottom of the page, but
since the graphic had to appear at that point in the text, this space is
unavoidable: this is not "usable space" unless the author rearranges things.

It is case 2 I am hoping to fix, so that those 10cm do not go to waste when
the graphic can fit there.  Cases 1 and 3 already do the best thing it is
possible to do in those scenarios.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50770>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]