Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001508graphvizDotpublic2009-01-04 22:272011-04-28 04:03
ReporterRoman Manevich 
Assigned Toerg 
PlatformOSx86-Windows-XPOS Version
Summary0001508: Erroneous Postscipr file for inputs with multiple graphs

The problem occurs when the input file contains more than one digraph.
I use the following command line:
dot -Tps reverse.dt -o

When I open the resulting Poscript file a dialog box pops up containing the following message:
Document Structuring Convention
DSC Error
EPS file may have 0 or 1 pages. This 'EPS' file has
more than this and is not an EPS file.

Then, when I try flipping after the first page, the display only shows the
first graph (which is rendered correctly).

Curiously, a similar error, for multiple graph input files, was once reported and fixed.
This is not a document feature but we've been using it for quite a number of years in the TVLA system.

Additional Information

My interpretation of this is that your PostScript viewer is strictly enforcing the EPS standard, which says:

> An encapsulated PostScript file is a PostScript language program describing
> the appearance of a single page.
I would be curious if your current PostScript viewer is able to display the output from an earlier version of dot containing
multiple graphs. If it can, please send me the PostScript file. I would like to see how it fools the viewer.

By the way, as of April 2008, we recognized that output using -Tps was not strict EPS, even without multiple graphs.
At that time, we added -Teps to produce correct EPS output, but this still assumes the input only contains one graph.

I believe you are going to need a viewer allowing multiple pages.
TagsNo tags attached.
VERSION     2.20.3
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:03 user1 New Issue
2011-04-28 04:03 user1 Assigned To => erg

MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker