[pstricks] Please Help!

bereket T bermaths at yahoo.com
Thu Sep 6 17:05:03 CEST 2007

  I am a novice user of pstricks. Last week I have updated my pstrick packages following the directions in the readme files of each package. When I load the pstricks-add in my files, I am having an error: 
                                Missing \begin{document}.
  I have included the input file and the log file for your references. The input file is one of the examples in the website for pstricks. Could you please help me to overcome this problem. 
  Here is the input file:
  \psPolynomial[coeff=6 3 -1,linecolor=red]{-3}{5}
  \psPolynomial[coeff=2 -1 -1 .5 -.1 .025,linecolor=blue]{-2}{4}
  \psPolynomial[coeff=-2 1 -1 .5 .1 .025 .2 ,linecolor=magenta]{-2}{4}
  \psPolynomial[coeff=-2 1 -1 .5 .1 .025 .2 ,linecolor=magenta,xShift=1,linestyle=dashed]{-2}{4}
  Here is the log file:++++++++++++++++++++++++++++++++++++++++++++++++++++
  This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (format=latex 2007.1.12) 30 AUG 2007 13:23
  entering extended mode
  LaTeX2e <2003/12/01>
  Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b
  ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
  stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
  h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
  kish, ukrainian, nohyphenation, loaded.
  Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
  File: size11.clo 2004/02/16 v1.4f Standard LaTeX file (size option)
  \c at part=\count79
  \c at section=\count80
  \c at subsection=\count81
  \c at subsubsection=\count82
  \c at paragraph=\count83
  \c at subparagraph=\count84
  \c at figure=\count85
  \c at table=\count86
  Package: pstricks 2007/02/18 v0.33 LaTeX wrapper for `PSTricks' (RN,HV)
  `PSTricks' v1.15a <2006/12/22> (tvz)
  \pst at dima=\dimen103
  \pst at dimb=\dimen104
  \pst at dimc=\dimen105
  \pst at dimd=\dimen106
  \pst at dimg=\dimen107
  \pst at dimh=\dimen108
  \pst at hbox=\box26
  \pst at boxg=\box27
  \pst at cnta=\count87
  \pst at cntb=\count88
  \pst at cntc=\count89
  \pst at cntd=\count90
  \pst at cntg=\count91
  \pst at cnth=\count92
  \pst at toks=\toks14
  \pst at customdefs=\toks15
  \psk at shift=\dimen116
  \pst at shift=\dimen117
  File: pstricks.tex 2006/12/22 v1.15a `PSTricks' (tvz)
  Package: xcolor 2004/07/04 v2.00 LaTeX color extensions (UK)
  File: color.cfg 2005/02/03 v1.3 color configuration of teTeX/TeXLive
  Package xcolor Info: Package option `override' ignored on input line 128.
  Package xcolor Info: Driver file: dvips.def on input line 136.
  File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
  Package xcolor Info: Color model `cmy' added on input line 972.
  Package xcolor Info: Color model `HTML' added on input line 1000.
  Package xcolor Info: Color model `HSB' added on input line 1006.
  Package xcolor Info: Color model `Gray' added on input line 1012.
  Package: pst-plot 2004/07/15 package wrapper for pst-plot.tex
  (/usr/share/texmf/tex/generic/multido/multido.tex v1.41, 2004/05/18 <tvz>
  \multido at count=\count93
  \multido at stuff=\toks17
  v97 patch 2, 1999/12/12)
  File: pst-plot.tex 1999/12/12 97 patch 2 `pst-plot' (tvz)
  ) (/usr/share/texmf/tex/latex/xkeyval/xkeyval.sty
  Package: xkeyval 2005/01/30 v2.0 package option processing (HA)
  \XKV at toks=\toks18
  File: xkeyval.tex 2005/01/30 v2.0 key=value parser (HA)
  Package: pst-func 2006/04/22 package wrapper for pst-func.tex (hv)
  (/usr/share/texmf/tex/generic/pstricks/pst-node.tex v97 patch 11, 2000/11/09
  (/usr/share/texmf/tex/generic/pstricks/pst-3d.tex v97, 1997/03/25)
  File: pst-xkey.tex 2005/01/16 v1.3 PSTricks specialization of xkeyval (HA)
  `pstricks-add' v2.87, 2007/07/19 (dr,hv)
  \pst at dimm=\dimen118
  \pst at dimn=\dimen119
  \pst at dimo=\dimen120
  \pst at dimp=\dimen121
  \pst at cntm=\count98
  \pst at cntn=\count99
  \pst at cnto=\count100
  \pst at cntp=\count101
  ! LaTeX Error: Missing \begin{document}.
  See the LaTeX manual or LaTeX Companion for explanation.
  Type H <return> for immediate help.
  l.158 \define at boolkey[psset]{pstricks-add}[P
  ? x
  Here is how much of TeX's memory you used:
  2340 strings out of 94500
  26920 string characters out of 1176769
  99244 words of memory out of 3500000
  5538 multiletter control sequences out of 10000+50000
  3940 words of font info for 15 fonts, out of 500000 for 2000
  580 hyphenation exceptions out of 1000
  28i,0n,40p,270b,46s stack positions out of 1500i,500n,5000p,200000b,5000s
  No pages of output.

Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20070906/c31f469f/attachment.html 

More information about the PSTricks mailing list