[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #24050] [mm] footnote/end-of-page problem
From: |
G. Branden Robinson |
Subject: |
[bug #24050] [mm] footnote/end-of-page problem |
Date: |
Sat, 19 Oct 2024 13:52:32 -0400 (EDT) |
Follow-up Comment #6, bug #24050 (group groff):
I'm less sure now that bug #56499 is the culprit in this case.
$ cat ./ATTIC/24050.mm
.de ptrap
. nop \&.t=\\n[.t]u
. if \\n[.g] .if r .trap \&.trap=\[lq]\\n[.trap]\[rq]
..
This is input line number 1 containing a bunch of meaningless words.
This is input line number 2 containing a bunch of meaningless words.
This is input line number 3 containing a bunch of meaningless words.
This is input line number 4 containing a bunch of meaningless words.
This is input line number 5 containing a bunch of meaningless words.
Skipping now to bottom of page.
.ptrap
.sp |693000u
This line references a footnote\*F;
.ptrap
.FS
.ptrap
This is the footnote.
It takes up 2 lines on U.S.\& letter paper.
If there is exactly that much space on the page for it,
it apparently clobbers the end-of-page trap,
so the first page overflows.
The footnote ends up on the next page.
.FE
This is input line number 6 containing a bunch of meaningless words.
This is input line number 7 containing a bunch of meaningless words.
This is input line number 8 containing a bunch of meaningless words.
This is input line number 9 containing a bunch of meaningless words.
This is input line number 10 containing a bunch of meaningless words.
This is input line number 11 containing a bunch of meaningless words.
This is input line number 12 containing a bunch of meaningless words.
This is input line number 13 containing a bunch of meaningless words.
This is input line number 14 containing a bunch of meaningless words.
This is input line number 15 containing a bunch of meaningless words.
This is input line number 16 containing a bunch of meaningless words.
This is input line number 17 containing a bunch of meaningless words.
This is input line number 18 containing a bunch of meaningless words.
This is input line number 19 containing a bunch of meaningless words.
This is input line number 20 containing a bunch of meaningless words.
$ ./build/test-groff -ab -ww -mm ./ATTIC/24050.mm
<beginning of page>
- 1 -
This is input line number 1 containing a bunch of meaningless words. This is
input line number 2
containing a bunch of meaningless words. This is input line number 3
containing a bunch of meaningless
words. This is input line number 4 containing a bunch of meaningless words.
This is input line number 5
containing a bunch of meaningless words. Skipping now to bottom of page.
.t=612000u
.trap=<lq>pg@footer<rq>
This line references a footnote1; .t=39000u .trap=<lq>pg@footer<rq> This is
input line number 6 containing a
bunch of meaningless words. This is input line number 7 containing a bunch of
meaningless words. This is
input line number 8 containing a bunch of meaningless words. This is input
line number 9 containing a
bunch of meaningless words. This is input line number 10 containing a bunch of
meaningless words. This
is input line number 11 containing a bunch of meaningless words. This is input
line number 12 containing
a bunch of meaningless words. This is input line number 13 containing a bunch
of meaningless words.
This is input line number 14 containing a bunch of meaningless words. This is
input line number 15
containing a bunch of meaningless words. This is input line number 16
containing a bunch of meaningless
words. This is input line number 17 containing a bunch of meaningless words.
This is input line number
<beginning of page>
- 2 -
18 containing a bunch of meaningless words. This is input line number 19
containing a bunch of
meaningless words. This is input line number 20 containing a bunch of
meaningless words.
1.
.t=2147483647u .trap=<lq><rq> This is the footnote. It takes up 2 lines on
U.S. letter paper. If there is exactly that much space on the
page for it, it apparently clobbers the end-of-page trap, so the first page
overflows. The footnote ends up on the next page.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?24050>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #24050] [mm] footnote/end-of-page problem,
G. Branden Robinson <=