gbranden pushed a commit to branch master
in repository groff.
commit 556493d87d287071d5569a29fab0d7586bbd4da3
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue Jul 2 13:13:11 2024 -0500
[mm]: Fix computation of list item text indent.
* contrib/mm/m.tmac (LI): Fix computation of item's text indentation
when the mark (plus any padding) exceeds that of the list. Problem
introduced by me in commit e0332c122e, 14 June.
---
contrib/mm/ChangeLog | 6 ++++++
contrib/mm/m.tmac | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/contrib/mm/ChangeLog b/contrib/mm/ChangeLog
index a20a3e908..6b223be20 100644
--- a/contrib/mm/ChangeLog
+++ b/contrib/mm/ChangeLog
@@ -1,3 +1,9 @@
+2024-07-02 G. Branden Robinson <[email protected]>
+
+ * m.tmac (LI): Fix computation of item's text indentation when
+ the mark (plus any padding) exceeds that of the list. Problem
+ introduced by me in commit e0332c122e, 14 June.
+
2024-07-02 G. Branden Robinson <[email protected]>
* m.tmac (LI): Reduce padding after overlong mark from 2n to 1n.
diff --git a/contrib/mm/m.tmac b/contrib/mm/m.tmac
index e650e44e2..9d86dcebb 100644
--- a/contrib/mm/m.tmac
+++ b/contrib/mm/m.tmac
@@ -2387,7 +2387,7 @@ ML, RL, VL, or LB first
. @warning \\$0: overlong mark '\\*[li*c-mark]'
. nr li*c-pad 1n \" force item/mark separation
.\}
-.nr li*text-begin \\n[li*tind]>?\w@\\*[li*c-mark]@+\\n[li*c-pad]
+.nr li*text-begin \\n[li*tind]>?(\w@\\*[li*c-mark]@+\\n[li*c-pad])
.\"
.\" determine where the mark begin
.ie !\\n[li*c-pad] .nr li*mark-begin \\n[li*mind]
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit