Archived. See https://git.mengyan1223.wang/xry111/lfs-book-i18n insteadly. https://bf.mengyan1223.wang/lfs/zh_CN

Xi Ruoyao eab4b44309 chapter03: Translate %!s(int64=7) %!d(string=hai) anos
appendices e54747517c Move OpenSSL-1.1.0g from BLFS to LFS %!s(int64=7) %!d(string=hai) anos
bootscripts 4584c156c2 Use correct switch in mountfs script %!s(int64=8) %!d(string=hai) anos
chapter01 a835c532fa chapter01: Format a translation note in ask for help page %!s(int64=7) %!d(string=hai) anos
chapter02 532137adb9 chapter02: Translate mounting page %!s(int64=7) %!d(string=hai) anos
chapter03 eab4b44309 chapter03: Translate %!s(int64=7) %!d(string=hai) anos
chapter04 1fa5f503b5 Generalize format of xrefs to chapters %!s(int64=7) %!d(string=hai) anos
chapter05 1fa5f503b5 Generalize format of xrefs to chapters %!s(int64=7) %!d(string=hai) anos
chapter06 1fa5f503b5 Generalize format of xrefs to chapters %!s(int64=7) %!d(string=hai) anos
chapter07 1fa5f503b5 Generalize format of xrefs to chapters %!s(int64=7) %!d(string=hai) anos
chapter08 1fa5f503b5 Generalize format of xrefs to chapters %!s(int64=7) %!d(string=hai) anos
chapter09 1fa5f503b5 Generalize format of xrefs to chapters %!s(int64=7) %!d(string=hai) anos
images 5c3f304a8f Adding some new png files to supoprt alternate css %!s(int64=10) %!d(string=hai) anos
prologue 35fcbdaa42 prologue: Show a example of translation note in typography page %!s(int64=7) %!d(string=hai) anos
stylesheets 1fa5f503b5 Generalize format of xrefs to chapters %!s(int64=7) %!d(string=hai) anos
udev-lfs b4c82dcb7f Also update udev-lfs Makefile in source %!s(int64=7) %!d(string=hai) anos
.gitignore 580fb00946 Add .gitignore %!s(int64=7) %!d(string=hai) anos
INSTALL 82d957c29a Update bash upstream patch for CVE-2014-6271, CVE-2014-7169, and %!s(int64=10) %!d(string=hai) anos
Makefile 947cdac51a Add parameter to specify the language %!s(int64=7) %!d(string=hai) anos
README fe942ac664 README: Translate %!s(int64=7) %!d(string=hai) anos
aux-file-data.sh ba8848f4d0 Fix a few more typos and whitespaces. %!s(int64=11) %!d(string=hai) anos
general.ent c30043797a entries: Translate *.ent %!s(int64=7) %!d(string=hai) anos
index.xml b84b115471 index: Translate names of Parts %!s(int64=7) %!d(string=hai) anos
lfs-latest.php 60d91a060a Document some test failures %!s(int64=7) %!d(string=hai) anos
make-aux-files.sh f896e21c3f Updated udev to version 186. This update has a major procedure %!s(int64=13) %!d(string=hai) anos
obfuscate.sh 05d60cedcd Added a versose flag and other fixes to the Makefile. %!s(int64=18) %!d(string=hai) anos
packages.ent 11a7e5438f chapter03: Fix "NaN MB" in package list page %!s(int64=7) %!d(string=hai) anos
patches.ent 869b096686 Update to glibc-2.27. %!s(int64=7) %!d(string=hai) anos
pdf-fixups.sh 040ecb6de9 Update to man-db-2.7.4. %!s(int64=9) %!d(string=hai) anos
process-scripts.sh b2b1e1aa5f Move directory to make build easier %!s(int64=13) %!d(string=hai) anos
tidy.conf 58f10f85ed HTML Tidy's newline detection appears to be broken. Force LF line endings assuming people are rendering on a Linux box %!s(int64=20) %!d(string=hai) anos

README

这是 Linux From Scratch 的中文翻译版。

由于译者水平、时间有限,必然存在很多错误。如果您发现错误,无论是原书的错误还是
翻译错误,均可在 gogs 工单系统
指出。

下面是原书 README 文件的翻译。

-------------------------------手动分割线---------------------------------------

LFS Book README

本文档的目的是帮助用户了解如何将本书的 XML 源码转换成其他格式(如 HTML, PDF, PS
以及 TXT 等)。首先,如果这是您第一次进行这样的操作,请根据 INSTALL 文件的说明,
安装所需的软件。如果您已经完成了 INSTALL 文件给出的安装步骤,请继续阅读本文,您将
会看到将本书转换成其他格式的命令示例。

在所有示例中,设置参数 REV=systemd 即可生成本书的 systemd 版本。


将 XML 转换成 XHTML:
-------------
make BASEDIR=/path/to/output/location


将 XML 转换成单个 XHTML 文件 (不分块):
------------------------------------
make BASEDIR=/path/to/output/location nochunks


将 XML 转换成 TXT:
----------
首先生成单个不分块的 XHTML 文件,然后执行
lynx -dump /path/to/nochunks >/path/to/output


将 XML 转换成 PDF:
-----------
make BASEDIR=/path/to/output/location pdf