[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 07/13: [tmac]: Stop remapping input soft hyphen chars.
From: |
G. Branden Robinson |
Subject: |
[groff] 07/13: [tmac]: Stop remapping input soft hyphen chars. |
Date: |
Sat, 16 Apr 2022 04:37:32 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit 03eee8bfb62d63aa1a989ee01d5c49ca7fafb57b
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Thu Apr 14 18:52:21 2022 +1000
[tmac]: Stop remapping input soft hyphen chars.
* tmac/cp1047.tmac:
* tmac/latin1.tmac:
* tmac/latin2.tmac:
* tmac/latin5.tmac:
* tmac/latin9.tmac: Stop remapping input soft hyphen characters with
`tr` requests in character encoding macro files. The formatter does
this for us now.
---
ChangeLog | 10 ++++++++++
tmac/cp1047.tmac | 4 ++--
tmac/latin1.tmac | 6 +++---
tmac/latin2.tmac | 8 +++-----
tmac/latin5.tmac | 8 +++-----
tmac/latin9.tmac | 8 +++-----
6 files changed, 24 insertions(+), 20 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index c91b8754..04120476 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2022-04-14 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+ * tmac/cp1047.tmac:
+ * tmac/latin1.tmac:
+ * tmac/latin2.tmac:
+ * tmac/latin5.tmac:
+ * tmac/latin9.tmac: Stop remapping input soft hyphen characters
+ with `tr` requests in character encoding macro files. The
+ formatter does this for us now.
+
2022-04-14 G. Branden Robinson <g.branden.robinson@gmail.com>
[troff]: Translate 8-bit NBSP and SHY on input.
diff --git a/tmac/cp1047.tmac b/tmac/cp1047.tmac
index 5baeab71..0e041945 100644
--- a/tmac/cp1047.tmac
+++ b/tmac/cp1047.tmac
@@ -2,6 +2,7 @@
.\"
.do nr *groff_cp1047_tmac_C \n[.cp]
.cp 0
+.\" char65 (no-break space) is translated on input
.trin \[char66]\[^a]
.trin \[char67]\[:a]
.trin \[char68]\[`a]
@@ -73,8 +74,7 @@
.trin \[char188]\[a-]
.trin \[char190]\[aa]
.trin \[char191]\[tmu]
-.\" The soft-hyphen character is only an input character
-.tr \[char202]\%
+.\" char202 (soft hyphen) is translated on input
.trin \[char203]\[^o]
.trin \[char204]\[:o]
.trin \[char205]\[`o]
diff --git a/tmac/latin1.tmac b/tmac/latin1.tmac
index 630028f1..3dff03b5 100644
--- a/tmac/latin1.tmac
+++ b/tmac/latin1.tmac
@@ -2,7 +2,8 @@
.\"
.do nr *groff_latin1_tmac_C \n[.cp]
.cp 0
-.\" 0xA1
+.\" 0xA0
+.\" char160 (no-break space) is translated on input
.trin \[char161]\[r!]
.trin \[char162]\[ct]
.trin \[char163]\[Po]
@@ -15,8 +16,7 @@
.trin \[char170]\[Of]
.trin \[char171]\[Fo]
.trin \[char172]\[tno]
-.\" The soft-hyphen character is only an input character
-.tr \[char173]\%
+.\" char173 (soft hyphen) is translated on input
.trin \[char174]\[rg]
.trin \[char175]\[a-]
.\" 0xB0
diff --git a/tmac/latin2.tmac b/tmac/latin2.tmac
index db187c1c..2dd2dea9 100644
--- a/tmac/latin2.tmac
+++ b/tmac/latin2.tmac
@@ -1,10 +1,9 @@
-.\" -*- nroff -*-
-.\"
.\" latin2.tmac
.\"
.do nr *groff_latin2_tmac_C \n[.cp]
.cp 0
-.\" 0xA1
+.\" 0xA0
+.\" char160 (no-break space) is translated on input
.trin \[char161]\[A ho]
.trin \[char162]\[ab]
.trin \[char163]\[/L]
@@ -17,8 +16,7 @@
.trin \[char170]\[S ac]
.trin \[char171]\[T ah]
.trin \[char172]\[Z aa]
-.\" The soft-hyphen character is only an input character
-.tr \[char173]\%
+.\" char173 (soft hyphen) is translated on input
.trin \[char174]\[vZ]
.trin \[char175]\[Z a.]
.\" 0xB0
diff --git a/tmac/latin5.tmac b/tmac/latin5.tmac
index 24c04c8c..e10b6e96 100644
--- a/tmac/latin5.tmac
+++ b/tmac/latin5.tmac
@@ -1,10 +1,9 @@
-.\" -*- nroff -*-
-.\"
.\" latin5.tmac
.\"
.do nr *groff_latin5_tmac_C \n[.cp]
.cp 0
-.\" 0xA1
+.\" 0xA0
+.\" char160 (no-break space) is translated on input
.trin \[char161]\[r!]
.trin \[char162]\[ct]
.trin \[char163]\[Po]
@@ -17,8 +16,7 @@
.trin \[char170]\[Of]
.trin \[char171]\[Fo]
.trin \[char172]\[tno]
-.\" The soft-hyphen character is only an input character
-.tr \[char173]\%
+.\" char173 (soft hyphen) is translated on input
.trin \[char174]\[rg]
.trin \[char175]\[a-]
.\" 0xB0
diff --git a/tmac/latin9.tmac b/tmac/latin9.tmac
index 4a07e141..7a9b6797 100644
--- a/tmac/latin9.tmac
+++ b/tmac/latin9.tmac
@@ -1,10 +1,9 @@
-.\" -*- nroff -*-
-.\"
.\" latin9.tmac
.\"
.do nr *groff_latin9_tmac_C \n[.cp]
.cp 0
-.\" 0xA1
+.\" 0xA0
+.\" char160 (no-break space) is translated on input
.trin \[char161]\[r!]
.trin \[char162]\[ct]
.trin \[char163]\[Po]
@@ -17,8 +16,7 @@
.trin \[char170]\[Of]
.trin \[char171]\[Fo]
.trin \[char172]\[tno]
-.\" The soft-hyphen character is only an input character
-.tr \[char173]\%
+.\" char173 (soft hyphen) is translated on input
.trin \[char174]\[rg]
.trin \[char175]\[a-]
.\" 0xB0
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 07/13: [tmac]: Stop remapping input soft hyphen chars.,
G. Branden Robinson <=