[pstricks] Pstricks failing

Michael Hallgren m.hallgren at free.fr
Sun Nov 14 18:17:51 CET 2004


Hi,
 
You're probably being confused by the /showgrid statement in some on-line
examples. Natively, you should use /psgrid, or define /showgrid as a
function based
on for example /psgrid.
 
Cheers,
 
mh


  _____  

De : pstricks-bounces at tug.org [mailto:pstricks-bounces at tug.org] De la part
de Michael Kubovy
Envoyé : dimanche 14 novembre 2004 16:29
À : pstricks at tug.org
Objet : [pstricks] Pstricks failing


What am I doing wrong?

SOURCE:
\documentclass[]{article}
\usepackage{pstricks}

\title{Title}
\author{Me}
\begin{document}

\begin{pspicture}(0,0)(1,1)
\showgrid
\psline(0,0)(1,1)
\end{pspicture}

\end{document} 

OUTPUT:
This is pdfeTeX, Version 3.141592-1.20a-2.2 (Web2C 7.5.3)
\write18 enabled.
output format initialized to PDF
entering extended mode
(./20041121.tex
LaTeX2e <2003/12/01>
Babel <v3.8c> and hyphenation patterns for american, french, german,
ngerman, n
ohyphenation, loaded.
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/size10.clo))
(/Users/mk9y/Library/texmf/tex/latex/pstricks/latex/pstricks.sty
(/Users/mk9y/Library/texmf/tex/latex/pstricks/generic/pstricks.tex
`PSTricks' v1.04 <2004/06/22> (tvz)
(/Users/mk9y/Library/texmf/tex/latex/pstricks/generic/pstricks.con))
(/Users/mk9y/Library/texmf/tex/latex/xcolor/xcolor.sty
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/color.cfg)
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/pdftex.def)))
(./20041121.aux)
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/supp-pdf.tex
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/supp-mis.tex
loading : Context Support Macros / Miscellaneous 
)
loading : Context Support Macros / PDF (2004.03.26)
)
! Undefined control sequence.
l.9 \showgrid

? 
Process aborted
_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS: P.O.Box 400400 Charlottesville, VA 22904-4400
Parcels: Room 102 Gilmer Hall
McCormick Road Charlottesville, VA 22903
Office: B011 +1-434-982-4729
Lab: B019 +1-434-982-4751
Fax: +1-434-982-4766
WWW: http://www.people.virginia.edu/~mk9y/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20041114/85b31539/attachment.html 


More information about the PSTricks mailing list