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

From: Dr. Laurence Leff (D-Leff@wiu.edu)
Date: Sun Jul 25 2004 - 10:30:28 PDT

  • Next message: David Priest: "[xep-support] Overriding start-indent on even/odd pages"

    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/xercesImpl.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@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



    This archive was generated by hypermail 2.1.5 : Sun Jul 25 2004 - 10:54:24 PDT