[pstricks] \psSurface in \pst3d-solides

Zbigniew Nitecki zbigniew.nitecki at tufts.edu
Thu Jul 22 17:36:57 CEST 2010


The following truly minimal code, which mimics example 7.3 in the (English) documentation for pst3d-solides,
> 		\begin{pspicture}(-0.5,-2)(3,3)
> %				\psset{lightsrc=50 -20 50, viewpoint=20 20 40 rtp2xyz,
> %					Decran=50}
> 				\psSurface[
> 					fillcolor=gray,
> 					axesboxed, 
> 					grid%
> 					]
> 					(0,0)(2,1)%
> 					{%
> 					x dup mul 3 y dup mul mul sub 2 div
> 				}
> %			\pstThreeDDot[linecolor=red](1,0.5,0.125)
> %			\pstThreeDPut(1,0.5,0.3){\textcolor{red}{$(1,\half,\recip{8})$}}
> 		\end{pspicture}

yields the following error:
> altpdflatex.55044-1279812929/pst3d test 1.2.pdf
> Error: /typecheck in --ifelse--
> Operand stack:
>    --nostringval--   0   2   0   1   false   --nostringval--
> Execution stack:
>    %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --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--   --nostringval--
> Dictionary stack:
>    --dict:1150/1684(ro)(G)--   --dict:0/20(G)--   --dict:80/200(L)--   --dict:775/1012(L)--   --dict:177/300(L)--   --dict:38/200(L)--   --dict:185/200(L)--   --dict:775/1012(L)--
> Current allocation mode is local
> Last OS error: 2
> Current file position is 418558
> GPL Ghostscript 8.70: Unrecoverable error, exit code 1
> ### FAILED to generate /tmp/altpdflatex.55044-1279812929/pst3d test 1.2.pdf ()

What can I possibly be doing wrong here?


Zbigniew Nitecki
Department of Mathematics
Tufts University
Medford, MA 02155

telephones:
Office    (617)627-3843
Dept.    (617)627-3234
Dept. fax    (617)627-3966
http://www.tufts.edu/~znitecki/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20100722/1664abe8/attachment.html>


More information about the PSTricks mailing list