- Timestamp:
- 05/03/2004 10:33:11 AM (20 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 673b0d8
- Parents:
- caa08b6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
INSTALL
rcaa08b6 r287ea55 12 12 If all you want to do is convert XML to HTML perform the following: 13 13 14 First, let's handle some dependencies:15 16 * Unzip17 - http://www.linuxfromscratch.org/blfs/view/cvs/general/unzip.html18 19 * SGML Common20 - http://www.linuxfromscratch.org/blfs/view/cvs/pst/sgml-common.html21 22 14 * libxml2 23 15 - http://www.linuxfromscratch.org/blfs/view/cvs/general/libxml2.html 24 16 25 Now install the following: 17 * libxslt 18 - http://www.linuxfromscratch.org/blfs/view/cvs/general/libxslt.html 26 19 27 20 * DocBook DTD 28 21 - http://www.linuxfromscratch.org/blfs/view/cvs/pst/DocBook.html 29 30 * DSSSL DocBook Stylesheets31 - http://www.linuxfromscratch.org/blfs/view/cvs/pst/docbook-dsssl.html32 22 33 * OpenSP 34 - http://www.linuxfromscratch.org/blfs/view/cvs/pst/opensp.html 35 36 * OpenJade 37 - http://www.linuxfromscratch.org/blfs/view/cvs/pst/openjade.html 38 39 Once you have followed the installation instructions for all these packages 40 from the BLFS Book, then you have a basic DocBook setup. Below are some 41 alternate packages that you can use to convert to other formats. 23 * DocBook XSL Stylesheets 24 - http://www.linuxfromscratch.org/blfs/view/cvs/pst/docbook-xsl.html 42 25 43 26 ------------------------------------------------------------------------------- 44 If you want to be able to convert the book into P S and PDF as well, then you45 will need the Htmldoc package. This takes a HTML file (created with openjade 46 which you already installed) and converts it to PS orPDF:27 If you want to be able to convert the book into PDF as well, then you will need 28 the FOP package. This takes an XSL-FO file (created with libxslt which you 29 already installed) and converts it to PDF: 47 30 48 - http://www.easysw.com/htmldoc/ 49 50 Install HTMLDOC by running: 51 ./configure --prefix=/usr 52 make 53 make install 31 - http://www.apache.org/dist/xml/fop/fop-0.20.5-bin.tar.gz 54 32 55 An excellent X front-end for HTMLDOC is FLTK. If you will be doing rendering 56 in X, then you will probably want this package. 33 Install FOP by running: 57 34 58 - http://sourceforge.net/projects/fltk 35 cd /opt && 36 tar -xzvf /usr/src/fop-0.20.5-bin.tar.gz && 37 mv fop-0.20.5 fop 59 38 60 Install FLTK bt running: 61 ./configure --prefix=/usr 62 make 63 make install 64 65 If you want to be able to convert the book into TXT as well, then you need the 66 lynx browser. Conversion is handled via the -dump option. 67 68 - http://www.linuxfromscratch.org/blfs/view/cvs/basicnet/lynx.html 69 70 You are finished installing everything. Read the README file for some examples 71 how to convert this XML to the various other formats. 72 39 Now set JAVA_HOME, FOP_HOME and PATH to values appropriate to your system.
Note:
See TracChangeset
for help on using the changeset viewer.