[pstricks] AlgParser inside raw coordinates (! PS code)

Christophe Jorssen christophe.jorssen at free.fr
Wed Apr 30 17:07:21 CEST 2008


Hello all,

I don't understand why I get a postscript error with the felowing code.
(expression) AlgParser cvx doesn't seem to put a number on the stack.
Maybe I misunderstand something.

\listfiles
\documentclass{article}
\usepackage{pstricks}
\begin{document}
\SpecialCoor
\def\lpar{(}
\def\rpar{)}
\begin{pspicture}[showgrid=true](5,5)
  \psdot(!5 45 cos mul 5 45 sin mul)
  \psdot(!
    \lpar 5*cos\lpar 45\rpar\rpar\space AlgParser cvx 
    \lpar 5*sin\lpar 45\rpar\rpar\space AlgParser cvx)
\end{pspicture}
\end{document}

 *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/24 v0.37 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex    2008/04/14 v1.22 `PSTricks' (tvz)
pstricks.pro    2008/01/01 v. 1.03, PostScript prologue file (hv)
pst-dots.pro    2006/12/19 v. 2.00, PostScript prologue file (hv)
pst-algparser.pro    2008/01/01 v. 0.01, PostScript prologue file (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)
 ***********

Thanks in advance

--
Christophe




More information about the PSTricks mailing list