echo "digraph G {Hello->World}" | dot -Tps -o toto.eps
the coversion 'epstopdf toto.eps' fails (EPSTOPDF 2.9.3draft):
ERROR: /syntaxerror in -file- Operand stack:
Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push Dictionary stack: --dict:1120/1686(ro)(G)-- --dict:0/20(G)-- --dict:102/200(L)-- Current allocation mode is local Last OS error: 2 ESP Ghostscript 815.02: Unrecoverable error, exit code 1
I thought the generated postscript was actually an *encapsulated* one (see https://mailman.research.att.com/pipermail/graphviz-interest/2005q4/003005.html).
Output file: b1192.ps
Comments:
I guess this is closely related to bug http://www.graphviz.org/bugs/b1103.html
[erg] I don't think so. Bug 1103 involved dot output not converting newline to CR-NL on Windows systems.
[erg] There appear to be some serious problems with certain versions of epstopdf
s) epstopdf --help 2>&1 | head -1
EPSTOPDF 2.7, 2001/03/05 - Copyright 1998-2001 by Sebastian Rahtz et al.
s) epstopdf a.ps
s) ./epstopdf --help 2>&1 | head -1
EPSTOPDF 2.9.3draft, 2003/04/20 - Copyright 1998-2002 by Sebastian Rahtz et al.
s) ./epstopdf a.ps
Error: /undefined in i
Operand stack:
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval--
Dictionary stack:
--dict:1060/1123(ro)(G)-- --dict:0/20(G)-- --dict:68/200(L)--
Current allocation mode is local
Last OS error: 22
GNU Ghostscript 7.07: Unrecoverable error, exit code 1
s) nepstopdf --help 2>&1 | head -1
EPSTOPDF 2.9.5gw, 2006/01/29 - Copyright 1998-2006 by Sebastian Rahtz et al.
s) nepstopdf a.ps
s)