#1 Le 27/12/2008, à 11:11
- UbunAdict
[Résolu] Problème de compilation avec pst-3dplot
Bonjour,
je découvre ce paquetage et je n'arrive pas à l'utiliser, j'ai une erreur de compilation.
J'ai téléchargé les paquets xkeyval et pst-3dplot et utilisé la méthode décrite dans le wiki:
cd /usr/local/share/texmf/tex/latex
sudo unzip $HOME/"paquet téléchargé".zip
sudo texhash
Voici des morceaux de deux fichiers TEX, le premier ( le Plan : PMFranK ) le second un exemple pour tester ( chapitre1 )
PMFranK
\documentclass[12pt]{article} % Type de document
\title{Aide pour l'installation du systeme d'exploitation Gnu/Linux, UBUNTU 8.10} % Titre du document
%\author{} % Auteur
\date{25/12/2008} % Date de création
%\usepackage{tex4ht} % Pour convertir le document vers OOo writer
\usepackage[utf8]{inputenc} % Codage du fichier source
\usepackage[T1]{fontenc} % Codage des fontes TeX
\usepackage[francais]{babel} % Utilisation du dictionnaire français
\usepackage{vmargin,caption2,amssymb,amsmath,epsfig,verbatim,fancyhdr}
\usepackage[a4paper,dvips]{geometry} % Paquet mise en page
\usepackage{lscape}
%\usepackage{atxy} % Paquet positionnement suivant les coordonnées xy
\usepackage{graphicx} % Paquet pour la manipulation d'images ...
\usepackage{xcolor} % Paquet de couleurs
\usepackage{ifthen} %
\usepackage{subfigure} % From CTAN/macros/latex/contrib/supported/subfigure
\usepackage{pst-all} % From PSTricks
\usepackage{pst-poly} % From pstricks/contrib/pst-poly
\usepackage{array}
\usepackage{multido} % From PSTricks
\usepackage{multicol}
\usepackage{lastpage}
\usepackage{hyperref} % Gestion des hyperliens
\usepackage{pst-3dplot}
\usepackage{xkeyval,pstricks,pstricks-add}
\begin{document} % Début du document
\maketitle
\thispagestyle{fancy}
\tableofcontents \clearpage
\include{preface}
%\begin{landscape}
\include{chapitre1}
%\end{landscape}
\end{document}
chapitre1
\section{Premier dessin} % Section #2
\thispagestyle{fancy}
\begin{pspicture}(-5,-4)(6,5.8)
\psset{Alpha=45,Beta=15}
\psplotThreeD[
plotstyle=curve,hiddenLine=true,
yPlotpoints=50,xPlotpoints=50,
linewidth=0.5pt](-4,4)(-4,4){
x 3 exp x y 4 exp mul add x 5 div sub 10 mul
2.729 x dup mul y dup mul add neg exp mul
2.729 x 1.225 sub dup mul y dup mul add neg
exp add}
\pstThreeDCoor[xMin=-1,xMax=5,yMin=-1,
yMax=5,zMin=-1,zMax=5]
\end{pspicture}
\clearpage
Et voilà le résultat de la fin de ma compil :
(./PMFranK.toc) [1] (./preface.tex [2]) (./chapitre1.tex [3])
AED: lastpage setting LastPage (./PMFranK.aux (./preface.aux) (./chapitre1.aux)
) )
Output written on PMFranK.dvi (3 pages, 114920 bytes).
Transcript written on PMFranK.log.
dvips -o PMFranK.ps PMFranK.dvi
This is dvips(k) 5.96.1 Copyright 2007 Radical Eye Software (www.radicaleye.com)
' TeX output 2008.12.27:1008' -> PMFranK.ps
</home/thierry/.texmf-var/fonts/pk/ljfour/jknappen/ec/ecsl1000.600pk>
</home/thierry/.texmf-var/fonts/pk/ljfour/jknappen/ec/ecrm2074.600pk>
</home/thierry/.texmf-var/fonts/pk/ljfour/jknappen/ec/ecrm1440.600pk>
</home/thierry/.texmf-var/fonts/pk/ljfour/jknappen/ec/ecbx1728.600pk>
</home/thierry/.texmf-var/fonts/pk/ljfour/jknappen/ec/ecbx1200.600pk>
</home/thierry/.texmf-var/fonts/pk/ljfour/jknappen/ec/ecsl1200.600pk>
</home/thierry/.texmf-var/fonts/pk/ljfour/jknappen/ec/ecrm1200.600pk>
</home/thierry/.texmf-var/fonts/pk/ljfour/jknappen/ec/ecbl1200.600pk>
</usr/share/texmf-texlive/dvips/base/tex.pro>
</usr/share/texmf-texlive/dvips/pstricks/pstricks.pro>
</usr/share/texmf-texlive/dvips/pstricks/pst-dots.pro>
</usr/share/texmf-texlive/dvips/pstricks/pst-node.pro>
</usr/share/texmf-texlive/dvips/pst-grad/pst-grad.pro>
</usr/share/texmf-texlive/dvips/pst-coil/pst-coil.pro>
</usr/share/texmf-texlive/dvips/pst-text/pst-text.pro>
</usr/share/texmf-texlive/dvips/pstricks-add/pstricks-add.pro>
</usr/share/texmf-texlive/dvips/pst-3dplot/pst-3dplot.pro>
</usr/share/texmf-texlive/dvips/base/texps.pro>
</usr/share/texmf-texlive/dvips/base/special.pro>
</usr/share/texmf-texlive/dvips/base/color.pro>.
</usr/share/texmf-texlive/fonts/type1/bluesky/cm/cmmi12.pfb>[1] [2] [3]
ps2pdf PMFranK.ps
Error: /undefined in SetMxyz
Operand stack:
true
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1905 1 3 %oparray_pop 1904 1 3 %oparray_pop 1888 1 3 %oparray_pop 1771 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval--
Dictionary stack:
--dict:1151/1684(ro)(G)-- --dict:0/20(G)-- --dict:83/200(L)-- --dict:185/300(L)-- --dict:55/200(L)-- --dict:111/200(L)-- --dict:33/50(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 269434
GPL Ghostscript 8.63: Unrecoverable error, exit code 1
GPL Ghostscript 8.63: ERROR: A pdfmark destination page 3 points beyond the last page 2.
make: *** [all] Erreur 1
Avez-vous une idée sur le problème ?
Dernière modification par UbunAdict (Le 27/12/2008, à 15:56)
Kubuntu Oneiric Ocelot
Hors ligne
#2 Le 27/12/2008, à 16:01
- UbunAdict
Re : [Résolu] Problème de compilation avec pst-3dplot
Trouvé:) UBUNTU est plus fort que TOI
Tous les paquets Pstricks sont dans le paquet PSTRICKS signé UBUNTU alors il faut lire ( je dis çà pour moi ) et surtout il ne faut pas télécharger les paquets CTAN, sinon çà fait quelques conflits conflictuels
D'ailleurs, il faudrait le mentionner dans ce lien : http://doc.ubuntu-fr.org/latex
Kubuntu Oneiric Ocelot
Hors ligne