[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:

---------------------------------------------------------------------------
\documentclass[12pt,letter]{article}
\usepackage{pst-node}

\begin{document}

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

\end{document}
---------------------------------------------------------------------------

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 
reads:

---------------------------------------------------------------------------
...
### ps2pdf13 /tmp/altpdflatex.13310-1286661205/Doodle.ps 
/tmp/altpdflatex.13310-1286661205/Doodle.pdf
Error: /stackunderflow in --exch--
Operand stack:
    lineAngle
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