2003-09-10 02:13:03 +01:00
|
|
|
LFS Book Conversion Tools Installation Instructions
|
2001-02-22 18:21:07 +00:00
|
|
|
|
2004-11-12 19:43:20 +00:00
|
|
|
After downloading the SVN source, there are some things that need to be set up
|
2003-09-10 02:13:03 +01:00
|
|
|
on your computer if you want to convert the XML source into something easier to
|
|
|
|
read (e.g. HTML, TXT, PS or PDF). If you are interested in this, then keep
|
|
|
|
reading. If you are only interested in editing the XML source for re-
|
|
|
|
submission to the lfs-book or lfs-dev mailing lists, then you do not need this
|
|
|
|
document. Instead, you need to read the LFS Editor's Manual. See the LFS
|
2004-01-27 22:28:14 +00:00
|
|
|
website at http://www.linuxfromscratch.org for more information.
|
2001-02-22 18:21:07 +00:00
|
|
|
|
2003-09-10 02:13:03 +01:00
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
If all you want to do is convert XML to HTML perform the following:
|
2001-02-22 18:21:07 +00:00
|
|
|
|
2003-09-10 02:13:03 +01:00
|
|
|
* libxml2
|
2004-12-02 03:24:13 +00:00
|
|
|
- http://www.linuxfromscratch.org/blfs/view/svn/general/libxml2.html
|
2001-02-22 18:21:07 +00:00
|
|
|
|
2004-05-03 11:33:11 +01:00
|
|
|
* libxslt
|
2004-12-02 03:24:13 +00:00
|
|
|
- http://www.linuxfromscratch.org/blfs/view/svn/general/libxslt.html
|
2001-02-22 18:21:07 +00:00
|
|
|
|
2003-09-10 02:13:03 +01:00
|
|
|
* DocBook DTD
|
2004-12-02 03:24:13 +00:00
|
|
|
- http://www.linuxfromscratch.org/blfs/view/svn/pst/xml.html
|
2001-02-22 18:21:07 +00:00
|
|
|
|
2005-02-19 22:16:42 +00:00
|
|
|
* DocBook XSL Stylesheets
|
|
|
|
- http://www.linuxfromscratch.org/blfs/view/svn/pst/docbook-xsl.html
|
2004-06-20 15:04:39 +01:00
|
|
|
|
2004-06-18 19:04:55 +01:00
|
|
|
* HTMLTidy
|
2004-12-02 03:24:13 +00:00
|
|
|
- http://www.linuxfromscratch.org/blfs/view/svn/general/tidy.html
|
2004-06-18 19:04:55 +01:00
|
|
|
|
2003-09-10 02:13:03 +01:00
|
|
|
-------------------------------------------------------------------------------
|
2004-05-03 11:33:11 +01:00
|
|
|
If you want to be able to convert the book into PDF as well, then you will need
|
|
|
|
the FOP package. This takes an XSL-FO file (created with libxslt which you
|
2005-03-07 18:36:58 +00:00
|
|
|
already installed) and converts it to PDF. FOP is dependant on the Java
|
|
|
|
Advanced Imaging (JAI) API to render SVG graphics. Instructions to install the
|
|
|
|
JAI are included in the FOP instructions. Perform the following:
|
|
|
|
|
|
|
|
* J2SDK
|
|
|
|
- http://www.linuxfromscratch.org/blfs/view/svn/general/j2sdk.html
|
|
|
|
|
|
|
|
* FOP
|
|
|
|
- http://www.linuxfromscratch.org/blfs/view/svn/pst/fop.html
|
|
|
|
|