diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2004-05-03 10:33:11 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2004-05-03 10:33:11 +0000 |
commit | 287ea55da70ceb1f0990554b7db921d525fef816 (patch) | |
tree | 5aff1bbd2cbdc38ec513f0e1ef1a2f456cfe49e9 /INSTALL | |
parent | caa08b6106748fa290447d8183adbe6094eed07d (diff) |
* Merged newxml into HEAD
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3434 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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. |