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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] Re: [docbook] Using an image on the titlepage


Hi Ben,

On Sun, Apr 24, 2005 at 12:51:19PM +0200, Ben Branders wrote:
> Paul A. Hoadley (24-04-05 11:14)
> > Definitely.  The element you want is 'fo:external-graphic'.
> > 
> > <xsl:template name="book.titlepage.recto">
> >   <fo:block>
> >     <fo:external-graphic src="url(images/frontpage.png)"/>
> >   </fo:block>
> > </xsl:template>
> 
> I tried this, but I just get a white frontpage using this method. I
> tried both PNG and EPS.

Post a minimal example of XML source that demonstrates the problem,
and the customisation layer you're using.  That's only a code fragment
above, and the problem could be anywhere.

> I do get these errors, but I got those from the beginning:
> 
> [ERROR] property - "background-position-horizontal" is not implemented yet.
> [ERROR] property - "background-position-vertical" is not implemented yet.
> [INFO] JAI support was not installed (read: not present at build time).
> Trying to use Jimi instead
> [ERROR] property - "background-position-horizontal" is not implemented yet.
> [ERROR] property - "background-position-vertical" is not implemented yet.
> [ERROR] property - "background-position-horizontal" is not implemented yet.
> [ERROR] property - "background-position-vertical" is not implemented yet.
> [ERROR] property - "background-position-horizontal" is not implemented yet.

I don't use FOP, so I can't be of much help here.  Note that
(apparently) FOP only supports EPS if PostScript is the output format
(which is not an enormous deficiency---XEP has the same limitation).

http://xml.apache.org/fop/graphics.html#eps

You would subsequently need to use something like ps2pdf to generate a
PDF.  It might be best to stick with PNG while you are debugging this.


-- 
Paul.

w  http://logicsquad.net/
h  http://paul.hoadley.name/

Attachment: pgp00000.pgp
Description: PGP signature


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