gbranden pushed a commit to branch master in repository groff. commit 3be3b64c0994c062dc5579ed73dc0df513ac3690 Author: G. Branden Robinson <g.branden.robin...@gmail.com> AuthorDate: Tue Jul 4 11:19:58 2023 -0500
[mm]: Use `hd@mark-trimmed` in index entries. * contrib/mm/m.tmac (IND): Use `hd@mark-trimmed` instead of `hd*mark` in index entries, just as is done with references; we don't want trailing spaces in it. --- contrib/mm/ChangeLog | 6 ++++++ contrib/mm/m.tmac | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/contrib/mm/ChangeLog b/contrib/mm/ChangeLog index b3423f998..64af14fb3 100644 --- a/contrib/mm/ChangeLog +++ b/contrib/mm/ChangeLog @@ -1,3 +1,9 @@ +2023-07-04 G. Branden Robinson <g.branden.robin...@gmail.com> + + * m.tmac (IND): Use `hd@mark-trimmed` instead of `hd*mark` in + index entries, just as is done with references; we don't want + trailing spaces in it. + 2023-05-18 G. Branden Robinson <g.branden.robin...@gmail.com> Improve input validation of `INITI`, `IND` macros. diff --git a/contrib/mm/m.tmac b/contrib/mm/m.tmac index 9b9debae2..5f066cfd6 100644 --- a/contrib/mm/m.tmac +++ b/contrib/mm/m.tmac @@ -3373,8 +3373,8 @@ exceeds depth of nested lists (\\n[li*lvl]) . as ind*line \t\\$1 .\} .if '\\*[ind*type]'N' .ds ind*ref \\n[%] -.if '\\*[ind*type]'H' .ds ind*ref \\*[hd*mark] -.if '\\*[ind*type]'B' .ds ind*ref \\*[hd*mark]\t\\n[%] +.if '\\*[ind*type]'H' .ds ind*ref \\*[hd@mark-trimmed] +.if '\\*[ind*type]'B' .ds ind*ref \\*[hd@mark-trimmed]\t\\n[%] .as ind*line \\*[ind*ref] .if \\n[Ref] .tm .\\\\" IND \\*[ind*line] .. _______________________________________________ Groff-commit mailing list Groff-commit@gnu.org https://lists.gnu.org/mailman/listinfo/groff-commit