[e8a0469] | 1 | LFS Book Conversion Tools Installation Instructions
|
---|
[2fadfb6] | 2 |
|
---|
[5507127] | 3 | After downloading the SVN source, there are some things that need to be set up
|
---|
[e8a0469] | 4 | on your computer if you want to convert the XML source into something easier to
|
---|
| 5 | read (e.g. HTML, TXT, PS or PDF). If you are interested in this, then keep
|
---|
| 6 | reading. If you are only interested in editing the XML source for re-
|
---|
| 7 | submission to the lfs-book or lfs-dev mailing lists, then you do not need this
|
---|
| 8 | document. Instead, you need to read the LFS Editor's Manual. See the LFS
|
---|
[a52b2c2] | 9 | website at http://www.linuxfromscratch.org for more information.
|
---|
[2fadfb6] | 10 |
|
---|
[e8a0469] | 11 | -------------------------------------------------------------------------------
|
---|
| 12 | If all you want to do is convert XML to HTML perform the following:
|
---|
[2fadfb6] | 13 |
|
---|
[e8a0469] | 14 | * libxml2
|
---|
[800abab] | 15 | - http://www.linuxfromscratch.org/blfs/view/svn/general/libxml2.html
|
---|
[2fadfb6] | 16 |
|
---|
[287ea55] | 17 | * libxslt
|
---|
[800abab] | 18 | - http://www.linuxfromscratch.org/blfs/view/svn/general/libxslt.html
|
---|
[2fadfb6] | 19 |
|
---|
[e8a0469] | 20 | * DocBook DTD
|
---|
[800abab] | 21 | - http://www.linuxfromscratch.org/blfs/view/svn/pst/xml.html
|
---|
[2fadfb6] | 22 |
|
---|
[81fd230] | 23 | * DocBook XSL Stylesheets
|
---|
| 24 | - http://www.linuxfromscratch.org/blfs/view/svn/pst/docbook-xsl.html
|
---|
[a942c0a] | 25 |
|
---|
[3042296] | 26 | * HTMLTidy
|
---|
[800abab] | 27 | - http://www.linuxfromscratch.org/blfs/view/svn/general/tidy.html
|
---|
[3042296] | 28 |
|
---|
[e8a0469] | 29 | -------------------------------------------------------------------------------
|
---|
[287ea55] | 30 | If you want to be able to convert the book into PDF as well, then you will need
|
---|
| 31 | the FOP package. This takes an XSL-FO file (created with libxslt which you
|
---|
[82d3941c] | 32 | already installed) and converts it to PDF. FOP is dependant on the Java
|
---|
| 33 | Advanced Imaging (JAI) API to render SVG graphics. Instructions to install the
|
---|
| 34 | JAI are included in the FOP instructions. Perform the following:
|
---|
| 35 |
|
---|
| 36 | * J2SDK
|
---|
| 37 | - http://www.linuxfromscratch.org/blfs/view/svn/general/j2sdk.html
|
---|
| 38 |
|
---|
| 39 | * FOP
|
---|
| 40 | - http://www.linuxfromscratch.org/blfs/view/svn/pst/fop.html
|
---|
| 41 |
|
---|