groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 31/38: [tmac]: Fix Savannah #63112 (2/3).


From: G. Branden Robinson
Subject: [groff] 31/38: [tmac]: Fix Savannah #63112 (2/3).
Date: Mon, 3 Oct 2022 01:42:59 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 0e24c2da7eee5e784baacd7bf36911f1924d6a98
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat Oct 1 14:45:20 2022 -0500

    [tmac]: Fix Savannah #63112 (2/3).
    
    * tmac/latin5.tmac: Replace characters that ISO Latin-1 has but Latin-5
      doesn't.  Map characters that ISO Latin-5 has and Latin-1 doesn't to
      their numeric code points.
---
 ChangeLog        |  8 ++++++++
 tmac/latin5.tmac | 16 ++++++++++++++++
 2 files changed, 24 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index b615879d0..16ff29e12 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2022-10-01  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       [tmac]: Fix Savannah #63112 (2/3).
+
+       * tmac/latin5.tmac: Replace characters that ISO Latin-1 has but
+       Latin-5 doesn't.  Map characters that ISO Latin-5 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 (2/3).
diff --git a/tmac/latin5.tmac b/tmac/latin5.tmac
index e10b6e968..8719b5660 100644
--- a/tmac/latin5.tmac
+++ b/tmac/latin5.tmac
@@ -2,6 +2,22 @@
 .\"
 .do nr *groff_latin5_tmac_C \n[.cp]
 .cp 0
+.\" Replace characters that ISO Latin-1 has but Latin-5 doesn't.
+.char \[-D] \ \" space
+.char \[Sd] \ \" space
+.char \[TP] \ \" space
+.char \[Tp] \ \" space
+.char \['Y] Y
+.char \['y] y
+.\" Map characters that ISO Latin-5 has and Latin-1 doesn't to their
+.\" numeric code points.
+.char \[G ab] \N'208'
+.char \[g ab] \N'240'
+.char \[u0130] \N'221'
+.char \[.i] \N'253'
+.char \[S ac] \N'222'
+.char \[s ac] \N'254'
+.\" Translate eight-bit input characters.
 .\" 0xA0
 .\" char160 (no-break space) is translated on input
 .trin \[char161]\[r!]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]