|
Last change
on this file since ee335b8 was e5957c5, checked in by Andrew Bradford <andrew@…>, 12 years ago |
|
INSTALL: Rename .md extension, format to markdown
For pretty rendering on places like github but which is still readable
in txt form.
|
-
Property mode
set to
100644
|
|
File size:
890 bytes
|
| Line | |
|---|
| 1 | CLFS Book Conversion Tools
|
|---|
| 2 | ==========================
|
|---|
| 3 |
|
|---|
| 4 | After downloading the book source, there are some things that need to be set up
|
|---|
| 5 | on your computer if you want to convert the XML source into something easier to
|
|---|
| 6 | read (e.g. HTML, TXT, or PDF).
|
|---|
| 7 |
|
|---|
| 8 | If you want to convert the Docbook XML to HTML, install the following:
|
|---|
| 9 |
|
|---|
| 10 | * libxml2
|
|---|
| 11 | * libxslt
|
|---|
| 12 | * DocBook DTD
|
|---|
| 13 | * DocBook XSL Stylesheets
|
|---|
| 14 | * HTMLTidy
|
|---|
| 15 |
|
|---|
| 16 | If you want to convert the Docbook XML to TXT, install the above items, and then
|
|---|
| 17 | install the following:
|
|---|
| 18 |
|
|---|
| 19 | * lynx
|
|---|
| 20 |
|
|---|
| 21 | If you want to convert the Docbook XML to PDF, install the items listed above
|
|---|
| 22 | (except lynx) and then install the following:
|
|---|
| 23 |
|
|---|
| 24 | * JDK
|
|---|
| 25 | * FOP and JAI
|
|---|
| 26 |
|
|---|
| 27 | To actually convert the Docbook XML source into rendered form, which will be
|
|---|
| 28 | located at ../render by default (override with BASEDIR=), execute:
|
|---|
| 29 |
|
|---|
| 30 | * To XHTML: `make`
|
|---|
| 31 | * To single file XHTML (nochunks): `make nochunks`
|
|---|
| 32 | * To PDF: `make pdf`
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.