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): groff-base-1.22.2-8.fc20.x86_64 man-db-2.6.5-2.fc20.x86_64 Actual results: see attached image file. Expected results: 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 .cp 0 . Additional info:
Created attachment 922106 [details] Expected result
*** Bug 1126120 has been marked as a duplicate of this bug. ***
Hi, Takayuki, 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. Regards Jan
Hello, Jan. 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 [takayuki@localhost ~]$ Regards.
Now I can see. Thank you.
upstream patch: http://git.savannah.gnu.org/cgit/man-db.git/commit/?id=aaf9ff69601d5f03d4139045f2b8493295b77668
https://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20140804/1326479.html
man-db-2.6.5-4.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/man-db-2.6.5-4.fc20
Package man-db-2.6.5-4.fc20: * 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: https://admin.fedoraproject.org/updates/FEDORA-2014-9165/man-db-2.6.5-4.fc20 then log in and leave karma (feedback).
man-db-2.6.5-4.fc20 works for me. I added comment to https://admin.fedoraproject.org/updates/FEDORA-2014-9165/man-db-2.6.5-4.fc20 , too. Thank you.
Takayuki, thank you for your comment. Regards Jan
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.