I am trying to build the image on this page:
When I execute "tex Cartesian_coordinates_2D.tex" eventually I get the error:
! Undefined control sequence.
\psaxes@vii ... \pst@dimd {#6}\pst@dima =\dimexpr
\pst@dima -\pst@dimg \rela...
<to be read again>
\psset
l.8 \psset
{linewidth=.4pt}
?
This is the first time I've used Tex so I don't know what to do.
This is TeX, Version 3.14159265 (MiKTeX 2.9.6100 64-bit)
Windows 7 Pro x64
[edit]
Alternately, when I try to run the script in Texworks I get the following error:
! Package xkeyval Error: xkeyval loaded before \documentclass.
See the xkeyval package documentation for explanation.
Type H <return> for immediate help.
...
l.62 ...yval loaded before \protect\documentclass}
%
?
Best Answer
You need to compile this with either
latex
>dvips
>ps2pdf
orxelatex
: