i'm getting numerous warnings/errors trying to render an extremely
simple DocBook document.  my tools:

  docbook xsl 1.60.1
  fop 0.20.5rc2
  java 1.4.1_02 from sun
  latest Jimi from sun

  i stripped things down to a 3-page document that shows beginners
how to start using docbook markup.  then i tried to use FOP to render
the PDF directly from the XML (i appended the *entire* XML doc to the
bottom of this post, just in case).

  when i ran fop, i got lots of errors of the form:

[INFO] Using com.icl.saxon.aelfred.SAXDriver as SAX2 Parser
[INFO] FOP 0.20.5rc2
[INFO] Using com.icl.saxon.aelfred.SAXDriver as SAX2 Parser
[INFO] building formatting object tree
[INFO] setting up fonts
Making portrait pages on USletter paper (8.5inx11in)
[ERROR] property - "background-position-horizontal" is not implemented yet.
[ERROR] property - "background-position-vertical" is not implemented yet.
[INFO] Failed to load JAI, using Jimi instead
... snip ...
[ERROR] Unknown enumerated value for property 'relative-align': baseline
[ERROR] Error in relative-align property value 'baseline': 
org.apache.fop.fo.expr.PropertyException: No conversion defined
... snip ...
[INFO] [1]
[INFO] [2]
[INFO] [3]
... HUGE snip ... lots of dup messages ...
[INFO] [1]
[ERROR] Couldn't find hyphenation pattern en
[ERROR] Error building hyphenation tree for language en
[ERROR] Couldn't find hyphenation pattern en
[ERROR] Error building hyphenation tree for language en
[ERROR] Couldn't find hyphenation pattern en
[ERROR] Error building hyphenation tree for language en
[ERROR] Couldn't find hyphenation pattern en
[ERROR] Error building hyphenation tree for language en
[INFO] Parsing of document complete, stopping renderer


  any suggestions?  in addition, when i tried to render the entire
15 (or so) page document, a number of docbook elements (lists for
instance) were rendered really badly or not at all.

  i'm open to suggestions, as i work my way thru the docs and
archives.  (a pointer to a detailed setup for FOP under red hat
8.0 would be appreciated, and i can probably take it from there.)
thanks.



the doc:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE book PUBLIC "-//OASIS/DTD DocBook XML V4.2//EN" 
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd";>
<book>
 <bookinfo>
  <title>DocBook bits</title>

  <authorgroup>
   <author>
    <firstname>Robert</firstname>
    <surname>Day</surname>
    <affiliation>
     <orgname>Eno River Technologies</orgname>
     <address>
      <email>[EMAIL PROTECTED]</email>
     </address>
    </affiliation>
   </author>
  </authorgroup>

  <copyright>
   <year>2000-3</year>
   <holder>Robert P. J. Day</holder>
  </copyright>

 </bookinfo>
<chapter><title>Basic DocBook markup</title>
<section><title>Some inline markup</title>
 <para>
  We have abbreviations like <abbrev>IBM</abbrev>, acronyms like
  <acronym>NASA</acronym>, emphasis with <emphasis>never</emphasis> and 
firstterms
  such as <firstterm>open source</firstterm>.
 </para>
</section>

<section><title>Computer-related inline markup</title>
 <para>
  There's quite a selection of computer-related inline markup, including
  the application <application>OpenOffice</application>,
  the command <command>grep</command>,
  the filename <filename>/etc/passwd</filename>,
  the varname <varname>@ARGV</varname>,
  the envar <envar>PATH</envar>,
  the option <option>-v</option>,
  the literal <literal>3.14159</literal>,
  the constant <constant>PATH_MAX</constant>,
  the prompt <prompt>bash-2.05 $</prompt>,
  the userinput <userinput>userinput</userinput>,
  the replaceable <replaceable>filename</replaceable>,
  the email <email>[EMAIL PROTECTED]</email>,
  the ulink <ulink url="http://www.linux-migration.org"/>,
  and the systemitem <systemitem 
class="systemname">www.linux-migration.org</systemitem>.
 </para>
<!-- a comment -->
</section>

</chapter>
</book>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to