deri pushed a commit to branch master
in repository groff.

commit d0e29bc60cec8fb23c847458af518b5dc5cc740d
Author: Deri James <[email protected]>
AuthorDate: Tue Nov 4 17:13:24 2025 +0000

    Reinstate using -W flag when building pdfs. Baby was thrown
    out with the bathwater by me.
    
    * doc/doc_am:
    * contrib/mom/mom.am: Reinstate -W flag to provide exit code
    if a warning is produced during build.
    
    Thanks to Dave for report in:-
    
    https://savannah.gnu.org/bugs/?67612
    
    and apologies to Branden for exfiltrating the baby.
---
 ChangeLog          | 23 +++++++++++++++++++++++
 contrib/mom/mom.am |  2 +-
 doc/doc.am         |  2 +-
 3 files changed, 25 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 2594278a5..82e27dc44 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,26 @@
+2025-11-04  Deri James  <[email protected]>
+
+       Reinstate using -W flag when building pdfs. Baby was thrown
+       out with the bathwater by me.
+
+       * doc/doc_am:
+       * contrib/mom/mom.am: Reinstate -W flag to provide exit code
+       if a warning is produced during build.
+
+       Thanks to Dave for report in:-
+
+       https://savannah.gnu.org/bugs/?67612
+
+       and apologies to Branden for exfiltrating the baby.
+
+2025-11-04  Deri James  <[email protected]>
+
+       [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.
+
 2025-11-02  G. Branden Robinson <[email protected]>
 
        * src/roff/troff/input.cpp (token::next): Throw warnings in
diff --git a/contrib/mom/mom.am b/contrib/mom/mom.am
index 7b86ab67b..37f2a50e4 100644
--- a/contrib/mom/mom.am
+++ b/contrib/mom/mom.am
@@ -28,7 +28,7 @@ MOMPDFMOM = \
   GROFF_COMMAND_PREFIX= \
   GROFF_BIN_PATH="$(GROFF_BIN_PATH)" \
   $(PDFMOMBIN) $(FFLAG) $(MFLAG) -M$(mom_srcdir) -K utf8 -p -e -t \
-  -wall -b
+  -wall -b -P-W
 
 man7_MANS += contrib/mom/groff_mom.7
 
diff --git a/doc/doc.am b/doc/doc.am
index 20fe5dc7c..8bd407e31 100644
--- a/doc/doc.am
+++ b/doc/doc.am
@@ -43,7 +43,7 @@ DOC_PDFMOM = \
   GROFF_COMMAND=test-groff \
   GROFF_COMMAND_PREFIX= \
   GROFF_BIN_PATH="$(GROFF_BIN_PATH)" \
-  $(PDFMOMBIN) $(MFLAG) $(FFLAG) -ww -b --roff
+  $(PDFMOMBIN) $(MFLAG) $(FFLAG) -ww -b -P-W --roff
 
 # This image file is used by several documents in the groff source tree.
 DOC_GNU_EPS = doc/gnu.eps

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to