[pstricks] \ncdiag problem in TeXLive-2010
Michael Sharpe
msharpe at ucsd.edu
Sun Oct 10 00:33:03 CEST 2010
On Oct 9, 2010, at 3:03 PM, Thomas Koepsell wrote:
>
> 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.
>
Your code worked without problems for me with a similar setup---MacTeX 2010. I have updated since installing MacTeX 2010 using TeX Live Utility. If you haven't done this recently, it would be a good idea to do so. Here's the result of \listfiles.
*File List*
article.cls 2007/10/19 v1.4h Standard LaTeX document class
size12.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
pst-node.sty 2010/04/22 package wrapper for pst-node.tex
pstricks.sty 2010/08/28 v0.46 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex 2010/09/16 v2.12 `PSTricks' (tvz,hv)
pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
xkeyval.sty 2008/08/13 v2.6a package option processing (HA)
xkeyval.tex 2008/08/13 v2.6a key=value parser (HA)
pst-fp.tex 2010/09/16 v2.12 `PST-fp' (hv)
xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK)
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
pst-node.tex 2010/06/06 1.13 `pst-node' (tvz)
Michael
More information about the PSTricks
mailing list