[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #64029] [man, mdoc]: page break handling probably introduced anothe
From: |
G. Branden Robinson |
Subject: |
[bug #64029] [man, mdoc]: page break handling probably introduced another problem |
Date: |
Tue, 11 Apr 2023 22:12:02 -0400 (EDT) |
Update of bug #64029 (project groff):
Category: Preprocessor tbl => Macro - others/general
Status: None => Need Info
Assigned to: None => gbranden
Summary: tbl: page break handling probably introduced another
problem => [man,mdoc]: page break handling probably introduced another problem
_______________________________________________________
Follow-up Comment #1:
Hi there,
This sounds like it might be the same issue as bug #63960.
The following patch seems to fix it.
Unfortunately, we're frozen for everything except documentation changes for
groff 1.23.0 at this point; you might want to consider a local patch.
A workaround is to not use vertical rules in tables in man(7) or mdoc(7), but
I'm sure that feels even more lame to hear as it does for me to say it.
diff --git a/tmac/an.tmac b/tmac/an.tmac
index 9e38ba569..ef1eab241 100644
--- a/tmac/an.tmac
+++ b/tmac/an.tmac
@@ -1203,6 +1203,10 @@ contains unsupported escape sequence
. \" If continuous rendering, tell tbl not to use keeps.
. ie \\n[cR] .nr 3usekeeps 0
. el .nr 3usekeeps 1
+. if \\n[cR] \{\
+. nr an*saved-trap-distance \\n[.t]
+. pl +1000i
+. \}
. if \\n[an*is-output-html] \{\
. nr an-TS-ll \\n[.l]
. ll 1000n
@@ -1218,6 +1222,10 @@ contains unsupported escape sequence
.de1 TE
. HTML-IMAGE-END
. if \\n[an*is-output-html] .ll \\n[an-TS-ll]u
+. if \\n[cR] \{\
+. pl (u;\\n[nl] + \\n[an*saved-trap-distance])
+. rr an*saved-trap-distance
+. \}
. if !r TW .if !\\n[an-was-tbl-failure-reported] \{\
. ds an-msg tbl preprocessor failed, or it or soelim was not run;\"
. as an-msg " table(s) likely not rendered\"
Please confirm if this fixes the problem for you.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64029>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/