[pstricks] Packages: mattens / pst-3dplot

robert.fischer10 at arcor.de robert.fischer10 at arcor.de
Fri Dec 30 10:13:17 CET 2011


Hello,

I am getting a compiling error by using the vector package mattens in combination with pst-3dplot. Maybe this is a problem of the first package. Therefore I'am not sure to have the correct mailing list with pstricks.


Example:
----------
\listfiles
\documentclass{minimal}
\usepackage{pst-3dplot}
\usepackage[mathstrut]{mattens}
\pagestyle{empty}

\begin{document}

$\aS[\hat]{t}$

$\aS{t}$

\begin{pspicture}(-2,-2)(2,2)
		\pstThreeDCoor[linecolor=black,IIIDticks=false,arrowinset=0,
		arrowscale=1.5,xMin=0,yMin=0,zMin=0,xMax=1,yMax=1,zMax=1,
		nameX=$\aS[\hat]{t}$%WORKS NOT
%		nameX=$\aS{t}$ %WORKS
		]
\end{pspicture}

\end{document}

Error Message:
-----------------
! Argument of \\MT@@Tensor has an extra }.
<inserted text> 
                \par 
l.54 		nameX=$\aS[\hat]{
                        t}$%WORKS NOT
I've run across a `}' that doesn't seem to match anything.
For example, `\def\a#1{...}' and `\a}' would produce
this error. If you simply proceed now, the `\par' that
I've just inserted will cause me to report a runaway
argument that might be the root of the problem. But if
your `}' was spurious, just type `2' and it will go away.

Runaway argument?
\hat 
! Paragraph ended before \\MT@@Tensor was complete.
<to be read again> 
                   \par 
l.54 		nameX=$\aS[\hat]{
                        t}$%WORKS NOT
I suspect you've forgotten a `}', causing me to apply this
control sequence to too much text. How can we recover?
My plan is to forget the whole thing and hope for the best.

! Missing $ inserted.
<inserted text> 
                $
l.54 		nameX=$\aS[\hat]{
                        t}$%WORKS NOT
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.

! Missing $ inserted.
<inserted text> 
                $
l.57 \end{pspicture}

Definition in mattens package:
-----------------------------------
\MT at Tensor
\MT@@Tensor
General tensor commands to look for starred form and and initiate script extrac-
tion.
15
105 \newcommand*{\MT at Tensor}{%
106 \@ifstar{\let\MT at bold=\@firstofone\MT@@Tensor}
107 {\let\MT at bold=\MT at SymbFnt\MT@@Tensor}}
108 \newcommand*{\MT@@Tensor}[2][\@firstofone]{%
109 \let\MT at accent=#1\relax%
110 \MT at GetScripts{#2}}
                    
File List:
---------
minimal.cls    2001/05/25 Standard LaTeX minimal class
pst-3dplot.sty    2010/01/01 package wrapper for pst-3dplot.tex (hv)
pstricks.sty    2011/10/31 v0.52 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex    2011/09/04 v2.23 `PSTricks' (tvz,hv)
pst-xkey.tex    2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
 xkeyval.sty    2008/08/13 v2.6a package option processing (HA)
 xkeyval.tex    2008/08/13 v2.6a key=value parser (HA)
  pst-fp.tex    2011/09/04 v2.23 `PST-fp' (hv)
  xcolor.sty    2007/01/21 v2.11 LaTeX color extensions (UK)
   color.cfg    2007/01/18 v1.5 color configuration of teTeX/TeXLive
   dvips.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
  pst-3d.sty    2009/07/28 package wrapper for pst-3d.tex (hv)
  pst-3d.tex    2010/02/14 v1.11 `PST-3d' (hv)
pst-plot.sty    2011/04/13 package wrapper for pst-plot.tex (hv)
pst-xkey.sty    2005/11/25 v1.6 package wrapper for pst-xkey.tex (HA)
 multido.sty    2004/05/17 package wrapper for PSTricks `multido.tex', (HV/RN)
 multido.tex    2010/05/14 v1.42 `multido' (tvz,hv)
pst-plot.tex    2011/11/07 1.34 `pst-plot' (tvz,hv)
pst-node.sty    2010/04/22 package wrapper for pst-node.tex
pst-node.tex    2011/11/21 1.21 `pst-node' (tvz)
pst-3dplot.tex    2011/03/01 v1.94 `PST-3dplot' (hv)
 mattens.sty    2010/03/26 v1.3a Matrix/Tensors (DNJ Els)

Best Regards,
Robert.


More information about the PSTricks mailing list