<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<big><font face="Times New Roman, Times, serif">Hi!<br>
<br>
I would like to use the package "pst-solides3d" in my LaTeX
document.<br>
I use the TeXStudio app on the linux distribution Fedora 22.<br>
The content of the .tex file comes from the "pst-solides3d: The
Documentation - The basics" written by J.-P. Vignault and al.
(p.42) and is the following: <br>
<br>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>
%<br>
\documentclass[11pt,a4paper,oneside,onecolumn,notitlepage]{article}<br>
%<br>
\usepackage[svgnames]{xcolor}<br>
\usepackage{pst-solides3d}<br>
\usepackage{auto-pst-pdf}<br>
%<br>
\begin{document}<br>
%<br>
\begin{pspicture}(-4,-1.5)(3,1)<br>
\psset{unit=.5}<br>
\psSolid[object=grille,<br>
base=-3 5 -3 3,<br>
linecolor=grey,<br>
hue=(jaune) (CadetBlue)](0,0,0)<br>
\end{pspicture}<br>
%<br>
\end{document}<br>
%<br>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>
<br>
Then, typesetting with xelatex, I obtain the message:<br>
<br>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>
Process started: xelatex -synctex=1 -interaction=nonstopmode
--shell-escape "draft_pstricks".tex<br>
<br>
GPL Ghostscript 9.16: Unrecoverable error, exit code 1<br>
<br>
Process exited normally<br>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>
<br>
Typesetting with pdflatex gives:<br>
<br>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>
Process started: pdflatex -synctex=1 -interaction=nonstopmode
--shell-escape "draft_pstricks".tex<br>
<br>
This is dvips(k) 5.994 Copyright 2014 Radical Eye Software (<a
class="moz-txt-link-abbreviated"
href="http://www.radicaleye.com"><a class="moz-txt-link-abbreviated" href="http://www.radicaleye.com">www.radicaleye.com</a></a>) ' TeX
output 2016.01.28:0141' -> draft_pstricks-autopp.ps<br>
<br>
</usr/share/texlive/texmf-dist/dvips/base/tex.pro> <br>
</usr/share/texlive/texmf-dist/dvips/config/alt-rule.pro>
<br>
</usr/share/texlive/texmf-dist/dvips/pstricks/pstricks.pro>
<br>
</usr/share/texlive/texmf-dist/dvips/pstricks/pst-algparser.pro>
<br>
</usr/share/texlive/texmf-dist/dvips/pst-tools/pst-tools.pro>
<br>
</usr/share/texlive/texmf-dist/dvips/pstricks/pst-dots.pro>
<br>
</usr/share/texlive/texmf-dist/dvips/pst-node/pst-node.pro>
<br>
</usr/share/texlive/texmf-dist/dvips/pst-solides3d/pst-solides3d.pro><br>
</usr/share/texlive/texmf-dist/dvips/base/special.pro>.<br>
<br>
[1]<br>
<br>
Error: /stackunderflow in --dup-- <br>
Operand stack: <br>
Execution stack: %interp_exit .runexec2 --nostringval--
--nostringval-- --nostringval-- 2 %stopped_push --nostringval--
--nostringval-- --nostringval-- false 1 %stopped_push 1951 1 3
%oparray_pop 1950 1 3 %oparray_pop 1934 1 3 %oparray_pop 1820 1
3 %oparray_pop --nostringval-- %errorexec_pop .runexec2
--nostringval-- --nostringval-- --nostringval-- 2 %stopped_push
--nostringval-- --nostringval-- --nostringval-- <br>
Dictionary stack: --dict:1188/1684(ro)(G)-- --dict:0/20(G)--
--dict:122/200(L)-- --dict:747/1012(L)-- --dict:100/300(L)--
--dict:40/200(L)-- --dict:206/300(L)-- --dict:747/1012(L)-- <br>
Current allocation mode is local Last OS error: Not a directory
Current file position is 364492 <br>
GPL Ghostscript 9.16: Unrecoverable error, exit code 1<br>
<br>
Process exited normally <br>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>
<br>
Then, a mere blank page is produced rather than the expected
planar grid.<br>
The problem seems to come from the Ghostscript configuration.
So, I did the following sequence: latex -> dvi -> ps ->
ps2pdf, and the problem appeared in the last step with the use
of ps2pdf. So, is the ps file corrupted or the config file for
Ghostscript must be modified? And How?<br>
Anyway, how to solve this problem?<br>
<br>
Best regards<br>
<br>
Jacques<br>
<br>
<br>
</font></big>
<meta name="qrichtext" content="1">
<!--EndFragment-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
</body>
</html>