diff options
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 59 |
1 files changed, 13 insertions, 46 deletions
@@ -11,62 +11,29 @@ website at http://www.linuxfromscratch.org for more information. ------------------------------------------------------------------------------- If all you want to do is convert XML to HTML perform the following: -First, let's handle some dependencies: - -* Unzip - - http://www.linuxfromscratch.org/blfs/view/cvs/general/unzip.html - -* SGML Common - - http://www.linuxfromscratch.org/blfs/view/cvs/pst/sgml-common.html - * libxml2 - http://www.linuxfromscratch.org/blfs/view/cvs/general/libxml2.html -Now install the following: +* libxslt + - http://www.linuxfromscratch.org/blfs/view/cvs/general/libxslt.html * DocBook DTD - http://www.linuxfromscratch.org/blfs/view/cvs/pst/DocBook.html - -* DSSSL DocBook Stylesheets - - http://www.linuxfromscratch.org/blfs/view/cvs/pst/docbook-dsssl.html - -* OpenSP - - http://www.linuxfromscratch.org/blfs/view/cvs/pst/opensp.html - -* OpenJade - - http://www.linuxfromscratch.org/blfs/view/cvs/pst/openjade.html -Once you have followed the installation instructions for all these packages -from the BLFS Book, then you have a basic DocBook setup. Below are some -alternate packages that you can use to convert to other formats. +* DocBook XSL Stylesheets + - http://www.linuxfromscratch.org/blfs/view/cvs/pst/docbook-xsl.html ------------------------------------------------------------------------------- -If you want to be able to convert the book into PS and PDF as well, then you -will need the Htmldoc package. This takes a HTML file (created with openjade -which you already installed) and converts it to PS or PDF: - - - http://www.easysw.com/htmldoc/ - - Install HTMLDOC by running: - ./configure --prefix=/usr - make - make install - -An excellent X front-end for HTMLDOC is FLTK. If you will be doing rendering -in X, then you will probably want this package. - - - http://sourceforge.net/projects/fltk - - Install FLTK bt running: - ./configure --prefix=/usr - make - make install +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 +already installed) and converts it to PDF: -If you want to be able to convert the book into TXT as well, then you need the -lynx browser. Conversion is handled via the -dump option. + - http://www.apache.org/dist/xml/fop/fop-0.20.5-bin.tar.gz - - http://www.linuxfromscratch.org/blfs/view/cvs/basicnet/lynx.html + Install FOP by running: -You are finished installing everything. Read the README file for some examples -how to convert this XML to the various other formats. + cd /opt && + tar -xzvf /usr/src/fop-0.20.5-bin.tar.gz && + mv fop-0.20.5 fop + Now set JAVA_HOME, FOP_HOME and PATH to values appropriate to your system. |