aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2005-03-07 18:36:58 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2005-03-07 18:36:58 +0000
commit82d3941c5a236c9b25689a6c9696f8e09be3a867 (patch)
tree1e5865f0be1310c6974f0882c0559bb2eb8d3d0d /INSTALL
parent68bcfc7d7cf7df9eb3be8f304de98cacae2db7de (diff)
* Update INSTALL instructions (Randy McMurchy)
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4724 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL39
1 files changed, 10 insertions, 29 deletions
diff --git a/INSTALL b/INSTALL
index 62e2961d7..0dc22640d 100644
--- a/INSTALL
+++ b/INSTALL
@@ -25,36 +25,17 @@ If all you want to do is convert XML to HTML perform the following:
* HTMLTidy
- http://www.linuxfromscratch.org/blfs/view/svn/general/tidy.html
- - you'll also need the patch at http://linuxfromscratch.org/~matthew/tidy-041026-prevent_PRE_newlines-1.patch as well.
-------------------------------------------------------------------------------
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. FOP is dependent on ANT
-(Another Neat Tool) and the Java Advanced Imaging (JAI) API.
-
-First we need the Java SDK installed. See
-http://www.linuxfromscratch.org/blfs/view/svn/general/j2sdk.html.
-
-Now install JAI:
- - Download jai-1_1_2_01-lib-linux-i586-jdk.bin from
- http://java.sun.com/products/java-media/jai/downloads/download-1_1_2_01.html
-(download the version for the JDK Install).
- - chmod +x jai-1_1_2_01-lib-linux-i586-jdk.bin
- - cd /opt/j2sdk && /path/to/jai-1_1_2_01-lib-linux-i586-jdk.bin
-
-Next install ANT:
- - http://www.linuxfromscratch.org/blfs/view/svn/general/apache-ant.html
-
-And finally install FOP:
- - download http://www.apache.org/dist/xml/fop/fop-0.20.5-src.tar.gz
- - tar -xzvf fop-0.20.5-src.tar.gz
- (recent versions of tar will warn about "A lone zero block at 33476" but
- this can be safely ignored)
- - cd fop-0.20.5 &&
- ./build.sh &&
- install -d /opt/fop/{bin,lib} &&
- cp lib/{avalon-framework-cvs-20020806.jar,batik.jar} build/fop.jar \
- /opt/fop/lib &&
- cp fop.sh /opt/fop/bin
- - edit your bash profile to set FOP_HOME=/opt/fop and PATH=$PATH:/opt/fop/bin
+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
+