[pstricks] simple (newbie?) pst-plot problem: "! Illegal unit of measure (pt inserted)"

Glen Newton - NRC/CNRC CISTI/ICIST gnewton at orca.cisti.nrc.ca
Thu Apr 1 13:38:00 CEST 2004


Hello,

I suspect this is a simple problem, but I cannot figure it out, as
this also breaks for some of the simple pst-plot examples I've tried
off of the web...

I'm getting this error:

> ! Illegal unit of measure (pt inserted).
> <to be read again> 
>                    )
> l.7   \psset
>             {xunit=2mm,yunit=4mm}
> 

when I run latex (I'm running TeXLive Nov 2003, Linux) on this file:

\documentclass[12pt]{article}
\usepackage{pstcol}
\usepackage{pst-plot}

\begin{document}
\begin{pspicture}(-2.50)(20,250)
  \psset{xunit=2mm,yunit=4mm}
  \psshadowbox{hello}
\end{pspicture}
\end{document}



Here is the full output:

latex testplot
This is e-TeXk, Version 3.141592-2.1 (Web2C 7.5.2)
 %&-line parsing enabled.
 (/mnt/cdrom/texmf/web2c/cp8bit.tcx)
entering extended mode
(./testplot.tex
LaTeX2e <2001/06/01>
Babel <v3.7j> and hyphenation patterns for english, dumylang,
nohyphenation, ba
sque, czech, slovak, german, ngerman, danish, spanish, catalan,
finnish, french
, ukenglish, greek, croatian, hungarian, italian, latin, dutch,
norwegian, poli
sh, portuguese, russian, ukrainian, serbocroat, swedish, loaded.
(/mnt/cdrom/texmf/tex/latex/base/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(/mnt/cdrom/texmf/tex/latex/base/size12.clo))
(/mnt/cdrom/texmf/tex/latex/graphics/pstcol.sty
(/mnt/cdrom/texmf/tex/latex/pstricks/pstricks.sty
(/mnt/cdrom/texmf/tex/generic/pstricks/pstricks.tex
`PSTricks' v97 patch 14  <1999/12/23> (tvz)
(/mnt/cdrom/texmf/tex/generic/pstricks/pstricks.con)))
(/mnt/cdrom/texmf/tex/latex/graphics/color.sty
(/mnt/cdrom/texmf/tex/latex/texlive/color.cfg)
(/mnt/cdrom/texmf/tex/latex/graphics/dvips.def)
(/mnt/cdrom/texmf/tex/latex/graphics/dvipsnam.def)))
(/mnt/cdrom/texmf/tex/latex/pstricks/pst-plot.sty
(/mnt/cdrom/texmf/tex/generic/pstricks/pst-plot.tex  v97 patch 2,
1999/12/12
(/mnt/cdrom/texmf/tex/generic/pstricks/multido.tex  v1.4, 93/01/14
<tvz>)))
(./testplot.aux)
! Illegal unit of measure (pt inserted).
<to be read again> 
                   )
l.7   \psset
            {xunit=2mm,yunit=4mm}


If anyone can point me in the right direction, I'd appreciate it...

thanks,

	Glen
-- 

Glen Newton | glen.newton at nrc-cnrc.gc.ca
Program Head, Research
Chef du programme, section recherche 
tel/tél: 613-990-9163 | facsimile/télécopieur 613-952-8246
Canada Institute for Scientific and Technical Information (CISTI)
National Research Council Canada (NRC)| M-55, 1200
http://www.nrc-cnrc.gc.ca/
Montreal Road, Ottawa, Ontario K1A 0R6
Institut canadien de l'information scientifique et technique (ICIST) 
Conseil national de recherches Canada | M-55, 1200 chemin Montréal,
Ottawa, Ontario K1A 0R6  
Government of Canada | Gouvernement du Canada   
--






More information about the PSTricks mailing list