This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: problems with imageobject
- From: camille <camille at mandrakesoft dot com>
- To: Oliver Vecernik <vecernik at aon dot at>
- Cc: docbook at lists dot oasis-open dot org
- Date: Thu, 28 Feb 2002 10:17:32 +0100
- Subject: Re: DOCBOOK: problems with imageobject
- Organization: MandrakeSoft
- References: <15482.26828.23118.730922@p500.vecernik.at>
Hi Oliver,
EPDF graphics (use epstopdf) are supported.
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref=" figures/main.pdf" format="EPS"/>
</imageobject>
<imageobject>
<imagedata fileref="figures/main.png" format="PNG"/>
</imageobject>
</mediaobject>
</screenshot>
Camille.
Oliver Vecernik a écrit :
>
> Hi,
>
> I'm trying to generate a pdf file and get following error:
>
> | user@host:~> db2pdf test.xml
> |
> | [...]
> |
> | ! LaTeX Error: Unknown graphics extension: .eps.
> |
> | See the LaTeX manual or LaTeX Companion for explanation.
> | Type H <return> for immediate help.
> | ...
> |
> | l.351 {EPS}}
> | \endNode{}\endNode{}\endSeq{}\endPar{}\endNode{}\endNode{}\endPa...
> |
> | [1.0.31[/var/lib/texmf/dvips/config/pdftex.map]] (test.aux) )
>
> The corresponding snippet in test.xml is following:
>
> <screenshot>
> <mediaobject>
> <imageobject>
> <imagedata fileref=" figures/main.eps" format="EPS"/>
> </imageobject>
> <imageobject>
> <imagedata fileref="figures/main.png" format="PNG"/>
> </imageobject>
> </mediaobject>
> </screenshot>
>
> Both files exist and are readable. The code works for html output
> (.png). What am I doing wrong?
>
> Best Regards,
> Oliver