discuss: Images in howto
Subject:
Re: Images in howto
From:
Pierre Machard ####@####.####
Date:
19 Sep 2002 07:41:22 -0000
Message-Id: <20020919073926.GA1099@migus.eu.org>
On Wed, Sep 18, 2002 at 10:56:03PM +0200, David Gourdelier wrote:
> Hi,
>
> I have some problems inserting images with Docbook. When I give a PNG
> image, the HTML generation is OK but the PDF document doesn't contain it
> (using jade or openjade). So I told the parser that the PNG is an EPS
> file and then the PDF contains the images:
>
> <mediaobject>
> <imageobject>
> <imagedata fileref="images/cif_1stpage.png" format="PNG" />
> </imageobject>
> <imageobject>
> <imagedata fileref="images/cif_1stpage.png" format="EPS" />
> </imageobject>
> <textobject>
> <phrase>The first page on the CIF</phrase>
> </textobject>
> <caption>
> <para>The first page you will see when you login on the CIF.</para>
> </caption>
> </mediaobject>
Your syntax is good.
> But in this case the postscript generation fail because the EPS file is
> in fact a PNG image.
Convert your png into eps. I know that gimp is able to do such things,
but I guess that convert is also able to deal with it.
Cheers,
--
Pierre Machard
####@####.#### TuxFamily.org
####@####.#### techmag.net
+33(0)668 178 365 http://migus.tuxfamily.org/gpg.txt
GPG: 1024D/23706F87 : B906 A53F 84E0 49B6 6CF7 82C2 B3A0 2D66 2370 6F87