[pstricks] pst-3dplot and algebraic

Markus markuskrebs at web.de
Thu Feb 7 15:46:04 CET 2008


Hello all members!

There is a strange behavior (at least my system) with pst-3dplot and 
pstricks-add and algebraic=true

\listfiles
\documentclass{article}
\usepackage[svgnames,dvipsnames]{pstricks}    % Basispaket
%\usepackage{pst-3dplot} 										 	
\usepackage{pstricks-add} 	
\begin{document}
\psplot{-5}{5}{x x 2 exp mul x 4 sub 2 exp mul}
\psplot[algebraic]{-5}{5}{x^2*x}
\psplot[algebraic=true,linewidth=1.25pt]{-.7186081719}{6}{.1250000000*x*(x-4.)^2}
\end{document}

working fine

\listfiles
\documentclass{article}
\usepackage[svgnames,dvipsnames]{pstricks}    % Basispaket
\usepackage{pst-3dplot} 										 	% Dreidimensionale Zeichnungen
\usepackage{pstricks-add} 										% Additional macros for 
pstricks/pst-node/pst-plot
\begin{document}
\psplot{-5}{5}{x x 2 exp mul x 4 sub 2 exp mul}
\psplot[algebraic]{-5}{5}{x^2*x}
\psplot[algebraic=true,linewidth=1.25pt]{-.7186081719}{6}{.1250000000*x*(x-4.)^2}
\end{document}

following error message:

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

! You can't use `macro parameter character #' in horizontal mode.
\in@ #1#2->\def \in@@ ##1#1##
                              2##3\in@@ {\ifx \in@ ##2\in at false \else 
\in at tru...
l.9 ...t]{-.7186081719}{6}{.1250000000*x*(x-4.)^2}

Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.

! You can't use `macro parameter character #' in horizontal mode.
\in@ #1#2->\def \in@@ ##1#1##2##
                                 3\in@@ {\ifx \in@ ##2\in at false \else 
\in at tru...
l.9 ...t]{-.7186081719}{6}{.1250000000*x*(x-4.)^2}

Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.

! Extra \else.
\XKV at ch@ckch at ice ... at tempa \@firstofone \fi \else
                                                   \ifXKV at pl 
\XKV at addtomacro@...
l.9 ...t]{-.7186081719}{6}{.1250000000*x*(x-4.)^2}

I'm ignoring this; it doesn't match any \if.


! Package xkeyval Error: value `\def \XKV at resa {true}\@firstofone ' 
is not allowed.

See the xkeyval package documentation for explanation.
Type  H <return>  for immediate help.
  ...

l.9 ...t]{-.7186081719}{6}{.1250000000*x*(x-4.)^2}

Try typing  <return>  to proceed.
If that doesn't work, type  X <return>  to quit.

! Extra \else.
\XKV at s@tk at ys ...XKV at tfam \XKV at s@tk at ys@ {#3}}\else
                                                   \XKV at whilist 
\XKV at fams \XK...
l.9 ...t]{-.7186081719}{6}{.1250000000*x*(x-4.)^2}

I'm ignoring this; it doesn't match any \if.

! Extra \fi.
\use at par ...t \pst at par ,\@nil \def \pst at par {}\fi

l.9 ...t]{-.7186081719}{6}{.1250000000*x*(x-4.)^2}

I'm ignoring this; it doesn't match any \if.


xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Files used:

  *File List*
  article.cls    2005/09/16 v1.4f Standard LaTeX document class
   size10.clo    2005/09/16 v1.4f Standard LaTeX file (size option)
pstricks.sty    2008/01/22 v0.36 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex    2008/01/01 v1.20 `PSTricks' (tvz)
   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)
dvipsnam.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
   svgnam.def    2007/01/21 v2.11 Predefined colors according to SVG 1.1 (UK)
pst-3dplot.sty    2006/02/07 package wrapper for pst-3dplot.tex (hv)
pst-3dplot.tex    2008/01/03 v1.79 `PST-3dplot' (hv)
pst-xkey.tex    2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
  xkeyval.sty    2006/11/18 v2.5f package option processing (HA)
  xkeyval.tex    2006/11/18 v2.5f key=value parser (HA)
pstricks-add.sty    2007/09/03 v. 0.11 package wrapper for 
pstricks-add.tex (hv)
pstricks-add.tex    2008/01/03 v1.79 `PSTricks-add' (hv)
  ***********

Thanks a lot for any help.

Markus







More information about the PSTricks mailing list