gbranden pushed a commit to branch master
in repository groff.

commit f270e429ea859058936dfd394acf5fc75c40338c
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat Aug 17 20:31:19 2024 -0500

    [mm]: Use `\n[.R]` instead of "9999".
    
    * contrib/mm/m.tmac (ds@output-float, ds@end): Use value of GNU troff
      `.R` register instead of "9999" to indicate an arbitrary large
      integer.
---
 contrib/mm/ChangeLog | 6 ++++++
 contrib/mm/m.tmac    | 8 ++++----
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/contrib/mm/ChangeLog b/contrib/mm/ChangeLog
index 10c734f42..723c2c886 100644
--- a/contrib/mm/ChangeLog
+++ b/contrib/mm/ChangeLog
@@ -1,3 +1,9 @@
+2024-08-17  G. Branden Robinson <[email protected]>
+
+       * m.tmac (ds@output-float, ds@end): Use value of GNU troff `.R`
+       register instead of "9999" to indicate an arbitrary large
+       integer.
+
 2024-07-21  G. Branden Robinson <[email protected]>
 
        * mm/0.MT:
diff --git a/contrib/mm/m.tmac b/contrib/mm/m.tmac
index 688d560bb..9308b8392 100644
--- a/contrib/mm/m.tmac
+++ b/contrib/mm/m.tmac
@@ -2123,9 +2123,9 @@ breaking page
 .in \\n[df*old-in]u
 .if \\n[df*f]=1  'in +\\n[Si]n
 .if \\n[df*f]>=2 'in 0
-.if \\n[df*f]=2  'ce 9999
+.if \\n[df*f]=2  'ce \\n[.R]
 .if \\n[df*f]=3  'in (u;(\\n[.l]-\\n[df*width!\\n[df*i]])/2)
-.if \\n[df*f]=4  'rj 9999
+.if \\n[df*f]=4  'rj \\n[.R]
 .if \\n[df*f]=5  'in (u;\\n[.l]-\\n[df*width!\\n[df*i]])
 .\"
 .\"
@@ -2295,9 +2295,9 @@ breaking page
 'in \\n[ds*old-in]u
 .if \\n[ds*format]=1  'in \\n[ds*old-in]u+\\n[Si]n
 .if \\n[ds*format]>=2 'in 0
-.if \\n[ds*format]=2  'ce 9999
+.if \\n[ds*format]=2  'ce \\n[.R]
 .if \\n[ds*format]=3  'in (u;(\\n[.l]-\\n[ds*width])/2)
-.if \\n[ds*format]=4  'rj 9999
+.if \\n[ds*format]=4  'rj \\n[.R]
 .if \\n[ds*format]=5  'in (u;\\n[.l]-\\n[ds*width])
 .\" **********
 .\"

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

Reply via email to