Number: 61
Title: DOT Postscript output causing problems in LaTeX when used with epsfig
Submitter: Nigel Stewart
Date: Mon Nov 12 01:54:30 2001
Subsys: Dot
Version: 1.7.7
System: x86-Linux-Redhat 7.1
Severity: major
Problem:
I'm trying to use DOT output as a LaTeX figure, but there seems to be something wrong with the postscript produced by DOT.

The problem shows up at the ps2pdf stage, and I'm wondering if there is something in the DOT postscript breaking things.
Input:

Graph G {
A -- { B }
}
Comments:
This is a bit of show-stopper for me, I'll be converting my DOT output to bitmaps until some alternative is available.

[Emden] The problem is that the resulting PDF file is clipped to the size of the graph drawing. Any input will do.
Fix:
The problem is related to the line


[ /CropBox [llx lly urx ury] /PAGES pdfmark
where llx lly urx ury are the coordinates of the graph bounding box. Removing or commenting out the line provides a workaround.
Owner: erg
Status: Fixed (17 Jan 2002)