1
0

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

Bruce Dubbs 11e32b23fc LFS-8.3-rc2 vor 5 Jahren
appendices 2890b3546a Changes to run gcc tests as unprivilege user vor 5 Jahren
bootscripts 2e47b29c51 Revert "bootscripts: Translate comments in script rc" vor 5 Jahren
chapter01 11e32b23fc LFS-8.3-rc2 vor 5 Jahren
chapter02 60bb67378c Update minimum make version to 4.0 required by glibc-2.28 vor 5 Jahren
chapter03 48a24dbfa4 Update bzip2 url to a new location vor 5 Jahren
chapter04 11910f2e76 change the translation of "following" vor 5 Jahren
chapter05 50af9e9720 Add perl Configure options in Chapter 5 vor 5 Jahren
chapter06 7ec655f2bb Update to linux-4.18 vor 5 Jahren
chapter07 d49df03060 Comment out more duplicate sections vor 5 Jahren
chapter08 7f2a04ba49 Provide better i18n instructions to setting up /etc/fstab. vor 5 Jahren
chapter09 e7522c4482 Cherry-pick r11387 vor 5 Jahren
fonts 20ddbe4881 Import Chinese fonts from old repo vor 5 Jahren
images 5c3f304a8f Adding some new png files to supoprt alternate css vor 8 Jahren
prologue c953df3152 Fix FHS URL vor 5 Jahren
stylesheets 20ddbe4881 Import Chinese fonts from old repo vor 5 Jahren
udev-lfs b4c82dcb7f Also update udev-lfs Makefile in source vor 6 Jahren
.gitignore 49d987634c gitignore: vim swap files vor 5 Jahren
INSTALL bd7413592b Change the link for HTMLTidy in INSTALL. Thanks to Xi Ruoyao for report. vor 5 Jahren
Makefile 20ddbe4881 Import Chinese fonts from old repo vor 5 Jahren
README 40869c3002 Remove extra empty lines in README vor 5 Jahren
aux-file-data.sh ba8848f4d0 Fix a few more typos and whitespaces. vor 10 Jahren
fopconfig.xml 20ddbe4881 Import Chinese fonts from old repo vor 5 Jahren
general.ent 11e32b23fc LFS-8.3-rc2 vor 5 Jahren
index.xml 2db7bcca32 chapter01, index: Fix translation of "introduction" vor 5 Jahren
lfs-latest.php 3aff510f6c Fix for new bzip2 location vor 5 Jahren
make-aux-files.sh f896e21c3f Updated udev to version 186. This update has a major procedure vor 12 Jahren
obfuscate.sh 05d60cedcd Added a versose flag and other fixes to the Makefile. vor 17 Jahren
packages.ent 11e32b23fc LFS-8.3-rc2 vor 5 Jahren
packages.ent.orig e7522c4482 Cherry-pick r11387 vor 5 Jahren
patches.ent 7b43710ff3 Fix a build failure with glibc-2.28 vor 5 Jahren
pdf-fixups.sh b08840ad50 Host check script: Do not break it manually. vor 5 Jahren
process-scripts.sh b2b1e1aa5f Move directory to make build easier vor 11 Jahren
tidy.conf e00b3ee3be building: Change HTML encoding to UTF-8 (issue #1) vor 5 Jahren

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