[pstricks] pst-solides3d - Ghostscript troubleshooting
Jacques RUBIN
jac.rub at gmail.com
Thu Jan 28 02:07:07 CET 2016
Hi!
I would like to use the package "pst-solides3d" in my LaTeX document.
I use the TeXStudio app on the linux distribution Fedora 22.
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:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\documentclass[11pt,a4paper,oneside,onecolumn,notitlepage]{article}
%
\usepackage[svgnames]{xcolor}
\usepackage{pst-solides3d}
\usepackage{auto-pst-pdf}
%
\begin{document}
%
\begin{pspicture}(-4,-1.5)(3,1)
\psset{unit=.5}
\psSolid[object=grille,
base=-3 5 -3 3,
linecolor=grey,
hue=(jaune) (CadetBlue)](0,0,0)
\end{pspicture}
%
\end{document}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Then, typesetting with xelatex, I obtain the message:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Process started: xelatex -synctex=1 -interaction=nonstopmode
--shell-escape "draft_pstricks".tex
GPL Ghostscript 9.16: Unrecoverable error, exit code 1
Process exited normally
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Typesetting with pdflatex gives:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Process started: pdflatex -synctex=1 -interaction=nonstopmode
--shell-escape "draft_pstricks".tex
This is dvips(k) 5.994 Copyright 2014 Radical Eye Software
(www.radicaleye.com) ' TeX output 2016.01.28:0141' ->
draft_pstricks-autopp.ps
</usr/share/texlive/texmf-dist/dvips/base/tex.pro>
</usr/share/texlive/texmf-dist/dvips/config/alt-rule.pro>
</usr/share/texlive/texmf-dist/dvips/pstricks/pstricks.pro>
</usr/share/texlive/texmf-dist/dvips/pstricks/pst-algparser.pro>
</usr/share/texlive/texmf-dist/dvips/pst-tools/pst-tools.pro>
</usr/share/texlive/texmf-dist/dvips/pstricks/pst-dots.pro>
</usr/share/texlive/texmf-dist/dvips/pst-node/pst-node.pro>
</usr/share/texlive/texmf-dist/dvips/pst-solides3d/pst-solides3d.pro>
</usr/share/texlive/texmf-dist/dvips/base/special.pro>.
[1]
Error: /stackunderflow in --dup--
Operand stack:
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--
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)--
Current allocation mode is local Last OS error: Not a directory Current
file position is 364492
GPL Ghostscript 9.16: Unrecoverable error, exit code 1
Process exited normally
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Then, a mere blank page is produced rather than the expected planar grid.
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?
Anyway, how to solve this problem?
Best regards
Jacques
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20160128/6fb8db57/attachment.html>
More information about the PSTricks
mailing list