gbranden pushed a commit to branch master
in repository groff.

commit da3dbb3a1f8de0b4f27b23acfb08dab3b1dc7cf2
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Aug 28 19:28:56 2026 -0500

    [man]: Fix Savannah #68658.
    
    * tmac/an.tmac (IP): If invoked without arguments, call
      `an*break-paragraph` likewise, so that we don't defeat inter-paragraph
      spacing.  In other words, let's work as documented.
    
      "Use IP without arguments to associate successive paragraphs with an
      existing list item; to these, inter‐paragraph spacing applies even in
      compact lists."
    
    Fixes <https://savannah.gnu.org/bugs/?68658>.  Thanks to Alex Colomar
    for identifying an `LS`/`LE` use case revealing this gap.
---
 ChangeLog    | 15 +++++++++++++++
 tmac/an.tmac |  2 +-
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 343889e88..d2a2721c2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2026-08-28  G. Branden Robinson <[email protected]>
+
+       * tmac/an.tmac (IP): If invoked without arguments, call
+       `an*break-paragraph` likewise, so that we don't defeat
+       inter-paragraph spacing.  In other words, let's work as
+       documented.
+
+       "Use IP without arguments to associate successive paragraphs
+       with an existing list item; to these, inter‐paragraph spacing
+       applies even in compact lists."
+
+       Fixes <https://savannah.gnu.org/bugs/?68658>.  Thanks to Alex
+       Colomar for identifying an `LS`/`LE` use case revealing this
+       gap.
+
 2026-08-28  G. Branden Robinson <[email protected]>
 
        * tmac/tests/an_LS-and-LE-work.sh: Regression-test Savannah
diff --git a/tmac/an.tmac b/tmac/an.tmac
index 7c5a8f1fb..b0e90f204 100644
--- a/tmac/an.tmac
+++ b/tmac/an.tmac
@@ -942,7 +942,7 @@ contains unsupported escape sequence
 .  nr an*enforce-tag-separation 0
 .  ie !\\n[.$] \{\
 .    if \\n[DEBUG] .tm GBR: mark VALID08: \\$0
-.    an*break-paragraph 1
+.    an*break-paragraph
 .    ne (1v + 1u)
 .    if (\\n[an*list-depth] > 0) \{\
 .      if \\n[DEBUG] .tm GBR: mark VALID17: \\$0

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

Reply via email to