source:
BOOK/README@
a93f0dea
| Last change on this file since a93f0dea was 67300de, checked in by , 17 years ago | |
|---|---|
|
|
| File size: 1.0 KB | |
| Line | |
|---|---|
| 1 | CLFS Book README |
| 2 | |
| 3 | This document is meant to instruct the user on how to convert the book's XML |
| 4 | source to other formats (e.g. HTML, PDF, PS and TXT). First, if you have not |
| 5 | already done so, please read the INSTALL file for instructions on how to install |
| 6 | the required software. If you have already completed the steps outlined in the |
| 7 | INSTALL file, then continue reading for examples how to convert these files into |
| 8 | various other formats. |
| 9 | |
| 10 | By default all books will be generated, to only generate the target your want |
| 11 | you can specify ARCH={target} to create a particular book to any of the command |
| 12 | lines below. To get a list of targets use make target-list |
| 13 | |
| 14 | XML to XHTML: |
| 15 | ------------- |
| 16 | make BASEDIR=/path/to/output/location |
| 17 | |
| 18 | |
| 19 | XML to single file XHTML (nochunks): |
| 20 | ------------------------------------ |
| 21 | make BASEDIR=/path/to/output/location nochunks |
| 22 | |
| 23 | |
| 24 | XML to TXT |
| 25 | ---------- |
| 26 | Follow the instructions for nochunks and then run: |
| 27 | lynx -dump /path/to/nochunks >/path/to/output |
| 28 | |
| 29 | |
| 30 | XML to PDF: |
| 31 | ----------- |
| 32 | make BASEDIR=/path/to/output/location pdf |
Note:
See TracBrowser
for help on using the repository browser.
