[xep-support] Using XEP to do Docbook processing Question (Probably installation)

Bob Stayton bobs at sagehill.net
Mon Jul 26 18:07:27 PDT 2004


That error usually comes about because the DocBook Java extension jar file
is not found in the CLASSPATH to the command.  It looks correct in your CP
variable, so I don't know why it isn't being found.

The reason FOP doesn't give you an error is because it doesn't set
use.extensions=1, so it doesn't try to find the extension function.  If your
results are satisfactory without the extensions, then set use.extensions=0
(or leave it off because that is the default).

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs at sagehill.net


----- Original Message ----- 
From: "Dr. Laurence Leff" <D-Leff at wiu.edu>
To: <xep-support at renderx.com>
Sent: Sunday, July 25, 2004 10:30 AM
Subject: [xep-support] Using XEP to do Docbook processing Question (Probably
installation)


>
> I am running a Docbook XML file using XEP and am getting the error message
> below:
>
> Making portrait pages on USletter paper (210mmx11in)
> No adjustColumnWidths function available.
> Processing terminated by xsl:message at line 203
>
> I followed the instructions in Chapter Three of Bob Stayton's online
> book.  This gave me the following script:  I found a note from Mr. Stayton
> on a different support list that suggested this error message is related
> to use of the Xalan processor.
>
> #!/bin/sh
>
> # This script encapsulates a standard SAXON call.
> #   This Script example borrowed from another application
>
> JAVA_HOME=/usr/java/j2sdk1.4.1_01/jre
>
> SAXON_HOME=/home/leffstudent/XEP/lib
>
> STYLESHEETS_HOME=/home/leffstudent/XEP/doc/docbook/stylesheets
>
>
CP=$JAVA_HOME/lib/tools.jar:$SAXON_HOME/saxon.jar:/home/leffstudent/DOCBOOK/
docbook-xsl-1.65.1/extensions/saxon653.jar:/home/leffstudent/xerces-2_6_0/xe
rcesImpl.jar
>
> NEW_LIB_HOME=/home/leffstudent/DOCBOOK/FOP/fop-0.20.5/lib
>
>
$JAVA_HOME/bin/java -Xbootclasspath/p:$NEW_LIB_HOME/xalan-2.4.1.jar:$NEW_LIB
_HOME/xercesImpl-2.2.1.jar:$NEW_LIB_HOME/xml-apis.jar -classpath $CP
com.icl.saxon.StyleSheet \
>    -o $1.fo $1 \
>    $STYLESHEETS_HOME/custom-fo.xsl \
>    use.extensions=1
>
> ________________________________________________________
> By the way, I tried the exact same XML input file with the FOP that is
> open source. It works fine and gives me a beautiful PDF file.
>
> I suspect that I made a minor mistake in installation or the
> shell file to invoke XEP.    Thanks for your help.
>
> Dr. Laurence Leff  Western Illinois University, Macomb IL 61455 ||(309)
298-1315
> Stipes 447 Assoc. Prof. of Computer Sci. Pager: 309-367-0787 FAX:
309-298-2302
> Secretary: Electronic Contracts Technical Committee OASIS Legal XML Member
Section
> ____________________________________________________________________
>   Input XML file
>
> <section id="grade">
> <title id="grade.title">CS488 Grading Information</title>
> <informaltable frame="all" colsep="1" rowsep="1">
> <tgroup cols="2" align="left">
> <colspec colname="grade" colwidth="0.5in"/>
> <colspec colname="cutoff" colwidth="0.5in"/>
> <tbody>
> <row><entry>grade</entry><entry>range</entry></row>
> <row><entry><literal>A</literal></entry><entry>4.0 or above</entry></row>
> <row><entry><literal>B</literal></entry><entry>3.0 to 4.0</entry></row>
> <row><entry><literal>C</literal></entry><entry>2.0 to 3.0</entry></row>
> <row><entry><literal>D</literal></entry><entry>1.3 to 2.0</entry></row>
> </tbody>
> </tgroup>
> </informaltable>
> </section>
> -------------------
> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
> in the body of the message to majordomo at renderx.com from the address
> you are subscribed from.
> (*) By using the Service, you expressly agree to these Terms of Service
http://www.renderx.com/tos.html
>
>


-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list