summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-02-21 23:09:27 +0000
committerKarl Berry <karl@freefriends.org>2010-02-21 23:09:27 +0000
commit8743163ad93a019b9118cc380cfc656d4d136a6c (patch)
tree45bf205ec44898a9e7cf36dce298866bbd9d8f91 /Master/texmf-dist
parent7a5448f1d9195cd7eb50226efcc41a6ae0d93ce0 (diff)
pst-3dplot 1.90 (18feb10)
git-svn-id: svn://tug.org/texlive/trunk@17113 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/generic/pst-3dplot/Changes2
-rw-r--r--Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.pdfbin2934096 -> 2937408 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.tex195
-rw-r--r--Master/texmf-dist/source/generic/pst-3dplot/Makefile71
-rw-r--r--Master/texmf-dist/tex/generic/pst-3dplot/pst-3dplot.tex61
-rw-r--r--Master/texmf-dist/tex/latex/pst-3dplot/pst-3dplot.sty4
6 files changed, 209 insertions, 124 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-3dplot/Changes b/Master/texmf-dist/doc/generic/pst-3dplot/Changes
index 410fc2c3fce..5d1f93b0fa2 100644
--- a/Master/texmf-dist/doc/generic/pst-3dplot/Changes
+++ b/Master/texmf-dist/doc/generic/pst-3dplot/Changes
@@ -17,6 +17,8 @@ pst-3dplot.pro --------
pst-3dplot.tex --------
+1.90 2010-02-18 - enable the comma option
+ - fix bug with tx@addDict for AlgParser
1.89 2010-01-28 - enable coordinates for calculations
1.88 2009-11-24 - new optional argument CoorOffset
1.87 2009-11-12 - fix problem with \def\pst@par{} for objects
diff --git a/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.pdf b/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.pdf
index a93be92febb..185c74e3262 100644
--- a/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.pdf
+++ b/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.tex b/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.tex
index 5a9c7819eeb..3e728963c74 100644
--- a/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.tex
+++ b/Master/texmf-dist/doc/generic/pst-3dplot/pst-3dplot-doc.tex
@@ -6,8 +6,7 @@
\listfiles
\usepackage[utf8]{inputenc}
-\usepackage{pst-3dplot,pst-3d,pst-grad}
-\SpecialCoor
+\usepackage{pst-grad,pst-3dplot}
\let\pstFV\fileversion
\let\belowcaptionskip\abovecaptionskip
@@ -269,56 +268,56 @@ Without any options we get the default view with the in table~\ref{tab:coor}
listed options with the predefined values.
{
-\ttfamily
-\begin{longtable}{lll}
+\begin{longtable}{@{}l>{\ttfamily}lll@{}}
\caption{All new parameters for \texttt{pst-3dplot}\label{tab:coor}}\\
-\textrm{Name} & \textrm{Type} & \textrm{Default}\\\hline
+\textrm{name} & \textrm{type} & \textrm{Default} & \emph{page}\\\hline
\endfirsthead
-\textrm{Name} & \textrm{Type} & \textrm{Default}\\\hline
+\textrm{name} & \textrm{type} & \textrm{Default} & \emph{page}\\\hline
\endhead
-\Lkeyword{Alpha} & <angle> & 45\\
-\Lkeyword{Beta} & <angle> & 30\\
-\Lkeyword{xMin} & <value> & -1\\ %ok
-\Lkeyword{xMax} & <value> & 4\\ %ok
-\Lkeyword{yMin} & <value> & -1\\ %ok
-\Lkeyword{yMax} & <value> & 4\\ %ok
-\Lkeyword{zMin} & <value> & -1\\ %ok
-\Lkeyword{zMax} & <value> & 4\\ %ok
-\Lkeyword{nameX} & <string> & \$x\$\\
-\Lkeyword{spotX} & <angle> & 180\\
-\Lkeyword{nameY} & <string> & \$y\$\\
-\Lkeyword{spotY} & <angle> & 0\\
-\Lkeyword{nameZ} & <string> & \$z\$\\
-\Lkeyword{spotZ} & <angle> & 90\\
-\Lkeyword{IIIDticks} & false|true & false\\
-\Lkeyword{IIIDlabels} & false|true & false\\
-\Lkeyword{Dx} & <value> & 1\\
-\Lkeyword{Dy} & <value> & 1\\
-\Lkeyword{Dz} & <value> & 1\\
-\Lkeyword{IIIDxTicksPlane} & xy|xz|yz & xy\\
-\Lkeyword{IIIDyTicksPlane} & xy|xz|yz & yz\\
-\Lkeyword{IIIDzTicksPlane} & xy|xz|yz & yz\\
-\Lkeyword{IIIDticksize} & <value> & 0.1\\
-\Lkeyword{IIIDxticksep} & <value> & -0.4\\
-\Lkeyword{IIIDyticksep} & <value> & -0.2\\
-\Lkeyword{IIIDzticksep} & <value> & 0.2\\
-\Lkeyword{RotX} & <angle> & 0\\
-\Lkeyword{RotY} & <angle> & 0\\
-\Lkeyword{RotZ} & <angle> & 0\\
-\Lkeyword{RotAngle} & <angle> & 0\\
-\Lkeyword{xRotVec} & <angle> & 0\\
-\Lkeyword{yRotVec} & <angle> & 0\\
-\Lkeyword{zRotVec} & <angle> & 0\\
-\Lkeyword{RotSequence} & xyz|xzy|yxz|yzx|zxy|zyx|quaternion & xyz\\
-\Lkeyword{RotSet} & set|concat|keep & set\\
-\Lkeyword{eulerRotation} & true|false & false\\
-\Lkeyword{IIIDOffset} & \{<x,y,z>\} & \{0,0,0\}\\
-\Lkeyword{zlabelFactor} & <text> & \verb=\relax= \\
+\Lkeyword{Alpha} & <angle> & 45 & \pageref{exa:Alpha}\\
+\Lkeyword{Beta} & <angle> & 30 & \pageref{exa:Beta}\\
+\Lkeyword{xMin} & <value> & -1 & \pageref{exa:xMin}\\ %ok
+\Lkeyword{xMax} & <value> & 4 & \pageref{exa:xMax}\\ %ok
+\Lkeyword{yMin} & <value> & -1 & \pageref{exa:yMin}\\ %ok
+\Lkeyword{yMax} & <value> & 4 & \pageref{exa:yMax}\\ %ok
+\Lkeyword{zMin} & <value> & -1 & \pageref{exa:zMin}\\ %ok
+\Lkeyword{zMax} & <value> & 4 & \pageref{exa:zMax}\\ %ok
+\Lkeyword{nameX} & <string> & \$x\$ & \pageref{exa:nameX}\\
+\Lkeyword{spotX} & <angle> & 180 & \pageref{exa:spotX}\\
+\Lkeyword{nameY} & <string> & \$y\$ & \pageref{exa:nameY}\\
+\Lkeyword{spotY} & <angle> & 0 & \pageref{exa:spotY}\\
+\Lkeyword{nameZ} & <string> & \$z\$ & \pageref{exa:nameZ}\\
+\Lkeyword{spotZ} & <angle> & 90 & \pageref{exa:spotZ}\\
+\Lkeyword{IIIDticks} & false|true & false & \pageref{exa:IIIDticks}\\
+\Lkeyword{IIIDlabels} & false|true & false& \pageref{exa:IIIDlabels}\\
+\Lkeyword{Dx} & <value> & 1 & \pageref{exa:Dx}\\
+\Lkeyword{Dy} & <value> & 1 & \pageref{exa:Dy}\\
+\Lkeyword{Dz} & <value> & 1 & \pageref{exa:Dz}\\
+\Lkeyword{IIIDxTicksPlane} & xy|xz|yz & xy & \pageref{exa:IIIDxTicksPlane}\\
+\Lkeyword{IIIDyTicksPlane} & xy|xz|yz & yz & \pageref{exa:IIIDyTicksPlane}\\
+\Lkeyword{IIIDzTicksPlane} & xy|xz|yz & yz & \pageref{exa:IIIDzTicksPlane}\\
+\Lkeyword{IIIDticksize} & <value> & 0.1 & \pageref{exa:IIIDticksize}\\
+\Lkeyword{IIIDxticksep} & <value> & -0.4 & \pageref{exa:IIIDxticksep}\\
+\Lkeyword{IIIDyticksep} & <value> & -0.2 & \pageref{exa:IIIDyticksep}\\
+\Lkeyword{IIIDzticksep} & <value> & 0.2 & \pageref{exa:IIIDzticksep}\\
+\Lkeyword{RotX} & <angle> & 0 & \pageref{exa:RotX}\\
+\Lkeyword{RotY} & <angle> & 0 & \pageref{exa:RotY}\\
+\Lkeyword{RotZ} & <angle> & 0 & \pageref{exa:RotZ}\\
+\Lkeyword{RotAngle} & <angle> & 0 & \pageref{exa:RotAngle}\\
+\Lkeyword{xRotVec} & <angle> & 0 & \pageref{exa:xRotVec}\\
+\Lkeyword{yRotVec} & <angle> & 0 & \pageref{exa:yRotVec}\\
+\Lkeyword{zRotVec} & <angle> & 0 & \pageref{exa:zRotVec}\\
+\Lkeyword{RotSequence} & xyz|xzy|yxz|yzx|zxy|zyx|quaternion & xyz & \pageref{exa:RotSequence}\\
+\Lkeyword{RotSet} & set|concat|keep & set & \pageref{exa:RotSet}\\
+\Lkeyword{eulerRotation} & true|false & false & \pageref{eulerRotation}\\
+\Lkeyword{IIIDOffset} & \{<x,y,z>\} & \{0,0,0\} & \pageref{exa:IIIDOffset}\\
+\Lkeyword{zlabelFactor} & <text> & \verb=\relax= & \pageref{exa:zlabelFactor}\\
+\Lkeyword{comma} & false|true & false & \pageref{exa:comma}\\
\end{longtable}
}
-
+\xLcs{pstThreeDCoor}
\lstset{wide=false}
\begin{LTXexample}[width=4.25cm]
\begin{pspicture}(-3,-2.5)(3,4.25)
@@ -340,7 +339,7 @@ Cartesian coordinate system.
-
+\label{exa:xMax}\label{exa:yMax}\label{exa:zMax}\label{exa:Alpha}\label{exa:Beta}
\begin{LTXexample}[width=4.25cm]
\begin{pspicture}(-2,-1.25)(1,2.25)
\pstThreeDCoor[linewidth=1.5pt,linecolor=blue,
@@ -397,9 +396,10 @@ Cartesian coordinate system.
\lstset{wide=true}
-\subsection{Ticks and labels}
+\subsection{Ticks, comma and labels}
With the option \Lkeyword{IIIDticks} the axes get ticks and with \Lkeyword{IIIDlabels} labels.
-Without ticks also labels are not possible.
+Without ticks also labels are not possible. The optional argument \Lkeyword{comma}, which is
+defined in the package \LPack{pst-plot} allows to use a comma instead of a dot for real values.
There are several
options to place the labels in right plane to get an optimal view. The view of the
ticklabels can be changed by redefining the macro
@@ -408,30 +408,36 @@ ticklabels can be changed by redefining the macro
\def\psxyzlabel#1{\bgroup\footnotesize\textsf{#1}\egroup}
\end{verbatim}
-
+\label{exa:IIIDticksize}
+\xLcs{pstThreeDPut}
\psset{unit=1.25,gridlabels=0pt}
\begin{LTXexample}[width=7.25cm]
\begin{pspicture}(-3,-2.5)(3,4)
- \pstThreeDCoor[IIIDticks]%
+ \pstThreeDCoor[IIIDticks,IIIDticksize=0.05]%
\pstThreeDPut(3,0,3){\Huge default}
\end{pspicture}
\end{LTXexample}
+\label{exa:IIIDticks}\label{exa:IIIDlabels}\label{exa:xMin}\label{exa:yMin}\label{exa:zMin}
\begin{LTXexample}[width=7.25cm]
\begin{pspicture}(-3,-2.5)(3,4)
- \pstThreeDCoor[linecolor=black,%
+ \pstThreeDCoor[linecolor=black,
IIIDticks,IIIDlabels,
- xMin=-2,yMin=-2,zMin=-2]%
+ xMin=-2,yMin=-2,zMin=-2]
\end{pspicture}
\end{LTXexample}
+\label{exa:comma}\label{exa:IIIDzTicksPlane}\label{exa:IIIDyTicksPlane}\label{exa:IIIDxTicksPlane}
+\label{exa:IIIDxticksep}\label{exa:IIIDyticksep}\label{exa:IIIDzticksep}
+\label{exa:Dx}\label{exa:Dy}\label{exa:Dz}
\begin{LTXexample}[width=7.25cm]
\begin{pspicture}(-3,-2.5)(3,4)
- \pstThreeDCoor[linecolor=black,%
- IIIDticks,IIIDzTicksPlane=yz,IIIDzticksep=-0.2,%
- IIIDxTicksPlane=yz,,IIIDxticksep=-0.2,%
- IIIDyTicksPlane=xy,,IIIDyticksep=0.2,%
- Dx=2,Dy=1,Dz=0.25,Alpha=-135,Beta=-30]%
+ \pstThreeDCoor[linecolor=black,
+ IIIDticks,IIIDzTicksPlane=yz,
+ IIIDzticksep=-0.2,IIIDlabels,
+ IIIDxTicksPlane=yz,,IIIDxticksep=-0.2,
+ IIIDyTicksPlane=xy,,IIIDyticksep=0.2,
+ comma,Dx=1.25,Dy=1.5,Dz=0.25]
\end{pspicture}
\end{LTXexample}
@@ -445,6 +451,7 @@ The following example shows a wrong placing of the labels, the planes should be
\end{pspicture}
\end{LTXexample}
+\label{exa:planecorr}
\begin{LTXexample}[width=7.25cm]
\psset{Alpha=-60,Beta=60}
\begin{pspicture}(-4,-2.25)(1,3)
@@ -455,6 +462,7 @@ The following example shows a wrong placing of the labels, the planes should be
\end{pspicture}
\end{LTXexample}
+\xLkeyval{xyrot}
\begin{LTXexample}[width=7.25cm]
\psset{Alpha=-60,Beta=60}
\begin{pspicture}(-4,-2.25)(1,3)
@@ -467,7 +475,7 @@ The following example shows a wrong placing of the labels, the planes should be
For the z axis it is possible to define a factor for the values, e.g.
-\setIIIDplotDefaults
+\setIIIDplotDefaults\label{exa:zlabelFactor}\xLkeyword{zlabelFactor}
\xLkeyword{zlabelFactor}
%\define@key[psset]{pst-3dplot}{zlabelFactor}[\relax]{\def\psk@zlabelFactor{#1}}
\begin{LTXexample}[width=7.25cm]
@@ -483,6 +491,7 @@ The optional argument \Lkeyword{IIIDOffset} allows to set the intermediate point
axes to another point as the default of \verb+(0,0,0)+. The values have to be put into braces:
%\define@key[psset]{pst-3dplot}{zlabelFactor}[\relax]{\def\psk@zlabelFactor{#1}}
+\label{exa:IIIDOffset}\xLkeyword{IIIDOffset}
\begin{LTXexample}[width=7.25cm]
\begin{pspicture}(-4,-1.25)(1,4)
\pstThreeDCoor[IIIDticks,IIIDlabels,
@@ -498,6 +507,7 @@ and all other three dimensional objects.
With \Lkeyword{coorType}=1 the y--z-axes are orthogonal and the angle between x- and y-axis
is \Lkeyword{Alpha}. The angle \Lkeyword{Beta} is not valid.
+\label{exa:coorType}\xLkeyword{coorType}
\begin{LTXexample}[width=9.75cm]
\psset{coorType=1,Alpha=135}
\begin{pspicture}(-2,-3)(3,3)
@@ -509,6 +519,7 @@ With \Lkeyword{coorType}=2 the y--z-axes are orthogonal and the angle between x-
is always 135 degrees and the x-axis is shortened by a factor of $1/\sqrt{2}$.
The angle \Lkeyword{Alpha} is only valid for placing the ticks, if any. The angle \Lkeyword{Beta} is not valid.
+\xLkeyval{yz}
\begin{LTXexample}[width=9.75cm]
\psset{coorType=2,Alpha=90,
IIIDxTicksPlane=yz}
@@ -543,10 +554,14 @@ The angles \Lkeyword{Alpha} and \Lkeyword{Beta} are not valid.
\clearpage
\section{Rotation}
-The coordinate system can be rotated independent from the given Alpha and Beta values. This makes it possible to place
-the axes in any direction and any order. There are the three options \Lkeyword{RotX}, \Lkeyword{RotY}, \Lkeyword{RotZ} and an
-additional one for the rotating sequence (Lkeyword{rotSequence}), which can be any combination of the three letters \verb+xyz+.
+The coordinate system can be rotated independent from the given Alpha
+and Beta values. This makes it possible to place
+the axes in any direction and any order. There are the three options
+\Lkeyword{RotX}, \Lkeyword{RotY}, \Lkeyword{RotZ} and an
+additional one for the rotating sequence (\Lkeyword{rotSequence}), which can
+be any combination of the three letters \verb+xyz+.
+\label{exa:RotZ}
\begin{LTXexample}[pos=t]
\begin{pspicture}(-6,-3)(6,3)
\multido{\iA=0+10}{18}{%
@@ -556,6 +571,7 @@ additional one for the rotating sequence (Lkeyword{rotSequence}), which can be a
\end{LTXexample}
+\label{exa:RotX}\label{exa:RotY}\label{exa:RotSequence}
\begin{LTXexample}[pos=t]
\psset{unit=2,linewidth=1.5pt,drawCoor=false}
\begin{pspicture}(-2,-1.5)(2,2.5)%
@@ -594,6 +610,7 @@ specifying a \emph{single} angle of rotation \Lkeyword{RotAngle} (in degrees)
about a vector whose coordinates are \Lkeyword{xRotVec}, \Lkeyword{yRotVec},
and \Lkeyword{zRotVec} using the \Lkeyval{quaternion} option for \Lkeyword{RotSequence}.
+\label{exa:RotAngle}\label{exa:xRotVec}\label{exa:yRotVec}\label{exa:zRotVec}
\begin{LTXexample}[pos=t]
\begin{pspicture}(-3,-1.8)(3,3)
\multido{\iA=0+10}{18}{%
@@ -630,6 +647,7 @@ rotation parameters. Mostly used internally to eliminate redundant
calculations.
\end{itemize}
+\label{exa:RotSet}
\begin{LTXexample}[pos=t]
\begin{pspicture}(-3,-3)(3.6,3)
\pstThreeDCoor[linecolor=blue, RotSequence=quaternion, RotAngle=0, RotSet=set, xRotVec=0,yRotVec=0,zRotVec=1,
@@ -643,6 +661,7 @@ calculations.
\end{pspicture}
\end{LTXexample}
+\label{eulerRotation}
By default, the rotations defined by \verb+RotX+, \verb+RotY+, and
\verb+RotZ+ are rotations about the \emph{original} coordinate system's,
$x$, $y$, or $z$
@@ -650,7 +669,7 @@ axes, respectively. More traditionally, however, these rotation angles
are defined as rotations about the rotated coordinate system's \emph{current},
$x$, $y$, or $z$ axis. The \verb+pst-3dplot+ variable option
\verb+eulerRotation+ can be set to \verb+true+ to activate Euler angle
-definitions; i.e., \verb+eulerRotation=true+. The default is
+definitions; i.e., \Lkeyword{eulerRotation}=\true. The default is
\verb+eulerRotation=false+.
\begin{LTXexample}[pos=t]
@@ -2320,8 +2339,10 @@ The rotation angles are all predefined to $0$ degrees.
}
\end{pspicture}
+\label{exa:nameX}\label{exa:nameY}\label{exa:nameZ}\label{exa:spotX}\label{exa:spotY}\label{exa:spotZ}
\begin{pspicture}(-6,-4)(6,5)
- \pstThreeDCoor[xMin=-1,xMax=5,yMin=-1,yMax=5,zMin=-1,zMax=5]
+ \pstThreeDCoor[xMin=-1,xMax=5,yMin=-1,yMax=5,zMin=-1,zMax=5,
+ nameX=u,nameY=v,nameZ=w,spotX=90,spotY=0,spotZ=90]
\multido{\iA=0+10}{36}{\pstRotPointIIID[RotY=\iA](2,0,3){\xVal}{\yVal}{\zVal}
\pstThreeDDot[drawCoor=true](\xVal,\yVal,\zVal)
}
@@ -2345,7 +2366,8 @@ The rotation angles are all predefined to $0$ degrees.
\end{pspicture}
\begin{pspicture}(-6,-4)(6,5)
- \pstThreeDCoor[xMin=-1,xMax=5,yMin=-1,yMax=5,zMin=-1,zMax=5]
+ \pstThreeDCoor[xMin=-1,xMax=5,yMin=-1,yMax=5,zMin=-1,zMax=5,
+ nameX=u,nameY=v,nameZ=w,spotX=90,spotY=0,spotZ=90]
\multido{\iA=0+10}{36}{\pstRotPointIIID[RotY=\iA](2,0,3){\xVal}{\yVal}{\zVal}
\pstThreeDDot[drawCoor=true](\xVal,\yVal,\zVal)
}
@@ -2391,51 +2413,6 @@ The syntax is
\verb|\tempa\tempb\tempc| must be user or system defined macros, which holds the three
coordinates of the vector $\vec{C}=\vec{A}-\vec{B}$.
-
-
-\section{PDF output}
-
-\LPack{pst-3dplot} is based on the popular \verb|pstricks| package and writes pure
-\PS code\cite{PostScript}, so it is not possible to run \TeX{} files with
-pdf\LaTeX{} when there are pstricks macros in the document. If you still need a
-PDF output use one of the following possibilities:
-\begin{itemize}
-\item package \LPack{pdftricks}\cite{pdftricks}
-\item the for Linux free available program VTeX/Lnx\footnote{\url{http://www.micropress-inc.com/linux/}}
-\item build the PDF with \verb|ps2pdf| (\verb|dvi|$\rightarrow$\verb|ps|$\rightarrow$\verb|pdf|)
-\item use the \LPack{pst-pdf} package.\footnote{\url{http://www.perce.de/LaTeX/ps4pdf/}}
-\end{itemize}
-
-If you need package \LPack{graphicx} load it before any \verb|pstricks| package.
-You do not need to load
-\verb|pstricks.sty|, it will be done by \LPack{pst-3dplot} by default.
-
-\section{FAQ}
-\begin{itemize}
-\item The labels for the axis are not right placed in the preview.
-
-Be sure that you view your output with a dvi viewer which can show PostScript code, like
-kdvi but not xdvi. It is better to run \verb|dvips| and then view the ps-file with \verb|gv|.
-\item The three axes have a wrong intersection point.
-
-Be sure that you have the ''newest`` \LPack{pst-node} package
-\begin{verbatim}
-\def\fileversion{97 patch 11}
-\def\filedate{2000/11/09}
-\end{verbatim}
-and the ''newest`` \LPack{pst-plot}
-\begin{verbatim}
-\def\fileversion{97 patch 2}
-\def\filedate{1999/12/12}
-\end{verbatim}
-
-\item Using \LPack{amsmath} and \Lcs{hat} or other accents as label for the axes gives an
-error. In this case save prevent expanding with e.g.: \verb+\psset{nameX=$\noexpand\hat{x}$}+. %$
-\end{itemize}
-
-
-
-\clearpage
\section{List of all optional arguments for \texttt{pst-3dplot}}
\xkvview{family=pst-3dplot,columns={key,type,default}}
diff --git a/Master/texmf-dist/source/generic/pst-3dplot/Makefile b/Master/texmf-dist/source/generic/pst-3dplot/Makefile
new file mode 100644
index 00000000000..1ea2e39b135
--- /dev/null
+++ b/Master/texmf-dist/source/generic/pst-3dplot/Makefile
@@ -0,0 +1,71 @@
+
+# `Makefile' for `pst-3dplot.pdf', hv, 2007/03/17
+
+.SUFFIXES : .tex .ltx .dvi .ps .pdf .eps
+
+PACKAGE = pst-3dplot
+
+MAIN = $(PACKAGE)-doc
+
+TDS = ~/PSTricks/PSTricks-TDS
+
+LATEX = latex
+
+ARCHNAME = $(MAIN)-$(shell date +%y%m%d)
+
+ARCHFILES = $(PACKAGE).sty $(PACKAGE).tex $(PACKAGE).pro $(MAIN).tex README Changes Makefile
+
+all : doc clean
+doc: $(MAIN).pdf
+
+$(MAIN).pdf : $(MAIN).ps
+ GS_OPTIONS=-dAutoRotatePages=/None ps2pdf $<
+
+$(MAIN).ps : $(MAIN).dvi
+ dvips $<
+
+$(MAIN).dvi : $(MAIN).tex
+ $(LATEX) $<
+ $(LATEX) $<
+ if ! test -f $(basename $<).glo ; then touch $(basename $<).glo; fi
+ if ! test -f $(basename $<).idx ; then touch $(basename $<).idx; fi
+ makeindex -t $(basename $<).ilg -s pst-doc.ist -o $(basename $<).ind $(basename $<).idx
+ makeindex -s gglo.ist -t $(basename $<).glg -o $(basename $<).gls \
+ $(basename $<).glo
+ bibtex $(basename $<)
+ $(LATEX) $<
+ $(LATEX) $<
+
+clean :
+ $(RM) $(addprefix $(MAIN), .log .aux .glg .glo .gls .ilg .idx .ind .tmp .toc .out .blg .Roessler .bbl )
+ $(RM) $(addprefix $(MAIN), .dvi .ps .xcp)
+ $(RM) data3d.Roessler
+
+veryclean : clean
+ $(RM) $(addprefix $(MAIN), .pdf .bbl .blg)
+
+arch :
+ zip $(ARCHNAME).zip $(ARCHFILES)
+
+tds:
+ cp -u Changes $(TDS)/doc/generic/$(PACKAGE)/
+ cp -u README $(TDS)/doc/generic/$(PACKAGE)/
+ cp -u $(MAIN).pdf $(TDS)/doc/generic/$(PACKAGE)/
+#
+ cp -u Changes $(TDS)/tex/latex/$(PACKAGE)/
+ cp -u $(PACKAGE).sty $(TDS)/tex/latex/$(PACKAGE)/
+#
+ cp -u Changes $(TDS)/tex/generic/$(PACKAGE)/
+ cp -u $(PACKAGE).tex $(TDS)/tex/generic/$(PACKAGE)/
+#
+ cp -u Changes $(TDS)/dvips/$(PACKAGE)/
+ cp -u $(PACKAGE).pro $(TDS)/dvips/$(PACKAGE)/
+ cp -u $(PACKAGE).pro ~/Links/dvips-local/
+#
+ cp -u Changes $(TDS)/source/$(PACKAGE)/
+ cp -u $(MAIN).tex $(TDS)/source/$(PACKAGE)/
+ cp -u $(MAIN).bib $(TDS)/source/$(PACKAGE)/
+ cp -u Makefile $(TDS)/source/$(PACKAGE)/
+
+
+# EOF
diff --git a/Master/texmf-dist/tex/generic/pst-3dplot/pst-3dplot.tex b/Master/texmf-dist/tex/generic/pst-3dplot/pst-3dplot.tex
index 146b6fbf4ba..7b3fb7d8c83 100644
--- a/Master/texmf-dist/tex/generic/pst-3dplot/pst-3dplot.tex
+++ b/Master/texmf-dist/tex/generic/pst-3dplot/pst-3dplot.tex
@@ -22,12 +22,13 @@
% Requires PSTricks, pst-node, pst-plot, multido packages
\ifx\PSTricksLoaded\endinput\else \input pstricks.tex\fi
\ifx\PSTnodesLoaded\endinput\else \input pst-3d.tex\fi
-\ifx\PSTricksAddLoaded\endinput\else\input pstricks-add.tex\fi% loads node and plot
+\ifx\PSTplotLoaded\endinput\else \input pst-plot.tex\fi
+\ifx\PSTnodeLoaded\endinput\else \input pst-node.tex\fi
\ifx\PSTMultidoLoaded\endinput\else \input multido.tex\fi
\ifx\PSTXKeyLoaded\endinput\else \input pst-xkey \fi
%
-\def\fileversion{1.89}
-\def\filedate{2010/01/28}
+\def\fileversion{1.90}
+\def\filedate{2010/02/17}
\message{`PST-3dplot' v\fileversion, \filedate\space (HV,DL)}
%
\edef\PstAtCode{\the\catcode`\@} \catcode`\@=11\relax
@@ -373,12 +374,15 @@
\pst@dimm=\pst@tempD pt\edef\pst@tempD{\strip@pt\pst@dimm}% strip the 00... from fp
\pstFPadd\pst@tempE{\psk@IIIDxticksep}{\pst@OffsetY}
\pstFPdiv\pst@tempE\pst@tempE\psk@ThreeDplot@yThreeDunit
+ \edef\@xyDecimals{\psk@xDecimals}%
\multido{\nA=\pst@tempD+\psk@Dx,
\rB=\pst@tempC+\psk@ThreeDplot@deltax}
{\the\pst@cntx}{%
\pstThreeDLine[arrows=-](\rB,\pst@tempA,\pst@OffsetZ)(\rB,\pst@tempB,\pst@OffsetZ)%
\ifPst@IIIDlabels%
- \pstPlanePut[plane=\psk@IIIDxTicksPlane](\rB,\pst@tempE,\pst@OffsetZ){\psxyzlabel{\nA\psk@xlabelFactor}}%
+ \pstPlanePut[plane=\psk@IIIDxTicksPlane](\rB,\pst@tempE,\pst@OffsetZ){%
+ \psxyzlabel{\expandafter\@LabelComma\nA..\@nil\psk@xlabelFactor}}%
+% \psxyzlabel{\nA\psk@xlabelFactor}}%
\fi%
}% end of multido
\fi%
@@ -394,12 +398,15 @@
\pst@dimm=\pst@tempD pt\edef\pst@tempD{\strip@pt\pst@dimm}% strip the 00... from fp
\pstFPadd\pst@tempE{\psk@IIIDxticksep}{\pst@OffsetY}
\pstFPdiv\pst@tempE\pst@tempE\psk@ThreeDplot@yThreeDunit
+ \edef\@xyDecimals{\psk@xDecimals}%
\multido{\nA=\pst@tempD+-\psk@Dx,
\rB=\pst@tempC+-\psk@ThreeDplot@deltax}
{\the\pst@cntx}{%
\pstThreeDLine[arrows=-](\rB,\pst@tempA,\pst@OffsetZ)(\rB,\pst@tempB,\pst@OffsetZ)%
\ifPst@IIIDlabels%
- \pstPlanePut[plane=\psk@IIIDxTicksPlane](\rB,\pst@tempE,\pst@OffsetZ){\psxyzlabel{\nA\psk@xlabelFactor}}%
+ \pstPlanePut[plane=\psk@IIIDxTicksPlane](\rB,\pst@tempE,\pst@OffsetZ){%
+ \psxyzlabel{\expandafter\@LabelComma\nA..\@nil\psk@xlabelFactor}}%
+% \psxyzlabel{\nA\psk@xlabelFactor}}%
\fi%
}% end of multido and the x ticks and labels
\fi
@@ -419,12 +426,15 @@
\pst@dimm=\pst@tempD pt\edef\pst@tempD{\strip@pt\pst@dimm}% strip the 00... from fp
\pstFPadd\pst@tempE{\psk@IIIDyticksep}{\pst@OffsetX}
\pstFPdiv\pst@tempE\pst@tempE\psk@ThreeDplot@xThreeDunit
+ \edef\@xyDecimals{\psk@xDecimals}%
\multido{\nA=\pst@tempD+\psk@Dy,
\rB=\pst@tempC+\psk@ThreeDplot@deltay}
{\the\pst@cnty}{%
\pstThreeDLine[arrows=-](\pst@tempA,\rB,\pst@OffsetZ)(\pst@tempB,\rB,\pst@OffsetZ)%
\ifPst@IIIDlabels%
- \pstPlanePut[plane=\psk@IIIDyTicksPlane](\pst@tempE,\rB,\pst@OffsetZ){\psxyzlabel{\nA\psk@ylabelFactor}}%
+ \pstPlanePut[plane=\psk@IIIDyTicksPlane](\pst@tempE,\rB,\pst@OffsetZ){%
+ \psxyzlabel{\expandafter\@LabelComma\nA..\@nil\psk@ylabelFactor}}%
+% \psxyzlabel{\nA\psk@ylabelFactor}}%
\fi%
}% end of multido
\fi%
@@ -440,12 +450,15 @@
\pst@dimm=\pst@tempD pt\edef\pst@tempD{\strip@pt\pst@dimm}% strip the 00... from fp
\pstFPadd\pst@tempE{\psk@IIIDyticksep}{\pst@OffsetX}
\pstFPdiv\pst@tempE\pst@tempE\psk@ThreeDplot@xThreeDunit
+ \edef\@xyDecimals{\psk@xDecimals}%
\multido{\nA=\pst@tempD+-\psk@Dy,%
\rB=\pst@tempC+-\psk@ThreeDplot@deltay}
{\the\pst@cnty}{%
\pstThreeDLine[arrows=-](\pst@tempA,\rB,\pst@OffsetZ)(\pst@tempB,\rB,\pst@OffsetZ)%
\ifPst@IIIDlabels%
- \pstPlanePut[plane=\psk@IIIDyTicksPlane](\pst@tempE,\rB,\pst@OffsetZ){\psxyzlabel{\nA\psk@ylabelFactor}}%
+ \pstPlanePut[plane=\psk@IIIDyTicksPlane](\pst@tempE,\rB,\pst@OffsetZ){%
+ \psxyzlabel{\expandafter\@LabelComma\nA..\@nil\psk@ylabelFactor}}%
+% \psxyzlabel{\nA\psk@ylabelFactor}}%
\fi
}% end of multido and y ticks and labels
\fi
@@ -466,12 +479,15 @@
\pst@dimm=\pst@tempD pt\edef\pst@tempD{\strip@pt\pst@dimm}% strip the 00... from fp
\pstFPadd\pst@tempE{\psk@IIIDzticksep}{\pst@OffsetY}
\pstFPdiv\pst@tempE\pst@tempE\psk@ThreeDplot@yThreeDunit
+ \edef\@xyDecimals{\psk@xDecimals}%
\multido{\nA=\pst@tempD+\psk@Dz,
\rB=\pst@tempC+\psk@ThreeDplot@deltaz}%
{\the\pst@cntz}{%
\pstThreeDLine[arrows=-](\pst@OffsetX,\pst@tempA,\rB)(\pst@OffsetX,\pst@tempB,\rB)%
\ifPst@IIIDlabels%
- \pstPlanePut[plane=\psk@IIIDzTicksPlane](\pst@OffsetX,\pst@tempE,\rB){\psxyzlabel{\nA\psk@zlabelFactor}}%
+% \pshlabel{\psk@labelFontSize\expandafter\@LabelComma##1..\@nil\psk@xlabelFactor}%
+ \pstPlanePut[plane=\psk@IIIDzTicksPlane](\pst@OffsetX,\pst@tempE,\rB){%
+ \psxyzlabel{\expandafter\@LabelComma\nA..\@nil\psk@zlabelFactor}}%
\fi%
}%
\fi
@@ -487,11 +503,14 @@
\pst@dimm=\pst@tempD pt\edef\pst@tempD{\strip@pt\pst@dimm}% strip the 00... from fp
\pstFPadd\pst@tempE{\psk@IIIDzticksep}{\pst@OffsetY}
\pstFPdiv\pst@tempE\pst@tempE\psk@ThreeDplot@yThreeDunit
+ \edef\@xyDecimals{\psk@xDecimals}%
\multido{\nA=\pst@tempD+-\psk@Dz,%
\rB=\pst@tempC+-\psk@ThreeDplot@deltaz}{\the\pst@cntz}{%
\pstThreeDLine[arrows=-](\pst@OffsetX,\pst@tempA,\rB)(\pst@OffsetX,\pst@tempB,\rB)%
\ifPst@IIIDlabels%
- \pstPlanePut[plane=\psk@IIIDzTicksPlane](\pst@OffsetX,\pst@tempE,\rB){\psxyzlabel{\nA\psk@zlabelFactor}}%
+ \pstPlanePut[plane=\psk@IIIDzTicksPlane](\pst@OffsetX,\pst@tempE,\rB){%
+ \psxyzlabel{\expandafter\@LabelComma\nA..\@nil\psk@zlabelFactor}}%
+% \psxyzlabel{\nA\psk@zlabelFactor}}%
\fi%
}% end \multido
\fi% end \ifdim\psk@ThreeDplot@zMin
@@ -1445,7 +1464,9 @@
\addto@pscode{
\IIIDplot@variables
/func { #5 } def
- \ifPst@algebraic /Func ( #5 ) tx@addDict begin AlgParser end cvx def \fi
+ \ifPst@algebraic /Func ( #5 ) %tx@Dict begin
+ AlgParser %end
+ cvx def \fi
/xMin #1 def
/x xMin def
/x1 #2 def
@@ -1470,7 +1491,9 @@
\addto@pscode{
\IIIDplot@variables
/func { #5 } def
- \ifPst@algebraic /Func ( #5 ) tx@addDict begin AlgParser end cvx def \fi
+ \ifPst@algebraic /Func ( #5 ) %tx@addDict begin
+ AlgParser %end
+ cvx def \fi
/xMin #1 def
/x xMin def
/x1 #2 def
@@ -1541,7 +1564,9 @@
\addto@pscode{%
\IIIDplot@variables
/func { #5 } def
- \ifPst@algebraic /Func (#5) tx@addDict begin AlgParser end cvx def \fi
+ \ifPst@algebraic /Func (#5) %tx@addDict begin
+ AlgParser %end
+ cvx def \fi
/x #1 def
/x1 #2 def
/yMin #3 def
@@ -1566,7 +1591,9 @@
\addto@pscode{%
\IIIDplot@variables
/func { #5 } def
- \ifPst@algebraic /Func (#5) tx@addDict begin AlgParser end cvx def \fi
+ \ifPst@algebraic /Func (#5) %tx@addDict begin
+ AlgParser %end
+ cvx def \fi
/yMin #3 def
/y yMin def
/y1 #4 def
@@ -1646,7 +1673,9 @@
\def\pslinetype{0}%
\addto@pscode{%
\IIIDplot@variables
- \ifPst@algebraic /Func (#5) tx@addDict begin AlgParser end cvx def \fi
+ \ifPst@algebraic /Func (#5) %tx@addDict begin
+ AlgParser %end
+ cvx def \fi
/tMin #1 def
/t tMin def
/t1 #2 def
@@ -1671,7 +1700,9 @@
\@nameuse{beginplot@\psplotstyle}%
\addto@pscode{%
\IIIDplot@variables
- \ifPst@algebraic /Func (#5) tx@addDict begin AlgParser end cvx def \fi
+ \ifPst@algebraic /Func (#5) %tx@addDict begin
+ AlgParser %end
+ cvx def \fi
/tMin #1 def
/t tMin def
/t1 #2 def
diff --git a/Master/texmf-dist/tex/latex/pst-3dplot/pst-3dplot.sty b/Master/texmf-dist/tex/latex/pst-3dplot/pst-3dplot.sty
index a10bb9e0cfd..045c85ee870 100644
--- a/Master/texmf-dist/tex/latex/pst-3dplot/pst-3dplot.sty
+++ b/Master/texmf-dist/tex/latex/pst-3dplot/pst-3dplot.sty
@@ -1,5 +1,9 @@
%% $Id: pst-3dplot.sty 293 2010-02-14 17:11:57Z herbert $
\RequirePackage{pstricks}
+\RequirePackage{pst-3d}
+\RequirePackage{pst-plot}
+\RequirePackage{pst-node}
+\RequirePackage{multido}
\ProvidesPackage{pst-3dplot}[2010/01/01 package wrapper for
pst-3dplot.tex (hv)]
\input{pst-3dplot.tex}