This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] How to render images?
- From: "A.R. (Tom) Peters" <tpeters at xs4all dot nl>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Mon, 12 Jan 2004 23:13:44 +0100 (CET)
- Subject: [docbook-apps] How to render images?
I was afraid that this would happen: no images show up in my PDF output
when I process process DocBook with xsltproc and fop. Previously with
DSSSL and jadetex the PDF output would not have images either, I had to
use EPS images and generate PostScript output.
This is my DocBook stanza:
<mediaobject><imageobject>
<imagedata fileref="Figuren/Snellius.eps" format="EPS" align="right"></imagedata>
<caption><para>lichtbreking</para></caption>
</imageobject></mediaobject>
This is in the .fo file:
<fo:block text-align="right"><fo:external-graphic
src="Figuren/Snellius.eps" width="auto" height="auto" content-width="auto"
content-height="auto" text-align="right"/></fo:block>
It does not make a difference whether I specify PS (.ps image viewable
with gv), EPS (idem for .eps image), or PDF (.pdf image viewable with
acroread). The PDF file does seem to assign the proper space for the
image, but does not draw it.
Do I need to specify any processing instructions or ...?
--
#>!$!%(@^%#%*(&(#@#*$^@^$##*#@&(%)@**$!(&!^(#((#&%!)%*@)(&$($$%(@#)&*!^$)^@*^@)
Tom "thriving on chaos" Peters
NL-1062 KD nr 149 tel. +31-204080204
Amsterdam e-mail tpeters@xs4all.nl
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.