[pstricks] \ncdiag problem in TeXLive-2010

Thomas Koepsell koepsell at u.washington.edu
Sun Oct 10 00:03:12 CEST 2010

I just installed TeXLive 2010 (MacTex version) and now find that the 
\ncdiag command in pst-node causes a fatal error at the Ghostscript stage. 
An example:



   \Rnode{A}{Hello} \\
    & & \Rnode{B}{Goodbye}
\ncdiag[angleB=180, arm=0]{A}{B}


This code works fine under TeXLive-2009, and there is no problem in 
TeXLive-2010 if \ncline is used rather than \ncdiag to connect the nodes. 
But with the above code under TeXLive-2010, the last part of the log-file 

### ps2pdf13 /tmp/altpdflatex.13310-1286661205/Doodle.ps 
Error: /stackunderflow in --exch--
Operand stack:
Execution stack:
    %interp_exit   .runexec2   --nostringval--   --nostringval-- 
--nostringval--   2   %stopped_push   --nostringval--   --nostringval-- 
--nostringval--   false   1   %stopped_push   1878   1   3   %oparray_pop 
1877   1   3   %oparray_pop   1861   1   3   %oparray_pop   1755   1   3 
%oparray_pop   --nostringval--   %errorexec_pop   .runexec2 
--nostringval--   --nostringval--   --nostringval--   2   %stopped_push 
--nostringval--   --nostringval--   --nostringval--
Dictionary stack:
    --dict:1153/1684(ro)(G)--   --dict:0/20(G)--   --dict:73/200(L)-- 
--dict:180/300(L)--   --dict:109/200(L)--   --dict:71/400(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 80177
GPL Ghostscript 8.71: Unrecoverable error, exit code 1
### FAILED to generate /tmp/altpdflatex.13310-1286661205/Doodle.pdf ()

Any ideas what's wrong?  Is there a work-around?  Thanks in advance for 
any suggestions.

Thomas Koepsell

More information about the PSTricks mailing list