[Top][All Lists]

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

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

From: Nikita Ivanov
Subject: [bug #63076] [tmac] add Russian language support
Date: Wed, 8 Mar 2023 15:54:47 -0500 (EST)

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

[comment #15 comment #15:]
> Apparently it can.  In your example document, your use of the character ≈
(in KOI8, this is hex 0x97 or decimal 151) is rejected by GNU troff upon
By mistake I included a literal em dash character (_—_) in the document. If
I replace it with _\[em]_, no error is raised after running _groff -ww_.

I've read _tmac/LOCALIZATION_ and apparently you are not supposed to redefine
the second string in _ISODATE_ macro. I've attached a patch that fixes that.

> I'm attaching a revised version of your document, and a stack of diffs I
have pending after applying your patch.
> Let me know what you think.
The changes you made all seem correct to me, except for the revised version of
my document (the fix should have been a replacement of the character with
_\[em]_; see the 1st paragraph).

Speaking of an em dash character, it is used fairly often in Russian texts. I
have noticed that quite frequently a line break is added before or after the
character, which, as far as I know, is incorrect. I know it's fixable by
adding no-break spaces before and after the character but it seems like there
could be a more automatic solution. Is it possible to somehow tell _groff_ to
avoid adding breaks in those cases (perhaps using _.cflags_ request)?

(file #54466)


Additional Item Attachment:

File name: ru-mm-fix.diff                 Size:0 KB


Reply to this item at:


Message sent via Savannah

reply via email to

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