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

Christophe Jorssen christophe.jorssen at free.fr
Wed Apr 30 23:02:55 CEST 2008


Le mercredi 30 avril 2008 à 21:27 +0200, Herbert Voss a écrit :
> Christophe Jorssen schrieb:
> 
> > 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.
> > 
[snip]
> 
> cvx make it _executable_, but does not execute it
> 
>    \psdot[linecolor=blue](!
>      /X \lpar4*cos\lpar45\rpar\rpar\space AlgParser cvx def
>      /Y \lpar4*sin\lpar45\rpar\rpar\space AlgParser cvx def
>      X Y)%
> 
> 
>    \psdot[linecolor=red](*{Pi 4 div} {sin(x)})
> 
> works also with the latest pstricks.
> 

ok, got it. Thank you Herbert and Manuel. 

Is there a way to do the same without any def's (that is execute
something excutable on the stack) ?

--
Christophe




More information about the PSTricks mailing list