bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 8/8] man/terminfo.tail: Prevent bad pagination.


From: G. Branden Robinson
Subject: [PATCH 8/8] man/terminfo.tail: Prevent bad pagination.
Date: Sun, 25 Feb 2024 01:23:51 -0600

When typesetting PostScript or PDF for U.S. letter paper,[1] the heading
row of the subsequent table was getting set without its horizontal rule,
let alone a data row or two.  Force the table to be set with the
paragraph introducing it.

Fixes:
.../man5/terminfo.5:3924: warning: table row does not fit on page 321

[1] using the following script

dir="$HOME"/ncurses-HEAD/share/man

groff -t -ww -dHF=HB -rC1 -rCHECKSTYLE=2 -man -T pdf \
  $(find "$dir" -type f -and -not -type l | sort)
---
 man/terminfo.tail | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/man/terminfo.tail b/man/terminfo.tail
index 6f48d1600..a83d89dbe 100644
--- a/man/terminfo.tail
+++ b/man/terminfo.tail
@@ -1695,6 +1695,8 @@ magenta   COLOR_MAGENTA   5       max,    0,      max
 cyan   COLOR_CYAN      6       0,      max,    max
 white  COLOR_WHITE     7       max,    max,    max
 .TE
+.br
+.if t .ne 6v
 .PP
 The argument values of \fBsetf\fP/\fBsetb\fP historically correspond to
 a different mapping, i.e.,
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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