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

Xi Ruoyao 28e84468a7 zh_CN: update .gitignore to ignore bootscript tarball in xz 4 년 전
appendices 805d6bef6f Add --with-headers for glibc 5 년 전
bootscripts 560db43dae Cosmetic changes to LFS bootscripts. 5 년 전
chapter01 ef8840bb9a systemd installation process change 4 년 전
chapter02 564d6dc4ff REmove reference to IDE disk drive 4 년 전
chapter03 62478377b6 Update to systemd-241 5 년 전
chapter04 07b35f0abd Add role="nodump" to examples in "About SBUs" 5 년 전
chapter05 78115ba647 Update man-pages, linux, iproute2, gettext, file, e2fsprogs 5 년 전
chapter06 ef8840bb9a systemd installation process change 4 년 전
chapter07 5f9fb894c7 Change <productname> tags so that they reflect the dbhtml processing 5 년 전
chapter08 5f9fb894c7 Change <productname> tags so that they reflect the dbhtml processing 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 76d1c3574f zh_CN: missed translation of Douglas' title 5 년 전
stylesheets 20ddbe4881 Import Chinese fonts from old repo 5 년 전
udev-lfs b4c82dcb7f Also update udev-lfs Makefile in source 6 년 전
.gitignore 28e84468a7 zh_CN: update .gitignore to ignore bootscript tarball in xz 4 년 전
INSTALL bd7413592b Change the link for HTMLTidy in INSTALL. Thanks to Xi Ruoyao for report. 5 년 전
Makefile 0c80c10394 Convert bootscripts and udev tarballs to xz 4 년 전
README 40869c3002 Remove extra empty lines in README 5 년 전
aux-file-data.sh 0c80c10394 Convert bootscripts and udev tarballs to xz 4 년 전
fopconfig.xml 20ddbe4881 Import Chinese fonts from old repo 5 년 전
general-orig.ent ef8840bb9a systemd installation process change 4 년 전
index.xml 2db7bcca32 chapter01, index: Fix translation of "introduction" 5 년 전
lfs-latest.php f883220013 Update currency for vim 4 년 전
make-aux-files.sh 0c80c10394 Convert bootscripts and udev tarballs to xz 4 년 전
obfuscate.sh 05d60cedcd Added a versose flag and other fixes to the Makefile. 17 년 전
packages.ent e9b16e663c Mpve expat and make away from bz2 4 년 전
patches.ent f30344d68d Update meson, gawk, expat, linux, sysvinit, and bzip2 4 년 전
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 년 전
translate-date.sh 1d82e761fa zh_CN: fix a stupid typo 5 년 전
translate-packages-ent.sh 92d8bc7733 zh_CN: translate packages.ent ondemend 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