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

Xi Ruoyao 426ec3ecb1 Minor fixes in testsuite and enviroment pages hace 5 años
appendices c96622a442 appendices: Translate udev-rules.xml hace 5 años
bootscripts 2e47b29c51 Revert "bootscripts: Translate comments in script rc" hace 5 años
chapter01 1b33e63ff4 Minor fixes hace 5 años
chapter02 e2cea3adac Minor fix in partitioning hace 5 años
chapter03 c60d302d17 Minor language fix hace 5 años
chapter04 426ec3ecb1 Minor fixes in testsuite and enviroment pages hace 5 años
chapter05 29e322bd72 Typo and language fix in chapter 5 & 6 hace 5 años
chapter06 29e322bd72 Typo and language fix in chapter 5 & 6 hace 5 años
chapter07 34d32b007f chapter07: Missed section title translation in sysv usage hace 5 años
chapter08 34861a2e66 chapter08: Translate comments in fstab (#3) hace 5 años
chapter09 6710c4e39b chapter09: Translate "What Now" page hace 5 años
images 5c3f304a8f Adding some new png files to supoprt alternate css hace 8 años
prologue 9048b2301d Minor fix of typography page hace 5 años
stylesheets dd7d23c43b stylesheets: Use A4 for PDF hace 5 años
udev-lfs b4c82dcb7f Also update udev-lfs Makefile in source hace 6 años
.gitignore 49d987634c gitignore: vim swap files hace 5 años
INSTALL 82d957c29a Update bash upstream patch for CVE-2014-6271, CVE-2014-7169, and hace 9 años
Makefile ad0be9ef62 Makefile: for pdf rendering: - fix the required disk space for LFS-Bootscripts (use lfs-full instead of lfs-html2) - copy the images to RENDERTMP so that they appear in notes/warnings et al hace 5 años
README fe942ac664 README: Translate hace 5 años
aux-file-data.sh ba8848f4d0 Fix a few more typos and whitespaces. hace 10 años
general.ent c30043797a entries: Translate *.ent hace 5 años
index.xml 2db7bcca32 chapter01, index: Fix translation of "introduction" hace 5 años
lfs-latest.php 60d91a060a Document some test failures hace 6 años
make-aux-files.sh f896e21c3f Updated udev to version 186. This update has a major procedure hace 12 años
obfuscate.sh 05d60cedcd Added a versose flag and other fixes to the Makefile. hace 17 años
packages.ent 47fb1b9167 Missed time unit in package.ent (chapter06/autoconf) hace 5 años
patches.ent 869b096686 Update to glibc-2.27. hace 6 años
pdf-fixups.sh b08840ad50 Host check script: Do not break it manually. hace 5 años
process-scripts.sh b2b1e1aa5f Move directory to make build easier hace 11 años
tidy.conf e00b3ee3be building: Change HTML encoding to UTF-8 (issue #1) hace 5 años

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