i wanted to try out PSTricks as I often need math in my figures, so i installed the package "pstricks" and tried this example (I got the example from http://tug.org/PSTricks/Examples/Simple/simple0.tex so it should work)
Code: Select all
\documentclass[a4paper,12pt]{article}
\usepackage{pstricks}
\begin{document}
\newgray{lGray}{0.95}
\psset{unit=0.05mm}% 1:20, or =0.1mm for 1:10
\begin{pspicture}(-100,-100)(1000,1300)
\pspolygon[linewidth=2pt,fillcolor=lGray,%
fillstyle=solid](0,0)(0,940)(860,1250)(860,0)
\psset{linewidth=0.2pt,arrowscale=2,tbarsize=10pt}
\psline{|<->|}(0,-100)(860,-100)\rput*(430,-100){860mm}
\psline{|<->|}(960,0)(960,1250)\rput*{90}(960,625){1250mm}
\psline{|<->|}(-100,0)(-100,940)\rput*{90}(-100,470){940mm}
\end{pspicture}
\end{document}
Code: Select all
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
%&-line parsing enabled.
entering extended mode
(./simple0.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, loaded.
(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size12.clo))
(/home/svenskmand/texmf/tex/latex/pstricks/pstricks.sty
(/home/svenskmand/texmf/tex/generic/pstricks/pstricks.tex
`PSTricks' v1.26 <2008/07/31> (tvz)
(/home/svenskmand/texmf/tex/generic/pstricks/pstricks.con))
(/usr/share/texmf-texlive/tex/latex/graphics/color.sty
(/etc/texmf/tex/latex/config/color.cfg)
(/usr/share/texmf-texlive/tex/latex/pdftex-def/pdftex.def))) (./simple0.aux)
! Undefined control sequence.
<recently read> \c@lor@to@ps
l.9 fillstyle=solid](
0,0)(0,940)(860,1250)(860,0)
! Undefined control sequence.
\pst@usecolor ...\string \color@ #1\endcsname \@@
\space
l.9 fillstyle=solid](
0,0)(0,940)(860,1250)(860,0)
! Undefined control sequence.
<recently read> \c@lor@to@ps
l.10 \psset
{linewidth=0.2pt,arrowscale=2,tbarsize=10pt}
! Undefined control sequence.
\pst@usecolor ...\string \color@ #1\endcsname \@@
\space
l.10 \psset
{linewidth=0.2pt,arrowscale=2,tbarsize=10pt}
! Undefined control sequence.
<recently read> \c@lor@to@ps
l.10 \psset
{linewidth=0.2pt,arrowscale=2,tbarsize=10pt}
! Undefined control sequence.
\pst@usecolor ...\string \color@ #1\endcsname \@@
\space
l.10 \psset
{linewidth=0.2pt,arrowscale=2,tbarsize=10pt}
! Undefined control sequence.
<recently read> \c@lor@to@ps
l.11 \psline{|<->|}
(0,-100)(860,-100)\rput*(430,-100){860mm}
! Undefined control sequence.
\pst@usecolor ...\string \color@ #1\endcsname \@@
\space
l.11 \psline{|<->|}
(0,-100)(860,-100)\rput*(430,-100){860mm}
! Undefined control sequence.
<recently read> \c@lor@to@ps
l.11 \psline{|<->|}(0,-100)(860,-100)\rput
*(430,-100){860mm}
! Undefined control sequence.
\pst@usecolor ...\string \color@ #1\endcsname \@@
\space
l.11 \psline{|<->|}(0,-100)(860,-100)\rput
*(430,-100){860mm}
! Undefined control sequence.
<recently read> \c@lor@to@ps
l.11 ...}(0,-100)(860,-100)\rput*(430,-100){860mm}
! Undefined control sequence.
\pst@usecolor ...\string \color@ #1\endcsname \@@
\space
l.11 ...}(0,-100)(860,-100)\rput*(430,-100){860mm}
! Undefined control sequence.
<recently read> \c@lor@to@ps
l.11 ...}(0,-100)(860,-100)\rput*(430,-100){860mm}
! Undefined control sequence.
\pst@usecolor ...\string \color@ #1\endcsname \@@
\space
l.11 ...}(0,-100)(860,-100)\rput*(430,-100){860mm}
! Undefined control sequence.
<recently read> \c@lor@to@ps
l.12 \psline{|<->|}
(960,0)(960,1250)\rput*{90}(960,625){1250mm}
! Undefined control sequence.
\pst@usecolor ...\string \color@ #1\endcsname \@@
\space
l.12 \psline{|<->|}
(960,0)(960,1250)\rput*{90}(960,625){1250mm}
! Undefined control sequence.
<recently read> \c@lor@to@ps
l.12 \psline{|<->|}(960,0)(960,1250)\rput
*{90}(960,625){1250mm}
! Undefined control sequence.
\pst@usecolor ...\string \color@ #1\endcsname \@@
\space
l.12 \psline{|<->|}(960,0)(960,1250)\rput
*{90}(960,625){1250mm}
! Undefined control sequence.
<recently read> \c@lor@to@ps
l.12 ...60,0)(960,1250)\rput*{90}(960,625){1250mm}
! Undefined control sequence.
\pst@usecolor ...\string \color@ #1\endcsname \@@
\space
l.12 ...60,0)(960,1250)\rput*{90}(960,625){1250mm}
! Undefined control sequence.
<recently read> \c@lor@to@ps
l.12 ...60,0)(960,1250)\rput*{90}(960,625){1250mm}
! Undefined control sequence.
\pst@usecolor ...\string \color@ #1\endcsname \@@
\space
l.12 ...60,0)(960,1250)\rput*{90}(960,625){1250mm}
! Undefined control sequence.
<recently read> \c@lor@to@ps
l.13 \psline{|<->|}
(-100,0)(-100,940)\rput*{90}(-100,470){940mm}
! Undefined control sequence.
\pst@usecolor ...\string \color@ #1\endcsname \@@
\space
l.13 \psline{|<->|}
(-100,0)(-100,940)\rput*{90}(-100,470){940mm}
! Undefined control sequence.
<recently read> \c@lor@to@ps
l.13 \psline{|<->|}(-100,0)(-100,940)\rput
*{90}(-100,470){940mm}
! Undefined control sequence.
\pst@usecolor ...\string \color@ #1\endcsname \@@
\space
l.13 \psline{|<->|}(-100,0)(-100,940)\rput
*{90}(-100,470){940mm}
! Undefined control sequence.
<recently read> \c@lor@to@ps
l.13 ...00,0)(-100,940)\rput*{90}(-100,470){940mm}
! Undefined control sequence.
\pst@usecolor ...\string \color@ #1\endcsname \@@
\space
l.13 ...00,0)(-100,940)\rput*{90}(-100,470){940mm}
! Undefined control sequence.
<recently read> \c@lor@to@ps
l.13 ...00,0)(-100,940)\rput*{90}(-100,470){940mm}
! Undefined control sequence.
\pst@usecolor ...\string \color@ #1\endcsname \@@
\space
l.13 ...00,0)(-100,940)\rput*{90}(-100,470){940mm}
[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!{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}
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!
Non-PDF special ignored!] (./simple0.aux) )
(see the transcript file for additional information)</usr/share/texmf-texlive/f
onts/type1/bluesky/cm/cmr12.pfb>
Output written on simple0.pdf (1 page, 5069 bytes).
Transcript written on simple0.log.
Best regards.