[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #62273] [man] throws undefined register warning on ja, zh man pages
From: |
G. Branden Robinson |
Subject: |
[bug #62273] [man] throws undefined register warning on ja, zh man pages |
Date: |
Fri, 8 Apr 2022 18:55:00 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?62273>
Summary: [man] throws undefined register warning on ja,zh man
pages
Project: GNU troff
Submitted by: gbranden
Submitted on: Fri 08 Apr 2022 10:54:58 PM UTC
Category: Macro man
Severity: 3 - Normal
Item Group: Warning/Suspicious behaviour
Status: In Progress
Privacy: Public
Assigned to: gbranden
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Details:
This is a post-1.22.4 issue, exposed by my work on man(7) localization.
$ zcat /usr/share/man/zh_CN/man1/lexgrog.1.gz | tgu -kz -man -mzh
troff: backtrace: '.../groff/build/../tmac/an.tmac':146: macro
'an*reset-hyphenation-mode'
troff: backtrace: '.../groff/build/../tmac/an.tmac':261: macro 'TH'
troff: backtrace: file '<standard input>':14
troff:<standard input>:14: warning: register 'chinese*hyphenation-mode-base'
not defined
$ zcat /usr/share/man/ja/man1/lexgrog.1.gz | tgu -kz -man -mja
troff: backtrace: '.../groff/build/../tmac/an.tmac':146: macro
'an*reset-hyphenation-mode'
troff: backtrace: '.../groff/build/../tmac/an.tmac':261: macro 'TH'
troff: backtrace: file '<standard input>':14
troff:<standard input>:14: warning: register 'japanese*hyphenation-mode-base'
not defined
The fix is straightforward. Prior to it, I have a pending commit to add test
cases to ensure we don't regress the value of hyphenation bit 1 (i.e., 2^1=2,
the one that suppresses hyphenation before a vertical position trap).
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62273>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #62273] [man] throws undefined register warning on ja, zh man pages,
G. Branden Robinson <=