[pstricks] pstricks-add bug in \psbrace

Herbert Voss Herbert.Voss at fu-berlin.de
Tue Sep 11 17:36:02 CEST 2007


Alan Ristow wrote:
> I updated pstricks-add this morning and now have errors originating with 
> \psbrace. With the following example (copied directly from the 
> pstricks-add-doc.tex):
>
> \documentclass{article}
> \usepackage{pstricks}
> \usepackage{pstricks-add}
> \begin{document}
> \begin{pspicture}(4,4)
> \psgrid[subgriddiv=0,griddots=10]
> \pnode(0,0){A}
> \pnode(4,4){B}
> \psbrace[linecolor=red,ref=lC](A)(B){Text I}
> \psbrace*[linecolor=blue,ref=lC](3,4)(0,1){Text II}
> \psbrace[fillcolor=white](3,0)(3,4){III}
> \end{pspicture}
> \end{document}
>
> The log file tells me:
>
> ! Undefined control sequence.
> <argument> ...\psk at nodesepA add exch \tx at UserCoor
>   

I forgot, that these definitions are in the new pstricks.tex v1.16,
which will
be uploaded at the end of this year. Until then, use
http://perce.de/LaTeX/pstricks/pstricks.tex

or write into the preamble:

% on stack x y
\pst at def{UserCoor}< \pst at number\psyunit div exch \pst at number\psxunit div
exch >
\pst at def{ScreenCoor}< \pst at number\psyunit mul exch \pst at number\psxunit
mul exch >


Herbert



More information about the PSTricks mailing list