groff-commit
[Top][All Lists]
Advanced

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

[groff] 04/23: [tmac]: Fix Savannah #66112.


From: G. Branden Robinson
Subject: [groff] 04/23: [tmac]: Fix Savannah #66112.
Date: Wed, 16 Oct 2024 15:00:27 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit d0933894c66d5c4f759bd4a924bdcf6e2c9ca03f
Author: Dave Kemper <saint.snit@gmail.com>
AuthorDate: Thu Sep 12 03:37:33 2024 +0000

    [tmac]: Fix Savannah #66112.
    
    * tmac/en.tmac: Map hcodes of Latin-1 characters with diacritical marks
      that are used in English words to their unadorned ASCII counterparts.
    
    Fixes <https://savannah.gnu.org/bugs/?66112>.
---
 ChangeLog    |  8 ++++++++
 tmac/en.tmac | 27 +++++++++++++++++++++++++++
 2 files changed, 35 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 24706cd4b..adf9568d1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2024-10-14  Dave Kemper <saint.snit@gmail.com>
+
+       * tmac/en.tmac: Map hcodes of Latin-1 characters with
+       diacritical marks that are used in English words to their
+       unadorned ASCII counterparts.
+
+       Fixes <https://savannah.gnu.org/bugs/?66112>.
+
 2024-10-14  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * man/groff_tmac.5.man:
diff --git a/tmac/en.tmac b/tmac/en.tmac
index 86e331574..2c79e1322 100644
--- a/tmac/en.tmac
+++ b/tmac/en.tmac
@@ -51,6 +51,33 @@
 .el \
 .  hydefault \n[\*[locale]*hyphenation-mode-base]
 .
+.\" Map hcodes of Latin-1 characters with diacritical marks that are
+.\" used in English words to their unadorned ASCII counterparts.
+.\" See http://savannah.gnu.org/bugs/?66112 for rationale.
+.
+.hcode \['A] a \['a] a
+.hcode \[:A] a \[:a] a
+.hcode \[^A] a \[^a] a
+.hcode \[`A] a \[`a] a
+.hcode \[oA] a \[oa] a
+.hcode \[,C] c \[,c] c
+.hcode \['E] e \['e] e
+.hcode \[:E] e \[:e] e
+.hcode \[^E] e \[^e] e
+.hcode \[`E] e \[`e] e
+.hcode \['I] i \['i] i
+.hcode \[:I] i \[:i] i
+.hcode \[^I] i \[^i] i
+.hcode \[~N] n \[~n] n
+.hcode \['O] o \['o] o
+.hcode \[:O] o \[:o] o
+.hcode \[^O] o \[^o] o
+.hcode \[/O] o \[/o] o
+.hcode \['U] u \['u] u
+.hcode \[:U] u \[:u] u
+.hcode \[^U] u \[^u] u
+.hcode \[`U] u \[`u] u
+.
 .hy
 .
 .rr locale*use-trap-hyphenation-mode



reply via email to

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