[OS X TeX] pstricks problem

Alan Litchfield alan at alphabyte.co.nz
Mon Jun 27 17:57:58 EDT 2005


Hi all,

Sorry about the cross post. I posted this on texhax and got no takers, and I
am hoping there is someone here who may be able to help. By the way I am using
TeXshop 1.35e on 10.4.1.

I have a pspicture that is being included into a figure environment but I keep
getting this error:

! Undefined control sequence.
\XC@@usecolor ...expandafter \c at lor@to at ps #1#2\@@
                                                  \else \expandafter \expand...
l.47 \psline[linewidth=0.15mm](
                               5,175)(35,215)

I have defined \usepackage{pstricks} and the file looks like this:

\psset{xunit=1mm,yunit=1mm,runit=1mm}
\psset{linewidth=0.15,dotsep=1,hatchwidth=0.3,hatchsep=1.5,shadowsize=1}
\psset{dotsize=0.7 2.5,dotscale=1 1,fillcolor=black}
\psset{arrowsize=1,arrowlength=1,arrowinset=0.25,tbarsize=0.7,bracketlength=0.15,rbracketlength=0.15}
\begin{pspicture}(0,0)(140,225)
...

% It all seems to run ok until it hits the first psline:
...
\psline[linewidth=0.15mm](5,175)(35,215)
...


\end{pspicture}

TIA
Alan


--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list