[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
input.
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
<https://file.savannah.gnu.org/file/ru-mm-fix.diff?file_id=54466>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63076>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #63076] [tmac] add Russian language support, Nikita Ivanov, 2023/03/07
- [bug #63076] [tmac] add Russian language support, G. Branden Robinson, 2023/03/07
- [bug #63076] [tmac] add Russian language support, Nikita Ivanov, 2023/03/07
- [bug #63076] [tmac] add Russian language support, G. Branden Robinson, 2023/03/07
- [bug #63076] [tmac] add Russian language support, Nikita Ivanov, 2023/03/07
- [bug #63076] [tmac] add Russian language support, G. Branden Robinson, 2023/03/07
- [bug #63076] [tmac] add Russian language support, G. Branden Robinson, 2023/03/08
- [bug #63076] [tmac] add Russian language support,
Nikita Ivanov <=
- [bug #63076] [tmac] add Russian language support, G. Branden Robinson, 2023/03/09
- [bug #63076] [tmac] add Russian language support, G. Branden Robinson, 2023/03/09
- [bug #63076] [tmac] add Russian language support, G. Branden Robinson, 2023/03/09
- [bug #63076] [tmac] add Russian language support, Nikita Ivanov, 2023/03/10