From 70b0e4d231e554b9ab8df72ad295d6f6efef7d52 Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Thu, 20 Apr 2006 17:53:32 +0000 Subject: Tags corrections. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7541 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/man-db.xml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'chapter06') diff --git a/chapter06/man-db.xml b/chapter06/man-db.xml index a353cc1c5..311c2b12d 100644 --- a/chapter06/man-db.xml +++ b/chapter06/man-db.xml @@ -128,8 +128,7 @@ do shift iconv -f "$FROM" -t "$TO" "$FILE" >.tmp.iconv mv .tmp.iconv "$FILE" -done - +done EOF install -m755 convert-mans /usr/bin @@ -152,9 +151,9 @@ install -m755 convert-mans /usr/bin Man-DB does not understand man pages stored in UTF-8. And, for our purposes, Man-DB is preferable to Man as it works without extra configuration in any locale. Lastly, as of now, there is no fully-working - implementation of the RedHat convention. RedHat's groff is known to - misformat text. - + implementation of the RedHat convention. RedHat's groff + is known to misformat text. + The relationship between language codes and the expected encoding of manual pages is listed below. Man-DB automatically converts them to the locale encoding while viewing. @@ -298,12 +297,13 @@ cp -rv man? /usr/share/man/fr If upstream distributes manual pages in UTF-8 (i.e., for RedHat) instead of the encoding listed in the table above, they have to be converted from UTF-8 to the encoding listed in the table before - installation. This can be achieved with convert-mans, e.g., Spanish manual - pages () + installation. This can be achieved with convert-mans, + e.g., Spanish manual pages () can be installed with the following commands: mv man7/iso_8859-7.7{,X} -convert-mans UTF-8 ISO-8859-1 man?/*.? +convert-mans UTF-8 ISO-8859-1 man?/*.? mv man7/iso_8859-7.7{X,} make install -- cgit v1.2.3-54-g00ecf