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

Archaic 94aa662138 Reverting UTF-8 changes until everything is in place. 19 years ago
appendixa 8e8f00393a Appendices indentation. 19 years ago
appendixb 8e8f00393a Appendices indentation. 19 years ago
chapter01 94aa662138 Reverting UTF-8 changes until everything is in place. 19 years ago
chapter02 59988921eb Add -v to commands that accept it 20 years ago
chapter03 94aa662138 Reverting UTF-8 changes until everything is in place. 19 years ago
chapter04 59988921eb Add -v to commands that accept it 20 years ago
chapter05 94aa662138 Reverting UTF-8 changes until everything is in place. 19 years ago
chapter06 94aa662138 Reverting UTF-8 changes until everything is in place. 19 years ago
chapter07 94aa662138 Reverting UTF-8 changes until everything is in place. 19 years ago
chapter08 94aa662138 Reverting UTF-8 changes until everything is in place. 19 years ago
chapter09 7686ca6aae Chapter09 indentation. 19 years ago
prologue b330f4a3a2 Prologue indentation. 19 years ago
stylesheets 814f5ec179 Some of the commands marked as "nodump" are actualy needed to do proper commands diffs between books versions. 20 years ago
INSTALL 0d8c5d4aa4 Fixed ambiguity in INSTALL. 20 years ago
Makefile 2c5e4d5994 Added dump-commands.xsl. 20 years ago
README 05e94658c6 Updated README and INSTALL. 20 years ago
general.ent 94aa662138 Reverting UTF-8 changes until everything is in place. 19 years ago
index.xml df42a9a98e Moved chap2 to part2 and a slight rewording. 20 years ago
obfuscate.sh fbb5e45367 Added obfuscate.sh to test it in production mode. 20 years ago
patches.ent 94aa662138 Reverting UTF-8 changes until everything is in place. 19 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