bug-groff
[Top][All Lists]
Advanced

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

[bug #63076] [tmac] add Russian language support


From: G. Branden Robinson
Subject: [bug #63076] [tmac] add Russian language support
Date: Tue, 7 Mar 2023 16:49:06 -0500 (EST)

Follow-up Comment #12, bug #63076 (project groff):

[comment #11 comment #11:]
> > There, I have bad news--I'm afraid not.
> I probably should have replied way earlier. But anyway, I'm looking forward
to see it being added in 1.23.1!

Me too!  I love having new features to brag on.  It takes a certain kind of
person to get excited about 400+ bug fixes, 160 new automated tests, and
greatly improved documentation, and that kind of person is not in the
majority.  :)
 
> > It might become the basis of a unit test so we can be sure we keep Russian
language support working.
> So, the next thing I should do is to write unit tests for the language
macros, right?

We already have some.

You might look at the following files for inspiration.


tmac/tests/latin2_works.sh
tmac/tests/latin5_works.sh
tmac/tests/latin9_works.sh
tmac/tests/localization-works.sh


I guess the main things I'm curious about are how you solved the problem of
KOI8-R having code points in the same space as C1 controls (which groff uses
for internal purposes).  (I should look again at your patches.)

Ensuring that the character encoding stays sane is a foundational element. 
Beyond that, apart from the hyphenation mode being right (which can be added
to tmac/tests/localization-works.sh), I don't suppose there is a lot to test.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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