groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 17/23: [mm]: Trivially refactor.


From: G. Branden Robinson
Subject: [groff] 17/23: [mm]: Trivially refactor.
Date: Wed, 16 Oct 2024 15:00:30 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit c85fb490a845ab429edeed7159cdfc72ee90cb72
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Tue Oct 15 10:42:18 2024 -0500

    [mm]: Trivially refactor.
    
    * m.tmac: Organize groff mm extensions together more cleanly with
      respect to `HF` and `HP` strings.
---
 contrib/mm/ChangeLog | 5 +++++
 contrib/mm/m.tmac    | 6 ++++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/contrib/mm/ChangeLog b/contrib/mm/ChangeLog
index d0dfdff65..bcaa46c64 100644
--- a/contrib/mm/ChangeLog
+++ b/contrib/mm/ChangeLog
@@ -1,3 +1,8 @@
+2024-10-15  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * m.tmac: Trivially refactor.  Organize groff mm extensions
+       together more cleanly with respect to `HF` and `HP` strings.
+
 2024-10-15  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * m.tmac: Trivially refactor.  Rename internal register
diff --git a/contrib/mm/m.tmac b/contrib/mm/m.tmac
index c26c26f76..978c0daf5 100644
--- a/contrib/mm/m.tmac
+++ b/contrib/mm/m.tmac
@@ -199,14 +199,14 @@ http://savannah.gnu.org/bugs/?group=groff.
 .\"    center headings of level <= Hc
 .nr Hc 0
 .\"    heading font, per level
-.ds HF 2 2 2 2 2 2 2 2 2 2 2 2 2 2
+.ds HF 2 2 2 2 2 2 2
 .\"    indentation policy of text after headings
 .\"    0 -> no indentation
 .\"    1 -> first-line indentation, like ".P 1"
 .\"    2 -> indent to line up with text part of preceding heading
 .nr Hi 1
 .\"    header point (type) size, per level
-.ds HP 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+.ds HP 0 0 0 0 0 0 0
 .\"    put vertical space of \n[Hss] after headings of level <= Hs
 .nr Hs 2
 .\"    heading numbering type
@@ -303,6 +303,8 @@ http://savannah.gnu.org/bugs/?group=groff.
 .\" spacing before and after static displays (if undefined, Lsp is used)
 .\" .nr Dsp 1v
 .\" more heading level counters
+.as HF " 2 2 2 2 2 2 2
+.as HP " 0 0 0 0 0 0 0
 .nr H8 0 1
 .nr H9 0 1
 .nr H10 0 1



reply via email to

[Prev in Thread] Current Thread [Next in Thread]