This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
images in a pdf from a fo file
- To: <xsl-list at mulberrytech dot com>
- Subject: images in a pdf from a fo file
- From: "Robert Koberg" <rob at koberg dot com>
- Date: Sat, 5 Aug 2000 03:23:34 -0700
- References: <NABBLNLEFKJBBIBELMLOEELNLFAA.Chris@Bayes.co.uk>
- Reply-To: xsl-list at mulberrytech dot com
I cannot get images to display in the pdf I generate. Are there any tricks
and/or can someone help?
Here is the the block that contains image data (Note: the block of text does
show):
<fo:block id="ch02fig01">
<fo:block>Figure 2.1. Elvis' very first single from 1954: "That's
All Right"/"Blue Moon of Kentucky." Scotty Moore (l) and Bill
Black (r) in the background.</fo:block>
<fo:block>
<fo:external-graphic src="graphics/02fig01.gif">
</fo:external-graphic>
</fo:block>
</fo:block>
I am using cocoon to render the fo file. Then, at the command line I use:
java org.apache.fop.apps.CommandLine file.fo file.pdf
to render the pdf.
I have tried quite a few different configurations in the fo file but can't
get a graphic to show. Any suggestions would be greatly appreciated.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list