Created attachment 922105 [details]
Actual results: the text layout is not good.
Description of problem:
Japanese man pages do not insert newline code between Japanese sentence.
Because Japanese and Chinese sentense do not divide words by space,
groff seems to avoid breaking line.
I looked in /usr/share/groff/current/tmac/ directory and I found several L10N files such as ja.tmac, fr.tmac and de.tmac.
In ja.tmac, Japanese character class is specified correctly, but this file seems not to be enabled.
Do I have to load these files manually to localize man page?
Version-Release number of selected component (if applicable):
see attached image file.
I added the following line to andoc.tmac file and captured the image as attached file.
*** andoc.tmac.bak 2013-10-02 03:00:22.000000000 +0900
--- andoc.tmac 2014-07-29 19:53:18.841625623 +0900
*** 27,32 ****
--- 27,34 ----
.if !\n(.g \
. ab These macros require groff.
+ .do mso ja.tmac
.nr _C \n(.C
Created attachment 922106 [details]
*** Bug 1126120 has been marked as a duplicate of this bug. ***
setting the following:
$ export LANG=ja
$ export LC_ALL=ja_JP.UTF8
I see expected result. What is you setting of these variables?
$ export | grep LANG
$ export | grep LC_ALL
will show their values.
I get your actual result by displaying man man and then re-sizing the page to smaller width.
Thanks for the reply.
> I see expected result. What is you setting of these variables?
> $ export | grep LANG
> $ export | grep LC_ALL
> will show their values.
The result of them are as below. LC_ALL is not defined in my environment.
[takayuki@localhost ~]$ export | grep LANG
declare -x LANG="ja_JP.UTF-8"
[takayuki@localhost ~]$ export | grep LC_ALL
Now I can see. Thank you.
man-db-2.6.5-4.fc20 has been submitted as an update for Fedora 20.
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing man-db-2.6.5-4.fc20'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
man-db-2.6.5-4.fc20 works for me.
I added comment to
thank you for your comment.
man-db-2.6.5-4.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.