gbranden pushed a commit to branch master
in repository groff.
commit cd68a213cb1a26210bd239286aba205ec0bdf0d6
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat Jun 22 18:27:36 2024 -0500
[mm]: Make `PIC` use ens, not ems, by default.
* contrib/mm/m.tmac (PIC): Reckon optional indentation argument in ens
by default.
* contrib/mm/groff_mm.7.man (Macros) <PIC>:
* NEWS: Document this.
---
NEWS | 4 ++++
contrib/mm/ChangeLog | 7 +++++++
contrib/mm/groff_mm.7.man | 4 +---
contrib/mm/m.tmac | 2 +-
4 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/NEWS b/NEWS
index ffb2fca97..896f365bd 100644
--- a/NEWS
+++ b/NEWS
@@ -319,6 +319,10 @@ o The m (mm) macro package's `EPIC` macro (a GNU
extension) now
argument in vees, instead of basic units, for consistency with the
rest of the package.
+o Similarly, the m (mm) macro package's `PIC` macro (a GNU extension)
+ now interprets an argument to its `-I` option in ens instead of ems
+ by default.
+
o The m (mm) macro package's `DS` macro now interprets its third
argument (a right-hand indentation) in ens by default, for consistency
with the rest of the package. This is a difference from DWB mm (which
diff --git a/contrib/mm/ChangeLog b/contrib/mm/ChangeLog
index 51133a984..06102d89a 100644
--- a/contrib/mm/ChangeLog
+++ b/contrib/mm/ChangeLog
@@ -1,3 +1,10 @@
+2024-06-22 G. Branden Robinson <[email protected]>
+
+ * m.tmac (PIC): Reckon optional indentation argument in ens by
+ default.
+
+ * groff_mm.7.man (Macros) <PIC>: Document this.
+
2024-06-22 G. Branden Robinson <[email protected]>
Rename macros to get out of user name space.
diff --git a/contrib/mm/groff_mm.7.man b/contrib/mm/groff_mm.7.man
index 69906c627..cbe1f96fd 100644
--- a/contrib/mm/groff_mm.7.man
+++ b/contrib/mm/groff_mm.7.man
@@ -3186,9 +3186,7 @@ The optional
and
.BI \-I\~ n
arguments align the picture or indent it by
-.I n
-(assuming a scaling unit of
-.BR m ).
+.IR n .
.
By default,
the picture is left-aligned.
diff --git a/contrib/mm/m.tmac b/contrib/mm/m.tmac
index 584c8b0b4..5755c475a 100644
--- a/contrib/mm/m.tmac
+++ b/contrib/mm/m.tmac
@@ -815,7 +815,7 @@ http://savannah.gnu.org/bugs/?group=groff.
. continue
. \}
. if '-I'\\$1' \{\
-. nr pict*ind (m;\\$2)
+. nr pict*ind (n;\\$2)
. nr pict*mode 2
. shift 2
. continue
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit