gbranden pushed a commit to branch master
in repository groff.

commit fa1f01ff07ef2802e3a6827c3cb84ca8cf0dda07
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon Oct 20 15:54:00 2025 -0500

    [man]: Make less noise given degenerate documents.
    
    * tmac/an.tmac: Initialize more state to prevent warnings when
      formatting degenerate documents.
---
 ChangeLog    | 5 +++++
 tmac/an.tmac | 2 ++
 2 files changed, 7 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 4f036eaf1..1973898be 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2025-10-20  G. Branden Robinson <[email protected]>
+
+       * tmac/an.tmac: Initialize more state to prevent warnings when
+       formatting degenerate documents.
+
 2025-10-20  G. Branden Robinson <[email protected]>
 
        * src/roff/troff/input.cpp (usage): Resync usage message with
diff --git a/tmac/an.tmac b/tmac/an.tmac
index 8d9045207..a3c4aadf2 100644
--- a/tmac/an.tmac
+++ b/tmac/an.tmac
@@ -1480,6 +1480,8 @@ contains unsupported escape sequence
 .
 .\" Initialize registers and strings that trap-called macros access, to
 .\" avoid warnings when formatting degenerate man(7) documents.
+.an*reset-paragraph-spacing
+.nr an-margin 0
 .nr an-need-no-space-mode 0
 .nr an-need-break 0
 .ds an-pageref \" empty

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

Reply via email to