gbranden pushed a commit to branch master
in repository groff.
commit ed24d6a1aae5bd9e4291ad77958a2d3313475e5f
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat Jun 29 18:08:27 2024 -0500
[mm]: Tweak nroff `Sm`, `Tm` string definitions.
* contrib/mm/m.tmac (Sm, Tm): Tweak string definitions to use half-line
motions in nroff mode when the font lacks a dedicated glyph. At
present no nroff device supports half-line motions, but this prepares
us if we ever do, and DWB 3.3 mm does specify this behavior on page
A-2 of its manual.
---
contrib/mm/ChangeLog | 8 ++++++++
contrib/mm/m.tmac | 4 ++--
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/contrib/mm/ChangeLog b/contrib/mm/ChangeLog
index 4a4aa7918..7c8f1267d 100644
--- a/contrib/mm/ChangeLog
+++ b/contrib/mm/ChangeLog
@@ -1,3 +1,11 @@
+2024-06-29 G. Branden Robinson <[email protected]>
+
+ * m.tmac (Sm, Tm): Tweak string definitions to use half-line
+ motions in nroff mode when the font lacks a dedicated glyph.
+ At present no nroff device supports half-line motions, but this
+ prepares us if we ever do, and DWB 3.3 mm does specify this
+ behavior on page A-2 of its manual.
+
2024-06-29 G. Branden Robinson <[email protected]>
* m.tmac: Handle command-line (or pre-`mso` request) register
diff --git a/contrib/mm/m.tmac b/contrib/mm/m.tmac
index 7d4cda4d2..1932433b8 100644
--- a/contrib/mm/m.tmac
+++ b/contrib/mm/m.tmac
@@ -265,13 +265,13 @@ http://savannah.gnu.org/bugs/?group=groff.
.ie t .ds Sm \v'-.4m'\s-3SM\s0\v'.4m'\"
.el \{\
. ie c \[u2120] .ds Sm \[u2120]\"
-. el .ds Sm (SM)\"
+. el .ds Sm \u(SM)\d\"
.\}
.\" trade mark string
.ie t .ds Tm \v'-.4m'\s-3TM\s0\v'.4m'\"
.el \{\
. ie c \[tm] .ds Tm \[tm]\"
-. el .ds Tm (TM)\"
+. el .ds Tm \u(TM)\d\"
.\}
.
.nr @in-verbatim-region 0
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit