[pstricks] compilation problems

Alan Ristow ristow at ece.gatech.edu
Wed Sep 8 21:56:14 CEST 2004


On Wed, 08 Sep 2004 21:39:08 +0200, Herbert Voss
<Herbert.Voss at alumni.TU-Berlin.DE> wrote:

>Alan Ristow wrote:
>
>> I am unable to display the ps file -- hadn't caught that earlier. There
>> appears to be a missing "if" in the LogLines Postscript code contained
>> in \psxs@@axes, but adding it didn't fix the problem. I don't have the
>> time for further debugging at the moment, so unless somebody else can
>> find it we might just have to wait for Herbert to have a look.
>
>what ps file do you refer to? The one which is build by
>Jean-Michels example? I have no problem here.

Yes. Upon closer inspection of the error message (see below) from
Ghostscript, it looks like it might be a divide-by-zero error. I can't
remember what led me to \psxs@@axes now.... I can send you the ps file
if you like.

Alan


AFPL Ghostscript 8.14 (2004-02-20)
Copyright (C) 2004 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Displaying DSC file E:/Program Files/Agent/email/temp/example1.ps
Displaying page 1
Error: /undefinedresult in --div--
Operand stack:
   1   10   0
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --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--   28.4527   28.4527   199.169
--nostringval--   %for_real_continue   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1120/1686(ro)(G)--   --dict:0/20(G)--   --dict:77/200(L)--
--dict:191/300(L)--   --dict:37/200(L)--   --dict:102/200(L)--
Current allocation mode is local
Last OS error: No such file or directory

--- Begin offending input ---
ineto Twidth SLW TColor LSstroke grestore
} for } if  end
 
@endspecial 6243 28287 a Fc(10)7125
27953 y Fb(-3)6243 25138 y Fc(10)7125 24803 y Fb(-2)6243
21988 y Fc(10)7125 21654 y Fb(-1)6439 18838 y Fc(10)7321
18504 y Fb(0)6439 15689 y Fc(10)7321 15355 y Fb(1)6439
12539 y Fc(10)7321 12205 y Fb(2)6439 9389 y Fc(10)7321
9055 y Fb(3)6439 6240 y Fc(10)7321 5906 y Fb(4)8278 28991
y Fc(1)2709 b(2)g(3)f(4)h(5)g(6)f(7)h(8)p 0 0 1 TeXcolorrgb
0 TeXcolorgray 5350 18490 a @beginspecial @setspecial
 tx at Dict begin STP newpath /ArrowA { moveto } def /ArrowB { } def
/ArrowInside
{ } def  0.5 SLW 0 0 1  setrgbcolor  /ArrowA { moveto } def /ArrowB
{ } def /ArrowInside { } def  /D {} def mark  D 1 D 0.001 D 2 D 0.01
D 3 D 0.1 D 4 D 1 D 5 D 10 D 6 D 100 D 7 D 1000 D 8 D 10000 counttomark
/m exch def /n m 1 1 add div cvi def 1 1 gt {n { 1 1 1 sub neg roll
1 1 sub { pop } repeat /m m 1 1 sub sub def m 2 roll } repeat } if
/xMax -99999 def /yMax -99999 def /xP 0 def /yP 0 def m copy n { /y
exch def /x exch def xMax x lt { /xMax x 
--- End offending input ---
file offset = 82619
gsapi_run_string_continue returns -101


AFPL Ghostscript 8.14 (2004-02-20)
Copyright (C) 2004 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Displaying DSC file E:/Program Files/Agent/email/temp/example1.ps
Displaying page 1
Error: /undefinedresult in --div--
Operand stack:
   1   10   0
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --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--   28.4527   28.4527   199.169
--nostringval--   %for_real_continue   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1120/1686(ro)(G)--   --dict:0/20(G)--   --dict:77/200(L)--
--dict:191/300(L)--   --dict:37/200(L)--   --dict:102/200(L)--
Current allocation mode is local
Last OS error: No such file or directory

--- Begin offending input ---
ineto Twidth SLW TColor LSstroke grestore
} for } if  end
 
@endspecial 6243 28287 a Fc(10)7125
27953 y Fb(-3)6243 25138 y Fc(10)7125 24803 y Fb(-2)6243
21988 y Fc(10)7125 21654 y Fb(-1)6439 18838 y Fc(10)7321
18504 y Fb(0)6439 15689 y Fc(10)7321 15355 y Fb(1)6439
12539 y Fc(10)7321 12205 y Fb(2)6439 9389 y Fc(10)7321
9055 y Fb(3)6439 6240 y Fc(10)7321 5906 y Fb(4)8278 28991
y Fc(1)2709 b(2)g(3)f(4)h(5)g(6)f(7)h(8)p 0 0 1 TeXcolorrgb
0 TeXcolorgray 5350 18490 a @beginspecial @setspecial
 tx at Dict begin STP newpath /ArrowA { moveto } def /ArrowB { } def
/ArrowInside
{ } def  0.5 SLW 0 0 1  setrgbcolor  /ArrowA { moveto } def /ArrowB
{ } def /ArrowInside { } def  /D {} def mark  D 1 D 0.001 D 2 D 0.01
D 3 D 0.1 D 4 D 1 D 5 D 10 D 6 D 100 D 7 D 1000 D 8 D 10000 counttomark
/m exch def /n m 1 1 add div cvi def 1 1 gt {n { 1 1 1 sub neg roll
1 1 sub { pop } repeat /m m 1 1 sub sub def m 2 roll } repeat } if
/xMax -99999 def /yMax -99999 def /xP 0 def /yP 0 def m copy n { /y
exch def /x exch def xMax x lt { /xMax x 
--- End offending input ---
file offset = 82619
gsapi_run_string_continue returns -101





More information about the PSTricks mailing list