2005-07-15 20:38:31 +01:00
|
|
|
LFS Book README
|
2003-09-10 02:13:03 +01:00
|
|
|
|
2021-09-07 22:05:44 +01:00
|
|
|
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
|
2004-05-03 11:33:11 +01:00
|
|
|
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
|
2003-09-10 02:13:03 +01:00
|
|
|
various other formats.
|
2001-02-22 18:21:07 +00:00
|
|
|
|
2021-09-07 22:05:44 +01:00
|
|
|
In all examples, setting the parameter REV=systemd is needed to build the
|
2016-10-15 21:13:19 +01:00
|
|
|
systemd version of the book.
|
|
|
|
|
2004-05-03 11:33:11 +01:00
|
|
|
XML to XHTML:
|
|
|
|
-------------
|
2004-05-07 09:02:07 +01:00
|
|
|
make BASEDIR=/path/to/output/location
|
2001-02-22 18:21:07 +00:00
|
|
|
|
|
|
|
|
2005-07-15 20:38:31 +01:00
|
|
|
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
|
|
|
|
|
2004-05-03 11:33:11 +01:00
|
|
|
XML to PDF:
|
2001-02-22 18:21:07 +00:00
|
|
|
-----------
|
2005-07-15 20:38:31 +01:00
|
|
|
make BASEDIR=/path/to/output/location pdf
|
2009-07-31 16:42:00 +01:00
|
|
|
|
2009-07-31 16:44:13 +01:00
|
|
|
|