[pstricks] Code doesnt compile

Olga Lyashevska olga.mailinglist at herenstraat.nl
Tue Apr 1 11:29:30 CEST 2008


Dear List,

I cant compile the following code. I am new to pstricks, so I would
appriciate any tips an how to get started.

------
\documentclass[a4paper,11pt]{article}
\usepackage[usenames,dvipsnames]{pstricks}
\usepackage{epsfig}
\begin{document}
\begin{pspicture}(0,-1.91)(6.3,1.91)
\psframe[linewidth=0.04](3.44,0.77)(0.92,-0.77)
\psframe[linewidth=0.04](4.24,1.07)(2.4,0.09)
\psline[linewidth=0.04cm](2.76,1.53)(4.06,-0.09)
\psline[linewidth=0.04cm](6.28,1.19)(0.02,-1.89)
\psline[linewidth=0.04cm](5.42,1.89)(5.28,-0.07)
\end{pspicture}
\end{document}
------
The output of the console:
------
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
 \write18 enabled.
 %&-line parsing enabled.
entering extended mode
(./Untitled.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax,
dumylang, noh
yphenation, arabic, basque, bulgarian, coptic, welsh, czech, slovak,
german, ng
erman, danish, esperanto, spanish, catalan, galician, estonian, farsi,
finnish,
 french, greek, monogreek, ancientgreek, croatian, hungarian, interlingua,
ibyc
us, indonesian, icelandic, italian, latin, mongolian, dutch, norsk,
polish, por
tuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian,
swedish,
turkish, ukenglish, ukrainian, loaded.
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/size11.clo))
(/usr/local/texlive/2007/texmf-dist/tex/latex/pstricks/pstricks.sty
(/usr/local/texlive/2007/texmf-dist/tex/generic/pstricks/pstricks.tex
`PSTricks' v1.15  <2006/12/22> (tvz)
(/usr/local/texlive/2007/texmf-dist/tex/generic/pstricks/pstricks.con))
(/usr/local/texlive/2007/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/local/texlive/2007/texmf/tex/latex/config/color.cfg)
(/usr/local/texlive/2007/texmf-dist/tex/latex/pdftex-def/pdftex.def)
(/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/dvipsnam.def)))
(/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/epsfig.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2007/texmf/tex/latex/config/graphics.cfg))))
(./Untitled.aux)
(/usr/local/texlive/2007/texmf-dist/tex/context/base/supp-pdf.tex
[Loading MPS to PDF converter (version 2006.09.02).]
)
! Undefined control sequence.
<recently read> \c at lor@to at ps

l.8 ...rame[linewidth=0.04](3.44,0.77)(0.92,-0.77)

? clip
Type <return> to proceed, S to scroll future error messages,
R to run without stopping, Q to run quietly,
I to insert something, E to edit your file,
1 or ... or 9 to ignore the next 1 to 9 tokens of input,
H for help, X to quit.
? r
OK, entering \nonstopmode...
! Undefined control sequence.
\XC at usec@lor ...string \color@ #1#2\endcsname \@@
                                                  \fi \space
l.8 ...rame[linewidth=0.04](3.44,0.77)(0.92,-0.77)

! Undefined control sequence.
<recently read> \c at lor@to at ps

l.8 ...rame[linewidth=0.04](3.44,0.77)(0.92,-0.77)

! Undefined control sequence.
\XC at usec@lor ...string \color@ #1#2\endcsname \@@
                                                  \fi \space
l.8 ...rame[linewidth=0.04](3.44,0.77)(0.92,-0.77)

! Undefined control sequence.
<recently read> \c at lor@to at ps

l.9 \psframe[linewidth=0.04](4.24,1.07)(2.4,0.09)

! Undefined control sequence.
\XC at usec@lor ...string \color@ #1#2\endcsname \@@
                                                  \fi \space
l.9 \psframe[linewidth=0.04](4.24,1.07)(2.4,0.09)

! Undefined control sequence.
<recently read> \c at lor@to at ps

l.9 \psframe[linewidth=0.04](4.24,1.07)(2.4,0.09)

! Undefined control sequence.
\XC at usec@lor ...string \color@ #1#2\endcsname \@@
                                                  \fi \space
l.9 \psframe[linewidth=0.04](4.24,1.07)(2.4,0.09)

! Undefined control sequence.
<recently read> \c at lor@to at ps

l.10 \psline[linewidth=0.04cm](
                               2.76,1.53)(4.06,-0.09)
! Undefined control sequence.
\XC at usec@lor ...string \color@ #1#2\endcsname \@@
                                                  \fi \space
l.10 \psline[linewidth=0.04cm](
                               2.76,1.53)(4.06,-0.09)
! Undefined control sequence.
<recently read> \c at lor@to at ps

l.11 \psline
            [linewidth=0.04cm](6.28,1.19)(0.02,-1.89)
! Undefined control sequence.
\XC at usec@lor ...string \color@ #1#2\endcsname \@@
                                                  \fi \space
l.11 \psline
            [linewidth=0.04cm](6.28,1.19)(0.02,-1.89)
! Undefined control sequence.
<recently read> \c at lor@to at ps

l.11 \psline[linewidth=0.04cm](
                               6.28,1.19)(0.02,-1.89)
! Undefined control sequence.
\XC at usec@lor ...string \color@ #1#2\endcsname \@@
                                                  \fi \space
l.11 \psline[linewidth=0.04cm](
                               6.28,1.19)(0.02,-1.89)
! Undefined control sequence.
<recently read> \c at lor@to at ps

l.12 \psline
            [linewidth=0.04cm](5.42,1.89)(5.28,-0.07)
! Undefined control sequence.
\XC at usec@lor ...string \color@ #1#2\endcsname \@@
                                                  \fi \space
l.12 \psline
            [linewidth=0.04cm](5.42,1.89)(5.28,-0.07)
! Undefined control sequence.
<recently read> \c at lor@to at ps

l.12 \psline[linewidth=0.04cm](
                               5.42,1.89)(5.28,-0.07)
! Undefined control sequence.
\XC at usec@lor ...string \color@ #1#2\endcsname \@@
                                                  \fi \space
l.12 \psline[linewidth=0.04cm](
                               5.42,1.89)(5.28,-0.07)
! Undefined control sequence.
<recently read> \c at lor@to at ps

l.13 \end
         {pspicture}
! Undefined control sequence.
\XC at usec@lor ...string \color@ #1#2\endcsname \@@
                                                  \fi \space
l.13 \end
         {pspicture}
[1
Non-PDF special ignored!
Non-PDF special ignored!
Non-PDF special ignored!
Non-PDF special ignored!
Non-PDF special ignored!
Non-PDF special ignored!
Non-PDF special
ignored!{/usr/local/texlive/2007/texmf-var/fonts/map/pdftex/upd
map/pdftex.map}] (./Untitled.aux) )
(see the transcript file for additional
information)</usr/local/texlive/2007/te
xmf-dist/fonts/type1/bluesky/cm/cmr10.pfb>
Output written on Untitled.pdf (1 page, 3126 bytes).
Transcript written on Untitled.log.
------

Thank you in advance,
Olga

MacOSX 10.5.2
TexShop 2.14




More information about the PSTricks mailing list