From fd0d57295016d176374a2593da440659f5972129 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Wed, 19 Jan 2005 07:37:54 +0000 Subject: [PATCH] Update the docs for initializing the fop tool. Try to clarify them a bit, too. [SVN r26736] --- doc/boostbook.xml | 41 ++++++++++++++++++++--------------------- 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/doc/boostbook.xml b/doc/boostbook.xml index a699315..7e20269 100644 --- a/doc/boostbook.xml +++ b/doc/boostbook.xml @@ -262,34 +262,33 @@ using boostbook : DOCBOOK_XSL_DIR
- Configuring Apache FOP for PostScript/PDF Output + Configuring PDF and PostScript Output - This section describes the steps required to configure - Apache - FOP to generate PostScript and PDF output for BoostBook - documents. To begin, you will need two pieces of software: + In order to generate PDF and PostScript output, you have to + install two tools: A Java interpreter, available at . Apache FOP, available at . Version 0.20.4 seems to be most stable. - Once Java is installed (we'll call Java's directory - JAVA_HOME) and Apache FOP has been extracted into a - directory (we'll call FOP's directory FOP_DIR), we - need to configure Boost.Build to use FOP. Edit your - user-config.jam or - site-config.jam and add the following, - replacing FOP_DIR with the directory where Apache - FOP is installed, and replace JAVA_HOME with the - directory where Java is installed: - -using fop : FOP_DIR - : JAVA_HOME - ; - - In some cases, JAVA_HOME is optional, but it often - helps to specify it. + Install the Java interpreter and then unpack Apache FOP to some + directory. The top level directory of the FOP tool should contain a main + script called fop.sh on Unix and + fop.bat on Windows. You need to specify the + location of that script and Java location to Boost.Build. Add the + following to your user-config.jam or + site-config.jam: + +using fop : FOP_COMMAND + : JAVA_HOME + ; + replacing + FOP_COMMAND with the full path to the FOP main script, and + replacing JAVA_HOME with the directory where Java is + installed. If the JAVA_HOME environment variable is + already set, you don't need to specify it above. + To test PDF generation, switch to the directory $BOOST_ROOT/doc and execute the