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: Deri James
Subject: [bug #50770] .PSPIC macro at bottom of page causes unwarranted page break
Date: Fri, 5 May 2017 09:19:53 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

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

Humble apologies! I've been wrong all along! I've now done some playing and
THIS is how it works.

The default point size is 10 and the vertical size is 12, the page length is
792 (11 inches) so exactly 66 lines fit on a page. After .sp 64 the text "Line
1" is on line 65. PSPIC causes a break, to force the previous line of text to
be output, it will now be on line 66. This is the 1v, since calling PSPIC
causes the break to the next line, and now it needs room for the graphic of
2pt, but since the top of the graphic is alligned to the base-line of line 66,
there is no room. So the  graphic and the text "Line 3" move to the next
page.

When .vs 0 is active, the break caused by PSPIC (which causes zero movement),
means the top of the graphic is aligned to the base-line of line 65, so there
now is room for the graphic. If you compare the 3 pdfs, hopefully it
illustrates what I am trying to explain.

So I was completely wrong to say the 1v occurs after the graphic, it is in
fact the break onto a new line where the top of graphic aligns to tat
base-line.

(file #40593)
    _______________________________________________________

Additional Item Attachment:

File name: savannah-50770-v2.tar.gz       Size:4 KB


    _______________________________________________________

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]