URL: <https://savannah.gnu.org/bugs/?66040>
Summary: groff no longer warns about unrecognized .hcode input Group: GNU roff Submitter: barx Submitted: Mon 29 Jul 2024 02:07:31 AM CDT Category: Core Severity: 2 - Minor Item Group: Warning/Suspicious behaviour Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Planned Release: None _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: Mon 29 Jul 2024 02:07:31 AM CDT By: Dave <barx> The Texinfo manual states about .hcode, "A hyphenation code must be an ordinary character (not a special character escape sequence) other than a digit or a space." Thus the following warning, as emitted by groff 1.23.0: $ echo ".hcode \['e] \['e]" | groff -ww troff:<standard input>:1: error: hyphenation code must be ordinary character But this warning has disappeared in a groff built from recent (circa two weeks ago) git code: $ groff --version | head -1 GNU groff version 1.23.0.1528-d5d4-dirty $ echo ".hcode \['e] \['e]" | groff -ww $ Does this mean that the manual is out of date--that bug #42870 has been fixed and .hcode now recognizes special character escape sequences as hyphenation codes? Sadly, no. As the test file below shows, the .hcode request still fails to process the \['e] escape as a hyphenation code; groff simply no longer notifies the user of this. $ file resume resume: troff or preprocessor input, ISO-8859 text $ iconv -f iso-8859-1 resume .ll 1n r\['e]sum\['e] .hcode \['e] \['e] r\['e]sum\['e] .hcode \['e] é r\['e]sum\['e] $ groff -a -ww -Wbreak resume <beginning of page> r<'e>sum<'e> r<'e>sum<'e> r<'e><hy> sum<'e> _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?66040> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
signature.asc
Description: PGP signature