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

Bruce Dubbs e7522c4482 Cherry-pick r11387 il y a 6 ans
appendices 4316cee72a [appendices] Recover ISP's english interpretion il y a 5 ans
bootscripts 2e47b29c51 Revert "bootscripts: Translate comments in script rc" il y a 5 ans
chapter01 e7522c4482 Cherry-pick r11387 il y a 5 ans
chapter02 e7522c4482 Cherry-pick r11387 il y a 5 ans
chapter03 e7522c4482 Cherry-pick r11387 il y a 5 ans
chapter04 11910f2e76 change the translation of "following" il y a 5 ans
chapter05 11910f2e76 change the translation of "following" il y a 5 ans
chapter06 e7522c4482 Cherry-pick r11387 il y a 5 ans
chapter07 f414dc7aae [chapter07] Minor fixes il y a 5 ans
chapter08 0163864ed3 [chapter08] Update lfs-uefi URL il y a 5 ans
chapter09 e7522c4482 Cherry-pick r11387 il y a 5 ans
fonts 20ddbe4881 Import Chinese fonts from old repo il y a 5 ans
images 5c3f304a8f Adding some new png files to supoprt alternate css il y a 8 ans
prologue e7522c4482 Cherry-pick r11387 il y a 5 ans
stylesheets 20ddbe4881 Import Chinese fonts from old repo il y a 5 ans
udev-lfs b4c82dcb7f Also update udev-lfs Makefile in source il y a 6 ans
.gitignore 49d987634c gitignore: vim swap files il y a 5 ans
INSTALL bd7413592b Change the link for HTMLTidy in INSTALL. Thanks to Xi Ruoyao for report. il y a 5 ans
Makefile 20ddbe4881 Import Chinese fonts from old repo il y a 5 ans
README fe942ac664 README: Translate il y a 5 ans
aux-file-data.sh ba8848f4d0 Fix a few more typos and whitespaces. il y a 10 ans
fopconfig.xml 20ddbe4881 Import Chinese fonts from old repo il y a 5 ans
general.ent e7522c4482 Cherry-pick r11387 il y a 5 ans
index.xml 2db7bcca32 chapter01, index: Fix translation of "introduction" il y a 5 ans
lfs-latest.php 60d91a060a Document some test failures il y a 6 ans
make-aux-files.sh f896e21c3f Updated udev to version 186. This update has a major procedure il y a 12 ans
obfuscate.sh 05d60cedcd Added a versose flag and other fixes to the Makefile. il y a 17 ans
packages.ent e7522c4482 Cherry-pick r11387 il y a 5 ans
packages.ent.orig e7522c4482 Cherry-pick r11387 il y a 5 ans
patches.ent 869b096686 Update to glibc-2.27. il y a 6 ans
pdf-fixups.sh b08840ad50 Host check script: Do not break it manually. il y a 5 ans
process-scripts.sh b2b1e1aa5f Move directory to make build easier il y a 11 ans
tidy.conf e00b3ee3be building: Change HTML encoding to UTF-8 (issue #1) il y a 5 ans

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