[pstricks] error in pst-circ with pst-optexp

Patrice MÉGRET Patrice.MEGRET at umons.ac.be
Mon Jun 23 13:22:06 CEST 2014


Dear all,

I have a small trouble with this example from pst-circ:

\documentclass{book}
\usepackage{pst-circ}
%\usepackage{pst-optexp}
%\usepackage{pstricks-add}
\listfiles
\begin{document}

\begin{pspicture}(3,2)
\pnodes(0,0){A}(3,2){B}
\resistor[labelangle=:U,labeloffset=0](A)(B){$R$}
\end{pspicture}
\end{document}

It works perfectly as expected without pst-optexp. If I also use pst-optexp, the key labelangle=:U gives this error:

PSTricks error.  See User's Guide for further information.
                 Type  H <return>  for immediate help.
! Bad number: `:U'. 0 substituted..
\@pstrickserr ... immediate help.}\errmessage {#1}
                                                  \endgroup
l.13 ...or[labelangle=:U,labeloffset=0](A)(B){$R$}

Any idea how to solve that error?

Best regards,
Patrice

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20140623/232e5196/attachment.html>


More information about the PSTricks mailing list