[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 11/50: [mm]: Tweak nroff `Sm`, `Tm` string definitions.
From: |
G. Branden Robinson |
Subject: |
[groff] 11/50: [mm]: Tweak nroff `Sm`, `Tm` string definitions. |
Date: |
Thu, 4 Jul 2024 21:49:15 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit ed24d6a1aae5bd9e4291ad77958a2d3313475e5f
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
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 <g.branden.robinson@gmail.com>
+
+ * 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 <g.branden.robinson@gmail.com>
* 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 11/50: [mm]: Tweak nroff `Sm`, `Tm` string definitions.,
G. Branden Robinson <=