URL:
  <https://savannah.gnu.org/bugs/?66919>

                 Summary: .hcode no longer accepts a special character as a
first argument
                   Group: GNU roff
               Submitter: barx
               Submitted: Sun 16 Mar 2025 09:59:17 AM CDT
                Category: Core
                Severity: 3 - Normal
              Item Group: Incorrect behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Sun 16 Mar 2025 09:59:17 AM CDT By: Dave <barx>
The .hcode entry in the manual says:

 -- Request: .hcode dst1 src1 [dst2 src2] ...
     DST1 must be an ordinary character (other than a numeral) or a special
character

And a special character did previously work here.  But it no longer does.

$ file hcode_test
hcode_test: ISO-8859 text
$ iconv -f iso-8859-1 hcode_test
.hcode \[~o] õ
.pchar \[~o]
.hcode õ õ
.pchar \[~o]
$ groff-latest hcode_test 2>&1 | fgrep 'hyphenation code:'
  hyphenation code: 0
  hyphenation code: 245

("õ" is given no .hcode value in either latin1.tmac or en.tmac.  Its absence
from latin1.tmac seems like a bug, but at present it's a useful one, so I hope
it sticks around for a bit.)







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66919>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to