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

Dan Nichilson 85117fe2b9 Cleanup newline generation in dump-commands 18 years ago
appendices b06ca361a4 Updated book sources to use DocBook-XML DTD 4.5 18 years ago
chapter01 479f92f627 Add the consolelog bootscript and remove printk handling in modules script 18 years ago
chapter02 ea148539cb Rewording so that a colon can be comfortably added to lead in to a command, to help people using screen readers. 18 years ago
chapter03 ead6e7a856 Apply some upstream fixes to Vim. 18 years ago
chapter04 b06ca361a4 Updated book sources to use DocBook-XML DTD 4.5 18 years ago
chapter05 f025bfe5ff Install linux-headers to temporary directory for safety 18 years ago
chapter06 7e1b3ce8a2 Upgrade to E2fsprogs-1.40.2. Fixes #2042. 18 years ago
chapter07 479f92f627 Add the consolelog bootscript and remove printk handling in modules script 18 years ago
chapter08 01670aadbe Typos fix 18 years ago
chapter09 b06ca361a4 Updated book sources to use DocBook-XML DTD 4.5 18 years ago
images 192ac089b9 Import the admonition graphics from the DocBook-XSL package. 18 years ago
prologue 27b8ff9a25 Bump the minimum host version of Bison to 1.875 as earlier versions cause Bash to misbehave. Fixes #1977. 18 years ago
stylesheets 85117fe2b9 Cleanup newline generation in dump-commands 18 years ago
INSTALL 0d8c5d4aa4 Fixed ambiguity in INSTALL. 20 years ago
Makefile 7d39455701 Make formatting tweaks 18 years ago
README 05e94658c6 Updated README and INSTALL. 20 years ago
general.ent 479f92f627 Add the consolelog bootscript and remove printk handling in modules script 18 years ago
index.xml b06ca361a4 Updated book sources to use DocBook-XML DTD 4.5 18 years ago
obfuscate.sh 05d60cedcd Added a versose flag and other fixes to the Makefile. 18 years ago
packages.ent 4e8074a22a Upgrade to Man-Pages-2.62. Fixes #2049. 18 years ago
patches.ent 2d01177ecb Updated glibc-2.5 branch_update patch 18 years ago
tidy.conf 58f10f85ed HTML Tidy's newline detection appears to be broken. Force LF line endings assuming people are rendering on a Linux box 20 years ago

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 to XHTML:
-------------
make BASEDIR=/path/to/output/location


XML to single file XHTML (nochunks):
------------------------------------
make BASEDIR=/path/to/output/location nochunks


XML to TXT
----------
Follow the instructions for nochunks and then run:
lynx -dump /path/to/nochunks >/path/to/output


XML to PDF:
-----------
make BASEDIR=/path/to/output/location pdf