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

Xi Ruoyao b08840ad50 Host check script: Do not break it manually. 6 år sedan
appendices 7ac7ca4724 appendices: Translate 5 år sedan
bootscripts 4584c156c2 Use correct switch in mountfs script 6 år sedan
chapter01 bc255a9bf0 chapter01: Break a long sentence in askforhelp 5 år sedan
chapter02 e79ca9d860 chapter02: Minor fix in mounting 5 år sedan
chapter03 d210e2c196 chapter03: Minor fixes in introduction 5 år sedan
chapter04 60da7be041 chapter04: Fix the translation of "to hash" 5 år sedan
chapter05 a7c9a77640 chapter05: Missed word "attempt to" in gettext instructions 5 år sedan
chapter06 a5275f8e40 chapter06: Typo and minor change in stripping again page 5 år sedan
chapter07 95d8f3cc13 chapter07: Missed punctuation 5 år sedan
chapter08 fec29757a1 chapter08: Simplify "in most case" in kernel page 5 år sedan
chapter09 6710c4e39b chapter09: Translate "What Now" page 5 år sedan
images 5c3f304a8f Adding some new png files to supoprt alternate css 8 år sedan
prologue 7f69ef5427 prologue: Missed translation of "minutes" 5 år sedan
stylesheets dd7d23c43b stylesheets: Use A4 for PDF 5 år sedan
udev-lfs b4c82dcb7f Also update udev-lfs Makefile in source 6 år sedan
.gitignore 49d987634c gitignore: vim swap files 5 år sedan
INSTALL 82d957c29a Update bash upstream patch for CVE-2014-6271, CVE-2014-7169, and 9 år sedan
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 5 år sedan
README fe942ac664 README: Translate 5 år sedan
aux-file-data.sh ba8848f4d0 Fix a few more typos and whitespaces. 10 år sedan
general.ent c30043797a entries: Translate *.ent 5 år sedan
index.xml 2db7bcca32 chapter01, index: Fix translation of "introduction" 5 år sedan
lfs-latest.php 60d91a060a Document some test failures 6 år sedan
make-aux-files.sh f896e21c3f Updated udev to version 186. This update has a major procedure 12 år sedan
obfuscate.sh 05d60cedcd Added a versose flag and other fixes to the Makefile. 17 år sedan
packages.ent 47fb1b9167 Missed time unit in package.ent (chapter06/autoconf) 5 år sedan
patches.ent 869b096686 Update to glibc-2.27. 6 år sedan
pdf-fixups.sh b08840ad50 Host check script: Do not break it manually. 5 år sedan
process-scripts.sh b2b1e1aa5f Move directory to make build easier 11 år sedan
tidy.conf e00b3ee3be building: Change HTML encoding to UTF-8 (issue #1) 5 år sedan

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