This is the mail archive of the docbook-tools-discuss@sourceware.cygnus.com mailing list for the docbook-tools project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: db2pdf chokes: LaTeX Error: Unknown graphics extension: .eps


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! 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]