[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#96498: tetex-bin: Can't include EPS in Postscript files with DocBook



Subject: tetex-bin: Can't include EPS in Postscript files with DocBook
Package: tetex-bin
Version: 1.0.7+20001218-3
Severity: normal

I've tried to include a picture in my DocBook document but it generate
some LaTeX (TeX ?) errors.

Here is my sgml file:

=====
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V4.1//EN">

<article lang="en">

<articleinfo>
  <title>Image in DocBook: To be improved !</title>
        
  <author>
    <firstname>Emmanuel</firstname>
    <surname>Fleury</surname>
    <affiliation>
      <address>
        <email>fleury@cs.auc.dk</email>
      </address>
    </affiliation>
  </author>

  <revhistory>
    <revision>
      <revnumber>v0.1</revnumber>
      <date>2001-05-06</date>
    </revision>
  </revhistory>

  <abstract>
    <para>
     Just an example of an error of integration of EPS in Postscript
     with DocBook.
    </para>
  </abstract>

</articleinfo>

<sect1 id="first">
  <title>Example</title>
  <para>
  Here comes the example.
  </para>

  <figure>
    <title>Example</title>
    <mediaobject>
      <imageobject>
        <imagedata fileref="./example.eps" format="EPS">
      </imageobject>
      <imageobject>
        <imagedata fileref="./example.png" format="PNG">
      </imageobject>
      <textobject>
        <phrase>Nice picture</phrase>
      </textobject>
      <caption><para>Nice picture</para></caption>
    </mediaobject>
  </figure>

  <para>
  Here comes the text again !
  </para>
  
</sect1><!-- Example -->

</article>
=====

When I do: sgmltools -b ps error.sgml

I get:

=====
This is TeX, Version 3.14159 (Web2C 7.3.1)
(/tmp/@16876.1
JadeTeX 1999/06/29: 2.7
(/usr/share/texmf/tex/latex/psnfss/t1ptm.fd)
(/usr/share/texmf/tex/jadetex/isoents.tex)
Elements will be labelled
Jade begin document sequence at 20
No file @16876.aux.
(/usr/share/texmf/tex/latex/cyrillic/ot2wncyr.fd)
(/usr/share/texmf/tex/latex/cyrillic/t2acmr.fd)
(/usr/share/texmf/tex/latex/base/ts1cmr.fd)
(/usr/share/texmf/tex/latex/hyperref/nameref.sty)
(/usr/share/texmf/tex/latex/psnfss/t1phv.fd)

LaTeX Warning: File `./example.eps' not found on input line 324.


! LaTeX Error: File `./example.eps' not found.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.324 {0}}
          \endNode{}\endNode{}\Node%

! LaTeX Error: Cannot determine size of graphic in ./example.eps (no
BoundingBox).

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.324 {0}}
          \endNode{}\endNode{}\Node%
<./example.eps> [1.0.41] [2.0.41] (@16876.aux) )
(see the transcript file for additional information)
Output written on @16876.dvi (2 pages, 1636 bytes).
Transcript written on @16876.log.
This is TeX, Version 3.14159 (Web2C 7.3.1)
(/tmp/@16876.1
JadeTeX 1999/06/29: 2.7
(/usr/share/texmf/tex/latex/psnfss/t1ptm.fd)
(/usr/share/texmf/tex/jadetex/isoents.tex)
Elements will be labelled
Jade begin document sequence at 20
(@16876.aux) (/usr/share/texmf/tex/latex/cyrillic/ot2wncyr.fd)
(/usr/share/texmf/tex/latex/cyrillic/t2acmr.fd)
(/usr/share/texmf/tex/latex/base/ts1cmr.fd)
(/usr/share/texmf/tex/latex/hyperref/nameref.sty)
(/usr/share/texmf/tex/latex/psnfss/t1phv.fd)

LaTeX Warning: File `./example.eps' not found on input line 324.


! LaTeX Error: File `./example.eps' not found.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.324 {0}}
          \endNode{}\endNode{}\Node%

! LaTeX Error: Cannot determine size of graphic in ./example.eps (no
BoundingBox).

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.324 {0}}
          \endNode{}\endNode{}\Node%
<./example.eps> [1.0.41] [2.0.41] (@16876.aux) )
(see the transcript file for additional information)
Output written on @16876.dvi (2 pages, 1636 bytes).
Transcript written on @16876.log.
This is TeX, Version 3.14159 (Web2C 7.3.1)
(/tmp/@16876.1
JadeTeX 1999/06/29: 2.7
(/usr/share/texmf/tex/latex/psnfss/t1ptm.fd)
(/usr/share/texmf/tex/jadetex/isoents.tex)
Elements will be labelled
Jade begin document sequence at 20
(@16876.aux) (/usr/share/texmf/tex/latex/cyrillic/ot2wncyr.fd)
(/usr/share/texmf/tex/latex/cyrillic/t2acmr.fd)
(/usr/share/texmf/tex/latex/base/ts1cmr.fd)
(/usr/share/texmf/tex/latex/hyperref/nameref.sty)
(/usr/share/texmf/tex/latex/psnfss/t1phv.fd)

LaTeX Warning: File `./example.eps' not found on input line 324.


! LaTeX Error: File `./example.eps' not found.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.324 {0}}
          \endNode{}\endNode{}\Node%

! LaTeX Error: Cannot determine size of graphic in ./example.eps (no
BoundingBox).

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.324 {0}}
          \endNode{}\endNode{}\Node%
<./example.eps> [1.0.41] [2.0.41] (@16876.aux) )
(see the transcript file for additional information)
Output written on @16876.dvi (2 pages, 1636 bytes).
Transcript written on @16876.log.
This is dvips(k) 5.86d Copyright 1999 Radical Eye Software
(www.radicaleye.com)
' TeX output 2001.05.06:1245' -> ./error.ps
<texc.pro><8r.enc><texps.pro><special.pro><color.pro>.
[1<./example.eps>] [2] 
=====

I'm still not sure that it is a bug in Debian. It is possible that this
bug come from the DocBook dsssl, but I just warn you about it.

If it seems to you that it is a DocBook bug, where can I report it ?


PS: I have the eps file that produce this error. If you think you'll
need it. Just ask me (it has been generated by giftopnm -> pnm2ps).

Thanks

-- System Information
Debian Release: testing/unstable
Kernel Version: Linux yggdrasil 2.2.19smp #2 SMP Sat Apr 14 11:22:12
CEST 2001 i686 unknown

Versions of the packages tetex-bin depends on:
ii  debianutils    1.15           Miscellaneous utilities specific to
Debian.
ii  dpkg           1.9.4          Package maintenance system for Debian
ii  ed             0.2-19         The classic unix line editor
ii  libc6          2.2.2-4        GNU C Library: Shared libraries and
Timezone
ii  libkpathsea3   1.0.7+20001218 shared libkpathsea for teTeX
ii  libpng2        1.0.11-1       PNG library - runtime
ii  libstdc++2.10- 2.95.4-0.01050 The GNU stdc++ library
ii  libtiff3g      3.5.5-3        Tag Image File Format library
ii  libwww0        5.3.2-2        The W3C-WWW library.
ii  libxaw7        4.0.3-2        X Athena widget set library
ii  tetex-base     1.0.2+20000804 basic teTeX library files
ii  xlibs          4.0.3-2        X Window System client libraries
ii  zlib1g         1.1.3-15       compression library - runtime
libwww-ssl0	Not installed or no info
ii  perl-base      5.6.0-21       The Pathologically Eclectic Rubbish
Lister.
	^^^ (Provides virtual package perl5-base)

--- Ignoring modified conffile /etc/texmf/texmf.cnf (>8k)

-- 
Emmanuel

It must be awful to be a girl. I'm sure it's frustrating knowing that
men are bigger, stronger and better at abstract thought than women.
Really, if you are a girl, what would make you go on living?
  -- Calvin, Dictator-For-Life, of GROSS (Get Rid Of Slimy girlS)



Reply to: