|
@@ -1,33 +1,40 @@
|
|
|
+这是 Linux From Scratch 的中文翻译版。
|
|
|
+
|
|
|
+由于译者水平、时间有限,必然存在很多错误。如果您发现错误,无论是原书的错误还是
|
|
|
+翻译错误,均可在 gogs 工单系统
|
|
|
+<https://linux.xidian.edu.cn/git/xry111/LFS-book/issues> 指出。
|
|
|
+
|
|
|
+下面是原书 README 文件的翻译。
|
|
|
+
|
|
|
+-------------------------------手动分割线---------------------------------------
|
|
|
+
|
|
|
LFS Book README
|
|
|
|
|
|
-This document is meant to instruct the user on how to convert the book's XML
|
|
|
-source to other formats (e.g. HTML, PDF, PS and TXT). First, if you have not
|
|
|
-already done so, please read the INSTALL file for instructions on how to install
|
|
|
-the required software. If you have already completed the steps outlined in the
|
|
|
-INSTALL file, then continue reading for examples how to convert these files into
|
|
|
-various other formats.
|
|
|
+本文档的目的是帮助用户了解如何将本书的 XML 源码转换成其他格式(如 HTML, PDF, PS
|
|
|
+以及 TXT 等)。首先,如果这是您第一次进行这样的操作,请根据 INSTALL 文件的说明,
|
|
|
+安装所需的软件。如果您已经完成了 INSTALL 文件给出的安装步骤,请继续阅读本文,您将
|
|
|
+会看到将本书转换成其他格式的命令示例。
|
|
|
|
|
|
-In all examples, setting the parameter REV=systemd is needed to build the
|
|
|
-systemd version of the book.
|
|
|
+在所有示例中,设置参数 REV=systemd 即可生成本书的 systemd 版本。
|
|
|
|
|
|
|
|
|
-XML to XHTML:
|
|
|
+将 XML 转换成 XHTML:
|
|
|
-------------
|
|
|
make BASEDIR=/path/to/output/location
|
|
|
|
|
|
|
|
|
-XML to single file XHTML (nochunks):
|
|
|
+将 XML 转换成单个 XHTML 文件 (不分块):
|
|
|
------------------------------------
|
|
|
make BASEDIR=/path/to/output/location nochunks
|
|
|
|
|
|
|
|
|
-XML to TXT
|
|
|
+将 XML 转换成 TXT:
|
|
|
----------
|
|
|
-Follow the instructions for nochunks and then run:
|
|
|
+首先生成单个不分块的 XHTML 文件,然后执行
|
|
|
lynx -dump /path/to/nochunks >/path/to/output
|
|
|
|
|
|
|
|
|
-XML to PDF:
|
|
|
+将 XML 转换成 PDF:
|
|
|
-----------
|
|
|
make BASEDIR=/path/to/output/location pdf
|
|
|
|