public inbox for docbook-tools-discuss@sourceware.org
 help / color / mirror / Atom feed
* db2pdf chokes: LaTeX Error: Unknown graphics extension: .eps
  2000-12-27  6:36 db2pdf chokes: LaTeX Error: Unknown graphics extension: .eps Bill Brooks
@ 2000-05-31 22:40 ` Bill Brooks
  2000-12-27  6:36 ` Peter Toft
  1 sibling, 0 replies; 6+ messages in thread
From: Bill Brooks @ 2000-05-31 22:40 UTC (permalink / raw)
  To: docbook-tools-discuss

Hi all,

If I have the following fragment in a document:

<figure>
   <title>Picture's Title</title>
   <graphic fileref="images/foo"></graphic>
</figure>

...where I have a  file named foo.eps in the images subdirectory that is
an encapsulated postscript file, I always get the following error message
when I attempt to make a .pdf file with db2pdf:

(/usr/share/texmf/tex/latex/psnfss/ts1ptm.fd) [3.0.25] [4.0.25] [5.0.25]
[6.0.25] [7.0.25] [8.0.25]

! LaTeX Error: Unknown graphics extension: .eps.

I'm using the sourceware docbook rpm's:

astyle-1.11.4-1.i386.rpm   libxml-devel-1.8.7-1.i386.rpm
docbook-3.1-5.i386.rpm     jade-1.2.1-4.i386.rpm
psgml-1.2.1-1.i386.rpm     jadetex-2.19-0.i386.rpm
sgml-common-0.1-3.i386.rpm stylesheets-0.10-2.i386.rpm
jadetex-2.7-0.i386.rpm
libxml-1.8.7-1.i386.rpm

Can anyone help me? I haven't got a clue where to start trying to fix
this, but since the <figure> syntax is documented on the linuxdoc HOWTO I
kinda counted on it working. 

Bill


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: db2pdf chokes: LaTeX Error: Unknown graphics extension: .eps
  2000-12-27  6:36 ` Peter Toft
@ 2000-06-01  5:04   ` Peter Toft
  2000-12-27  6:36   ` Eric Lee Green
  1 sibling, 0 replies; 6+ messages in thread
From: Peter Toft @ 2000-06-01  5:04 UTC (permalink / raw)
  To: Bill Brooks; +Cc: docbook-tools-discuss

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! 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: db2pdf chokes: LaTeX Error: Unknown graphics extension: .eps
  2000-12-27  6:36   ` Eric Lee Green
@ 2000-06-01  6:31     ` Eric Lee Green
  0 siblings, 0 replies; 6+ messages in thread
From: Eric Lee Green @ 2000-06-01  6:31 UTC (permalink / raw)
  To: Peter Toft, Bill Brooks; +Cc: docbook-tools-discuss

On Thu, 01 Jun 2000, Peter Toft wrote:
> On Wed, 31 May 2000, Bill Brooks wrote:
> > If I have the following fragment in a document:
> > 
> > <figure>
> >    <title>Picture's Title</title>
> >    <graphic fileref="images/foo"></graphic>
> > </figure> 

Hmm.... here's a fragment from one of my documents for what you're doing with
the <graphic> tag:

<mediaobject>
<imageobject>
<imagedata fileref="tserv_overview.eps">
        </imageobject>
<imageobject>
<imagedata fileref="tserv_overview.png">
        </imageobject>
<textobject>
<para>[Image of tape server overview SHOULD be here]</para>
        </textobject>
      </mediaobject> 

At least w/ the version of the docbook tools that comes with Red Hat 6.2, the
appropriate back end chooses the appropriate graphic format. 

Note, though, that I'm no expert in DocBOOK  or docbook-tools by any means,
and I have no idea whether that's the way it should work or not! (For one
thing, I'm still getting @#$%@ -999 as the page number in half the entries in
my index, sigh). 

-- 
Eric Lee Green      There is No Conspiracy
eric@badtux.org     http://www.badtux.org  

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: db2pdf chokes: LaTeX Error: Unknown graphics extension: .eps
  2000-12-27  6:36 ` Peter Toft
  2000-06-01  5:04   ` Peter Toft
@ 2000-12-27  6:36   ` Eric Lee Green
  2000-06-01  6:31     ` Eric Lee Green
  1 sibling, 1 reply; 6+ messages in thread
From: Eric Lee Green @ 2000-12-27  6:36 UTC (permalink / raw)
  To: Peter Toft, Bill Brooks; +Cc: docbook-tools-discuss

On Thu, 01 Jun 2000, Peter Toft wrote:
> On Wed, 31 May 2000, Bill Brooks wrote:
> > If I have the following fragment in a document:
> > 
> > <figure>
> >    <title>Picture's Title</title>
> >    <graphic fileref="images/foo"></graphic>
> > </figure> 

Hmm.... here's a fragment from one of my documents for what you're doing with
the <graphic> tag:

<mediaobject>
<imageobject>
<imagedata fileref="tserv_overview.eps">
        </imageobject>
<imageobject>
<imagedata fileref="tserv_overview.png">
        </imageobject>
<textobject>
<para>[Image of tape server overview SHOULD be here]</para>
        </textobject>
      </mediaobject> 

At least w/ the version of the docbook tools that comes with Red Hat 6.2, the
appropriate back end chooses the appropriate graphic format. 

Note, though, that I'm no expert in DocBOOK  or docbook-tools by any means,
and I have no idea whether that's the way it should work or not! (For one
thing, I'm still getting @#$%@ -999 as the page number in half the entries in
my index, sigh). 

-- 
Eric Lee Green      There is No Conspiracy
eric@badtux.org     http://www.badtux.org  

^ permalink raw reply	[flat|nested] 6+ messages in thread

* db2pdf chokes: LaTeX Error: Unknown graphics extension: .eps
@ 2000-12-27  6:36 Bill Brooks
  2000-05-31 22:40 ` Bill Brooks
  2000-12-27  6:36 ` Peter Toft
  0 siblings, 2 replies; 6+ messages in thread
From: Bill Brooks @ 2000-12-27  6:36 UTC (permalink / raw)
  To: docbook-tools-discuss

Hi all,

If I have the following fragment in a document:

<figure>
   <title>Picture's Title</title>
   <graphic fileref="images/foo"></graphic>
</figure>

...where I have a  file named foo.eps in the images subdirectory that is
an encapsulated postscript file, I always get the following error message
when I attempt to make a .pdf file with db2pdf:

(/usr/share/texmf/tex/latex/psnfss/ts1ptm.fd) [3.0.25] [4.0.25] [5.0.25]
[6.0.25] [7.0.25] [8.0.25]

! LaTeX Error: Unknown graphics extension: .eps.

I'm using the sourceware docbook rpm's:

astyle-1.11.4-1.i386.rpm   libxml-devel-1.8.7-1.i386.rpm
docbook-3.1-5.i386.rpm     jade-1.2.1-4.i386.rpm
psgml-1.2.1-1.i386.rpm     jadetex-2.19-0.i386.rpm
sgml-common-0.1-3.i386.rpm stylesheets-0.10-2.i386.rpm
jadetex-2.7-0.i386.rpm
libxml-1.8.7-1.i386.rpm

Can anyone help me? I haven't got a clue where to start trying to fix
this, but since the <figure> syntax is documented on the linuxdoc HOWTO I
kinda counted on it working. 

Bill


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: db2pdf chokes: LaTeX Error: Unknown graphics extension: .eps
  2000-12-27  6:36 db2pdf chokes: LaTeX Error: Unknown graphics extension: .eps Bill Brooks
  2000-05-31 22:40 ` Bill Brooks
@ 2000-12-27  6:36 ` Peter Toft
  2000-06-01  5:04   ` Peter Toft
  2000-12-27  6:36   ` Eric Lee Green
  1 sibling, 2 replies; 6+ messages in thread
From: Peter Toft @ 2000-12-27  6:36 UTC (permalink / raw)
  To: Bill Brooks; +Cc: docbook-tools-discuss

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! 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2000-12-27  6:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-27  6:36 db2pdf chokes: LaTeX Error: Unknown graphics extension: .eps Bill Brooks
2000-05-31 22:40 ` Bill Brooks
2000-12-27  6:36 ` Peter Toft
2000-06-01  5:04   ` Peter Toft
2000-12-27  6:36   ` Eric Lee Green
2000-06-01  6:31     ` Eric Lee Green

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).