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

Bruce Dubbs 424295de49 LFS-8.4-rc1 пре 5 година
appendices 0c27fa3e64 Update bison, glibc, libpipeline, linux, meson, mpfr, and ninja пре 5 година
bootscripts 8ef04e4e28 Tweak the Makefile пре 5 година
chapter01 424295de49 LFS-8.4-rc1 пре 5 година
chapter02 8e0dccbfa5 Revert minimum glibc version to previous value пре 5 година
chapter03 0c27fa3e64 Update bison, glibc, libpipeline, linux, meson, mpfr, and ninja пре 5 година
chapter04 07b35f0abd Add role="nodump" to examples in "About SBUs" пре 5 година
chapter05 afc79655ba Remove hard-coded /usr in Chapter 5 Python пре 5 година
chapter06 afc79655ba Remove hard-coded /usr in Chapter 5 Python пре 5 година
chapter07 b083f2f5a1 Missed configure to meson command in systemd-custom.xml пре 5 година
chapter08 db1ed60a3d Translate the note of grub-install --target=i386-pc пре 5 година
chapter09 e7522c4482 Cherry-pick r11387 пре 5 година
fonts 20ddbe4881 Import Chinese fonts from old repo пре 5 година
images 5c3f304a8f Adding some new png files to supoprt alternate css пре 8 година
prologue 65bd6e69a4 standards: minor change, and indent fix пре 5 година
stylesheets 20ddbe4881 Import Chinese fonts from old repo пре 5 година
udev-lfs b4c82dcb7f Also update udev-lfs Makefile in source пре 6 година
.gitignore 49d987634c gitignore: vim swap files пре 5 година
INSTALL bd7413592b Change the link for HTMLTidy in INSTALL. Thanks to Xi Ruoyao for report. пре 5 година
Makefile b46d3f899f Comment out the "dump-commands" target in Makefile пре 5 година
README 40869c3002 Remove extra empty lines in README пре 5 година
aux-file-data.sh ba8848f4d0 Fix a few more typos and whitespaces. пре 10 година
fopconfig.xml 20ddbe4881 Import Chinese fonts from old repo пре 5 година
general.ent 424295de49 LFS-8.4-rc1 пре 5 година
index.xml 2db7bcca32 chapter01, index: Fix translation of "introduction" пре 5 година
lfs-latest.php 3aff510f6c Fix for new bzip2 location пре 5 година
make-aux-files.sh f896e21c3f Updated udev to version 186. This update has a major procedure пре 12 година
obfuscate.sh 05d60cedcd Added a versose flag and other fixes to the Makefile. пре 17 година
packages.ent 424295de49 LFS-8.4-rc1 пре 5 година
patches.ent 0c27fa3e64 Update bison, glibc, libpipeline, linux, meson, mpfr, and ninja пре 5 година
pdf-fixups.sh b08840ad50 Host check script: Do not break it manually. пре 5 година
process-scripts.sh b2b1e1aa5f Move directory to make build easier пре 11 година
tidy.conf a26f83f9b9 Adjust tidy.conf for recent version пре 5 година

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