Bug in prosper when using `dot -Tps2 | ps2pdf'

Akim Demaille <[email protected]>
Newsgroups gmane.comp.tex.latex.prosper.user
Message-ID <[email protected]>
Package: graphviz
Version: 1.10.20030915.0415-2
Severity: normal

Hi!

I have met a bug that involves many different components, and to tell
the truth I don't know who's the real culprit, nor could I swear
there's only one.

I'm shipping several files below:
- node.dot for the GraphViz package
- prosperbug.tex
- Makefile to run them all.

The problem is that the following slide:

	\begin{slide}{Bug}
	  \begin{multicols}{2}
	    Foo
	    \columnbreak{}
	    \includegraphics{node}
	  \end{multicols}
	\end{slide}

produces a correct ps file, but the pdf file has broken bounds (the
output is square).

The problem does not happen if one of the thing changes:
- using -Tps with dot instead of -Tps2
- not using a multicol in the slide
- using seminar instead of prosper
  (actually, the figure does not appear, but the output is not
  so severely broken).

The bottom line is that the following line output by dot -Tps2 (and
propagated by ps2pdf) kills the format in this precise configuration.

   [ /CropBox [36 36 97 89] /PAGES pdfmark

I have no idea whether this line is valid in EPS, but that would be my
bet.  That would make ps2pdf the real culprit?

/tmp % less =ps2pdf
#!/bin/sh
# $Id: ps2pdf,v 1.3 2002/02/21 21:49:28 giles Exp $
# Convert PostScript to PDF.

# Currently, we produce PDF 1.2 by default, but this is not guaranteed
# not to change in the future.
exec ps2pdf12 "$@"

Thanks!



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.25
Locale: LANG=fr_FR, LC_CTYPE=fr_FR

Versions of packages graphviz depends on:
ii  libc6                     2.3.2.ds1-13   GNU C Library: Shared libraries an
ii  libexpat1                 1.95.6-8       XML parsing C library - runtime li
ii  libfreetype6              2.1.7-2.1      FreeType 2 font engine, shared lib
ii  libjpeg62                 6b-9           The Independent JPEG Group's JPEG 
ii  libpng12-0                1.2.5.0-6      PNG library - runtime
ii  libxaw7                   4.3.0.dfsg.1-4 X Athena widget set library
ii  tcl8.4                    8.4.6-1        Tcl (the Tool Command Language) v8
ii  tk8.4                     8.4.6-1        Tk toolkit for Tcl and X11, v8.4 -
ii  xlibs                     4.3.0.dfsg.1-4 X Window System client libraries m
ii  zlib1g                    1:1.2.1.1-3    compression library - runtime

-- no debconf information
bug.tgz (application/x-gtar, 690 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.