That was an issue with fop 0.94. For some reason I forgot to update my system to the latest fop 0.95...
Sorry for the noise On Wed, Jan 27, 2010 at 3:43 PM, John Burgess <john.burg...@riskdecisions.com> wrote: > You could try running the transform separately to produce the .fo file, then > feed that into fop afterwards. > > -- > John Burgess > Risk Decisions Limited > Whichford House > Parkway Court > Oxford Business Park South > OX4 2JY > > T: 01865 718666 > F: 01865 718600 > M: 07984 863890 > E: john.burg...@riskdecisions.com > W: http://www.riskdecisions.com > > > > > Mathieu Malaterre wrote: >> >> Hi there, >> >> I am currently trying to check if my group can start using docbook >> for writing high quality documentation. As far as I understand there >> are three competitors dblatex, xmlroff and fop. dblatex is a strange >> beast as it 'just works', but you cannot control anything (PNG file >> are degraded). >> >> I am now trying fop on my debian system: >> >> $ fop -xsl /usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl >> -pdf article.pdf -xml in.xml >> >> which returns the following error (*). >> >> The input example was simply: >> >> $ cat in.xml >> <?xml version="1.0" encoding="UTF-8"?> >> <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" >> "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> >> <article> >> <articleinfo> >> <title>title</title> >> <author> >> <firstname>author</firstname> >> <surname>author2</surname> >> <affiliation> >> <orgname>bla</orgname> >> </affiliation> >> </author> >> <pubdate>2001</pubdate> >> </articleinfo> >> <section> >> <title>section 1</title> >> <para>text section 1</para> >> <figure> >> <title>first</title> >> <mediaobject> >> <imageobject> >> <imagedata fileref="graphics2.png"/> >> </imageobject> >> </mediaobject> >> </figure> >> </section> >> </article> >> >> >> Could someone please confirm whether including PNG file is supported or >> not ? >> >> Thanks, >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org > For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org > > -- Mathieu --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org