[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #64206] [mm] `INDP` macro produces blank page at end
From: |
G. Branden Robinson |
Subject: |
[bug #64206] [mm] `INDP` macro produces blank page at end |
Date: |
Thu, 18 May 2023 03:52:52 -0400 (EDT) |
Update of bug #64206 (project groff):
Severity: 3 - Normal => 2 - Minor
Item Group: Incorrect behaviour => Rendering/Cosmetics
Status: None => Confirmed
Summary: [mm] indexing system paginates badly => [mm] `INDP`
macro produces blank page at end
_______________________________________________________
Follow-up Comment #1:
Turns out that most of this is the same issue as bug #64207. Rather than
closing as a duplicate, I'm drastically reducing its scope.
And happily, this also gives me more confidence in that change.
$ git checkout e65938aac
[...]
$ cat EXPERIMENTS/use-index.mm
.INITI N myindex
.P
This is my document.
.IND "first item"
.IND "item, first"
.bp
.P
Here is some more stuff.
.IND "second item"
.IND "item, second"
This concludes our regularly scheduled programming.
.
Sed ut perspiciatis,
unde omnis iste natus error sit voluptatem accusantium doloremque
laudantium,
totam rem aperiam eaque ipsa,
quae ab illo inventore veritatis et quasi architecto beatae vitae dicta
sunt,
explicabo.
.INDP
$ ./build/test-groff -mm -Tascii EXPERIMENTS/use-index.mm | cat -s
- 1 -
This is my document.
- 2 -
Here is some more stuff. This concludes our regularly
scheduled programming. Sed ut perspiciatis, unde omnis iste
natus error sit voluptatem accusantium doloremque
laudantium, totam rem aperiam eaque ipsa, quae ab illo
inventore veritatis et quasi architecto beatae vitae dicta
- 3 -
sunt, explicabo.
- 4 -
INDEX
first item 1
item, first 1
item, second 2
second item 2
- 5 -
$ git checkout 50ec7561d
Previous HEAD position was e65938aac [man]: Preserve user-selected font
family.
HEAD is now at 50ec7561d [mm]: Fix Savannah #64207.
$ ./build/test-groff -mm -Tascii EXPERIMENTS/use-index.mm | cat -s
- 1 -
This is my document.
- 2 -
Here is some more stuff. This concludes our regularly
scheduled programming. Sed ut perspiciatis, unde omnis iste
natus error sit voluptatem accusantium doloremque
laudantium, totam rem aperiam eaque ipsa, quae ab illo
inventore veritatis et quasi architecto beatae vitae dicta
sunt, explicabo.
- 3 -
INDEX
first item 1
item, first 1
item, second 2
second item 2
- 4 -
$ git show
[...]
diff --git a/contrib/mm/m.tmac b/contrib/mm/m.tmac
index c679a7089..0b2878c89 100644
--- a/contrib/mm/m.tmac
+++ b/contrib/mm/m.tmac
@@ -1297,6 +1297,7 @@ numeric; got '\\$1'
.\" stop output and begin on next page. Fix footnotes and all that.
.de pg@next-page
.\".debug next-page
+.br
.ne 999i \" activate trap
.\" .pg@footer
..
So now there is just the matter of the trailing blank page, which is either a
cosmetic or documentation issue.
(The commit IDs will likely not survive into the master branch.)
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64206>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/