[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 29/38: [tmac]: Fix Savannah #63112 (1/3).
From: |
G. Branden Robinson |
Subject: |
[groff] 29/38: [tmac]: Fix Savannah #63112 (1/3). |
Date: |
Mon, 3 Oct 2022 01:42:59 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit 2513c79b7a5294f192241b96910c6511f6211376
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat Oct 1 14:02:32 2022 -0500
[tmac]: Fix Savannah #63112 (1/3).
* tmac/latin9.tmac: Replace characters that ISO Latin-1 has but Latin-9
doesn't. Map characters that ISO Latin-9 has and Latin-1 doesn't to
their numeric code points.
---
ChangeLog | 8 ++++++++
tmac/latin9.tmac | 20 ++++++++++++++++++++
2 files changed, 28 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 86b2e71d0..5735694cb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2022-10-01 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+ [tmac]: Fix Savannah #63112 (1/3).
+
+ * tmac/latin9.tmac: Replace characters that ISO Latin-1 has but
+ Latin-9 doesn't. Map characters that ISO Latin-9 has and
+ Latin-1 doesn't to their numeric code points.
+
2022-10-01 G. Branden Robinson <g.branden.robinson@gmail.com>
[tmac]: Regression-test Savannah #63112 (1/3).
diff --git a/tmac/latin9.tmac b/tmac/latin9.tmac
index 7a9b67979..bc805e8fa 100644
--- a/tmac/latin9.tmac
+++ b/tmac/latin9.tmac
@@ -2,6 +2,26 @@
.\"
.do nr *groff_latin9_tmac_C \n[.cp]
.cp 0
+.\" Replace characters that ISO Latin-1 has but Latin-9 doesn't.
+.char \[Cs] \ \" space
+.char \[bb] \ \" space
+.char \[ad] \ \" space
+.char \[aa] \ \" space
+.char \[ac] \ \" space
+.char \[12] 1/2
+.char \[14] 1/4
+.char \[34] 3/4
+.\" Map characters that ISO Latin-9 has and Latin-1 doesn't to their
+.\" numeric code points.
+.char \[Eu] \N'164'
+.char \[vS] \N'166'
+.char \[vs] \N'168'
+.char \[vZ] \N'180'
+.char \[vz] \N'184'
+.char \[OE] \N'188'
+.char \[oe] \N'189'
+.char \[:Y] \N'190'
+.\" Translate eight-bit input characters.
.\" 0xA0
.\" char160 (no-break space) is translated on input
.trin \[char161]\[r!]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 29/38: [tmac]: Fix Savannah #63112 (1/3).,
G. Branden Robinson <=