bug-groff
[Top][All Lists]
Advanced

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

[bug #57594] sync hyphenation pattern files with TeX versions


From: G. Branden Robinson
Subject: [bug #57594] sync hyphenation pattern files with TeX versions
Date: Sat, 10 Jul 2021 11:12:43 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #5, bug #57594 (project groff):


[comment #3 comment #3:]
> We should also write script(s) to verify the groff-cleanliness of the
hyphenation files.  This can easily take the form of one or more regression
tests like the 48 others we have.  The most obvious thing I can think of to do
is to have one test file for each supported groff locale which then calls .hla
(or uses my in-development internationalization patch, bug #59814).  If my
understanding is correct, an otherwise empty groff document will suffice to
provoke diagnostics from .hla if the hyphenation or exception files contain
unsupported constructs.  See src/roff/troff/env.cpp:hyphen_trie::hpf_getc and
src/roff/troff/env.cpp:hyphen_trie::read_patterns_file.

The foregoing is done.


commit 3e9250fea4ab3e698cf7c2f903eaa4ed0fabf5c0
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Fri Jul 9 03:40:04 2021 +1000

    [tests]: Test localization with `-m` option.
    
    * src/roff/groff/tests/initialization_is_quiet.sh:
    * src/roff/groff/tests/localization_works.sh: Rewrite test to use
      explicit macro file loading localization mechanism.


I haven't updated FOR-RELEASE yet because we're blocked on UTF-8 input
handling as noted in my previous comment, and the process is not streamlined
enough to become robotic.  I had to manually do some tomfoolery to deal with
our English hyphenation exceptions file (on the bright side, it's much shorter
now).

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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