This is the mail archive of the
docbook-tools-discuss@sourceware.cygnus.com
mailing list for the docbook-tools project.
Re: db2pdf chokes: LaTeX Error: Unknown graphics extension: .eps
- To: Bill Brooks <wbrooks at lug dot ee dot calpoly dot edu>
- Subject: Re: db2pdf chokes: LaTeX Error: Unknown graphics extension: .eps
- From: Peter Toft <pto at sslug dot dk>
- Date: Thu, 1 Jun 2000 13:57:45 +0200 (CEST)
- cc: docbook-tools-discuss at sourceware dot cygnus dot com
On Wed, 31 May 2000, Bill Brooks wrote:
> Hi all,
>
> If I have the following fragment in a document:
>
> <figure>
> <title>Picture's Title</title>
> <graphic fileref="images/foo"></graphic>
> </figure>
My current trick (there is no golden way through)
is to include
<!ENTITY % magic-entities SYSTEM "magic.sgml">
%magic-entities;
-------------
magic.sgml I will either make as
<!ENTITY magic "png"> <---- for making html or pdf
or
<!ENTITY magic "ps"> <----- for making ps-docs
--------------
When I include pictures then I use this
<FIGURE ID="xterm-fig" FLOAT="1">
<TITLE>This is the xterm</TITLE>
<GRAPHIC FILEREF="../images/xterm.&magic;" SCALE="60"></GRAPHIC>
</FIGURE>
Then I can compile whatever outputformat I want - and I
use ImageMagic to convert png -> eps.
Peter Toft, Ph.D. [pto@sslug.dk] http://www.sslug.dk/~pto
OS Wars: Luke, Use the Source!