[pstricks] pst-eps: Error: /undefined in tx at Dict

Florian Schubert mail at schubiserv.de
Sun Mar 20 19:20:50 CET 2011


Hi,

isn`t it possible to use exported eps-files (\PSTtoEPS) with another
application like gsview?

I create the eps-file with:

\documentclass{scrartcl}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage{pstricks}
\usepackage{pst-eps}
\usepackage{graphicx}
\begin{document}
\PSTtoEPS[headers=all]{test.eps}{\psframe(0,0)(2,2)}
%\PSTtoEPS[bbllx=-1pt,bblly=-1pt,bburx=2cm,bbury=2cm,headers=all]{test2.eps}{\psframe(0,0)(2,2)}
\begin{pspicture}(0,0)(3,3)
    \rput[c](1.5,1.5){%
        \includegraphics[scale=.6]{test}}
\end{pspicture}
\end{document}

An error message in gsview is:

GSview 4.9 2007-11-18
GPL Ghostscript 8.64 (2009-02-03)
Copyright (C) 2009 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Displaying DSC file C:/Users/Desktop/t5/test.eps without pages
Error: /undefined in tx at Dict
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--  
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--
  false   1   %stopped_push   1862   1   3   %oparray_pop   1861   1  
3   %oparray_pop   1845   1   3   %oparray_pop   1739   1   3  
%oparray_pop   --nostringval--   %errorexec_pop   .runexec2  
--nostringval--   --nostringval--   --nostringval--   2   %stopped_push
  --nostringval--
Dictionary stack:
   --dict:1156/1684(ro)(G)--   --dict:0/20(G)--   --dict:73/200(L)--
Current allocation mode is local
Last OS error: No such file or directory

--- Begin offending input ---
%%BeginSetup

tx at Dict

begin



%%EndSetup

STP

0

setlinecap

0

setlinejoin

10

setmiterlimit

[]

0

setdash

newpath

/ArrowA

{

moveto

}

def

/ArrowB

{

}

def

gsave 0.8 SLW 0  setgray

0.

true

0.0

0.0

56.90549

56.90549

.5

Frame



gsave

0.8

SLW

0



setgray



1.

.setopacityalpha





0



setlinejoin

0



setlinecap

stroke



grestore

grestore


--- End offending input ---
file offset = 604
gsapi_run_string_continue returns -101

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Regards,

Florian
-- 

Florian Schubert
Pestalozzistraße 47

D-79540 Lörrach




More information about the PSTricks mailing list