deri pushed a commit to branch master
in repository groff.
commit 15c6ca4fe8265e823a9d4f1ce468ac9341c1eed0
Author: Deri James <[email protected]>
AuthorDate: Tue Nov 4 15:04:35 2025 +0000
[sboxes]: Handle situation where a box is ended at the
bottom of a page, but the indent gap triggers a new page.
* contrib/sboxes/sboxes.tmac (BOXSTOP): Turn off vertical
position traps before advancing for bottom indent.
---
contrib/sboxes/sboxes.tmac | 3 +++
1 file changed, 3 insertions(+)
diff --git a/contrib/sboxes/sboxes.tmac b/contrib/sboxes/sboxes.tmac
index 63c92636a..4899df3ba 100644
--- a/contrib/sboxes/sboxes.tmac
+++ b/contrib/sboxes/sboxes.tmac
@@ -136,9 +136,12 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>.
. nr bx*PD 0
..
.de BOXSTOP
+. vpt 0
. sp \\*[bx*ind\\n[bx*stack]]u-\\n[.psr]u
+. vpt 1
. pdfbackground off
. nr bx*stack \\n[bx*stack]-1u
+. fl
..
.\" Local Variables:
.\" mode: nroff
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit