This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

making a book of articles with Fop


I am trying to make a book that consists of a bunch of articles.  I
want to use apache's Fop to make a pdf file.  I can't find any examples
and mine doesn't work.  Any suggestions?

I'm using the DocBook xsl stylesheet version 1.29.  DocBook xml version
4.1.2 and Fop version 0.19.0 on a Solaris system.



The following is the master xml file that is suppose to bring in the 
other documents.
-----------------------------------------------

<?xml version="1.0"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
          "http://mapserver.gis.umn.edu/mdp/docbkx412/docbookx.dtd"; [
<!ENTITY chap1 SYSTEM "unix-install-howto.xml">
<!ENTITY chap2 SYSTEM "demo-howto.xml">
<!ENTITY chap3 SYSTEM "mapfile-reference.xml">
<!ENTITY chap4 SYSTEM "mapplet-howto.xml">
<!ENTITY chap5 SYSTEM "ogr-howto.xml">
<!ENTITY chap6 SYSTEM "raster-howto.xml">
]>
<book>
<title>MapServer 3.5 Documentation</title>
&chap1;
&chap2;
&chap3;
&chap4;
&chap5;
&chap6;
</book>



The following is an example of one of the articles.
------------------------------------------------
<article>
        <articleinfo>
                <title>MapServer UNIX Compilation and Installation
HOWTO</title>
                <author>
                        <firstname>Jean-Fran&ccedil;ois</firstname>
                        <surname>Doyon</surname>
                        <affiliation>
                                <orgname>Natural Resources
Canada</orgname>
                                <orgdiv>Earth Sciences Sector</orgdiv>
                                <orgdiv>Canadian Centre for Remote
Sensing</orgd
iv>
                                <orgdiv>GeoAccess Division</orgdiv>
                                <address>
                                       
<email>jdoyon@nrcan.gc.ca</email>
                                </address>
                        </affiliation>
                </author>
                <abstract>
                        <para>
                        This document describes the procedures for
obtaining, co
mpiling and installing MapServer on UNIX-type platforms.
                        </para>   
                        <para>Last Updated:  05-23-2001</para>
                </abstract>
        </articleinfo>
        <sect1 id="intro">
                <title>Introduction</title>
                <para>
  The University of Minnesota's MapServer is an open-source and freely
available
 map rendering engine for the web.  Due to its
  open-source nature, it can be compiled on a wide variety of platforms
and oper
ating systems.  We will focus on how to obtain, compile
  and install MapServer on UNIX-like platforms. Throughout this document
we will
 use the popular Linux and Apache combination for the
  examples, as well as the MapServer demo package.  
  </para>
        </sect1>
</article>


The folowing is the command I'm using to process:
------------------------------------------------
java org.apache.fop.apps.Fop -xml list.xml -xsl
/data/docbook-xsl/fo/docbook.xsl -pdf list.pdf


And the following is the output from that command:
-------------------------------------------------
FOP 0.19.0-CVS
using SAX parser org.apache.xerces.parsers.SAXParser
file:////data/docbook-xsl/fo/docbook.xsl; Line 78; Column 16; Making
portrait pages on USletter paper (8.5inx11in)
building formatting object tree
WARNING: property 'format' ignored
WARNING: property 'format' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
file:////data/docbook-xsl/common/common.xsl; Line 1877; Column 20;
Error: no ID for constraint linkend: installation.
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
Error in keep-with-next property value 'true':
org.apache.fop.fo.expr.PropertyException: No conversion defined
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
Error in keep-with-next property value 'true':
org.apache.fop.fo.expr.PropertyException: No conversion defined
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
file:////data/docbook-xsl/common/common.xsl; Line 1877; Column 20;
Error: no ID for constraint linkend: querymap.
file:////data/docbook-xsl/common/common.xsl; Line 1877; Column 20;
Error: no ID for constraint linkend: referencemap.
file:////data/docbook-xsl/common/common.xsl; Line 1877; Column 20;
Error: no ID for constraint linkend: scalebar.
file:////data/docbook-xsl/common/common.xsl; Line 1877; Column 20;
Error: no ID for constraint linkend: fontset.
file:////data/docbook-xsl/common/common.xsl; Line 1877; Column 20;
Error: no ID for constraint linkend: force.
file:////data/docbook-xsl/common/common.xsl; Line 1877; Column 20;
Error: no ID for constraint linkend: font.
file:////data/docbook-xsl/common/common.xsl; Line 1877; Column 20;
Error: no ID for constraint linkend: shapepath.
file:////data/docbook-xsl/common/common.xsl; Line 1877; Column 20;
Error: no ID for constraint linkend: feature.
WARNING: property 'linefeed-treatment' ignored
file:////data/docbook-xsl/common/common.xsl; Line 1877; Column 20;
Error: no ID for constraint linkend: group.
file:////data/docbook-xsl/common/common.xsl; Line 1877; Column 20;
Error: no ID for constraint linkend: minsize.
file:////data/docbook-xsl/common/common.xsl; Line 1877; Column 20;
Error: no ID for constraint linkend: maxsize.

file:////data/docbook-xsl/common/common.xsl; Line 1877; Column 20;
Error: no ID for constraint linkend: toleranceunits.
file:////data/docbook-xsl/common/common.xsl; Line 1877; Column 20;
Error: no ID for constraint linkend: tolerance.
file:////data/docbook-xsl/common/common.xsl; Line 1877; Column 20;
Error: no ID for constraint linkend: join.
file:////data/docbook-xsl/common/common.xsl; Line 1877; Column 20;
Error: no ID for constraint linkend: label.
file:////data/docbook-xsl/common/common.xsl; Line 1877; Column 20;
Error: no ID for constraint linkend: label.
file:////data/docbook-xsl/common/common.xsl; Line 1877; Column 20;
Error: no ID for constraint linkend: color.
file:////data/docbook-xsl/common/common.xsl; Line 1877; Column 20;
Error: no ID for constraint linkend: label.
WARNING: property 'linefeed-treatment' ignored
file:////data/docbook-xsl/common/common.xsl; Line 1877; Column 20;
Error: no ID for constraint linkend: symbolset.
file:////data/docbook-xsl/common/common.xsl; Line 1877; Column 20;
Error: no ID for constraint linkend: class.
file:////data/docbook-xsl/common/common.xsl; Line 1877; Column 20;
Error: no ID for constraint linkend: class.
file:////data/docbook-xsl/common/common.xsl; Line 1877; Column 20;
Error: no ID for constraint linkend: outlinecolor.
file:////data/docbook-xsl/common/common.xsl; Line 1877; Column 20;
Error: no ID for constraint linkend: fontset.
file:////data/docbook-xsl/common/common.xsl; Line 1877; Column 20;
Error: no ID for constraint linkend: fontset.
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
file:////data/docbook-xsl/common/common.xsl; Line 1877; Column 20;
Error: no ID for constraint linkend: fontset.
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
Error in keep-with-next property value 'true':
org.apache.fop.fo.expr.PropertyException: No conversion defined
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
Error in keep-with-next property value 'true':
org.apache.fop.fo.expr.PropertyException: No conversion defined
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
Error in keep-with-next property value 'true':
org.apache.fop.fo.expr.PropertyException: No conversion defined
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
WARNING: property 'linefeed-treatment' ignored
setting up fonts
formatting FOs into areas
 [1] [2] [3]
 [1ERROR: fo:flow must contain block-level children

------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-request@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]