groff-commit
[Top][All Lists]
Advanced

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

[groff] 04/04: [localization]: Fix Savannah #62273.


From: G. Branden Robinson
Subject: [groff] 04/04: [localization]: Fix Savannah #62273.
Date: Sat, 9 Apr 2022 14:19:17 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit cdbaec642d047ed1e75ed5bf7eeb48dbba5a660a
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat Apr 9 08:58:17 2022 +1000

    [localization]: Fix Savannah #62273.
    
    [localization]: Define hyphenation mode registers for Japanese and
    Chinese.  They are set to zero but must be defined so that macro
    packages can rely on their existence without causing 'reg' warnings.
    
    * tmac/ja.tmac:
    * tmac/zh.tmac: Do it.
    
    Fixes <https://savannah.gnu.org/bugs/?62273>.
---
 ChangeLog    | 12 ++++++++++++
 tmac/ja.tmac |  3 +++
 tmac/zh.tmac |  3 +++
 3 files changed, 18 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 4fe9b94e..bf5e5a42 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2022-04-09  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       [localization]: Define hyphenation mode registers for Japanese
+       and Chinese.  They are set to zero but must be defined so that
+       macro packages can rely on their existence without causing 'reg'
+       warnings.
+
+       * tmac/ja.tmac:
+       * tmac/zh.tmac: Do it.
+
+       Fixes <https://savannah.gnu.org/bugs/?62273>.
+
 2022-04-09  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        [tests]: Add test for multi-lingual man(7) scenario.
diff --git a/tmac/ja.tmac b/tmac/ja.tmac
index 42ccd078..4b1db084 100644
--- a/tmac/ja.tmac
+++ b/tmac/ja.tmac
@@ -48,6 +48,9 @@
 .cflags 266 \C'[CJKpostpunct]'
 .cflags 512 \C'[CJKnormal]'
 .
+.\" Japanese hyphenation (disabled)
+.nr \*[locale]*hyphenation-mode-base 0
+.nr \*[locale]*hyphenation-mode-trap 0
 .
 .cp \n[*groff_ja_tmac_C]
 .do rr *groff_ja_tmac_C
diff --git a/tmac/zh.tmac b/tmac/zh.tmac
index 94d6f464..3b347248 100644
--- a/tmac/zh.tmac
+++ b/tmac/zh.tmac
@@ -47,6 +47,9 @@
 .cflags 266 \C'[CJKpostpunct]'
 .cflags 512 \C'[CJKnormal]'
 .
+.\" Chinese hyphenation (disabled)
+.nr \*[locale]*hyphenation-mode-base 0
+.nr \*[locale]*hyphenation-mode-trap 0
 .
 .cp \n[*groff_zh_tmac_C]
 .do rr *groff_zh_tmac_C



reply via email to

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