Ärger mit der Miktex-Version 2.8
Verfasst: Mo 27. Sep 2010, 20:56
Hallo, melde mich mal ganz zuversichtlich, da ja schon ähnliche Beiträge im Forum stehen:
Ich arbeite z.Zt. an zwei versch. Computern. Am ersten ist Miktex 2.7 (mit TexnicCenter) installiert, am zweiten Miktex2.8 (mit TexnicCenter).
Folgender Code liefert jedoch nur in der 2.7 - Version eine schöne Ausgabe:
\documentclass[10pt]{article}
\usepackage{pstricks-add}
\pagestyle{empty}
\begin{document}
\psset{xunit=1.0cm,yunit=1.0cm,algebraic=true,dotstyle=o,dotsize=3pt 0,linewidth=0.8pt,arrowsize=3pt 2,arrowinset=0.25}
\begin{pspicture*}(-4.3,-3.9)(8.42,6.3)
\psaxes[labelFontSize=\scriptstyle,xAxis=true,yAxis=true,Dx=1,Dy=1,ticksize=-2pt 0,subticks=2]{->}(0,0)(-4.3,-3.9)(8.42,6.3)
\psplot[plotpoints=200]{-4.3}{8.42}{SIN(8*3.41*x)}
\psplot[plotpoints=200]{-4.3}{8.42}{COS(0.5*3.41*x)+1}
\rput[bl](-4.2,-1.1){$f$}
\rput[bl](-4.2,1.66){$g$}
\end{pspicture*}
Zwei Funktionen\\
\end{document}
Der Code kommt mehr oder weniger direkt aus Geogebra.
Lasse ich die selbe Datei unter Miktex 2.8 kompilieren, so erhalte ich folgende Fehlermeldung -
Wer kennt das Problem und kann mir helfen?
Ich arbeite z.Zt. an zwei versch. Computern. Am ersten ist Miktex 2.7 (mit TexnicCenter) installiert, am zweiten Miktex2.8 (mit TexnicCenter).
Folgender Code liefert jedoch nur in der 2.7 - Version eine schöne Ausgabe:
\documentclass[10pt]{article}
\usepackage{pstricks-add}
\pagestyle{empty}
\begin{document}
\psset{xunit=1.0cm,yunit=1.0cm,algebraic=true,dotstyle=o,dotsize=3pt 0,linewidth=0.8pt,arrowsize=3pt 2,arrowinset=0.25}
\begin{pspicture*}(-4.3,-3.9)(8.42,6.3)
\psaxes[labelFontSize=\scriptstyle,xAxis=true,yAxis=true,Dx=1,Dy=1,ticksize=-2pt 0,subticks=2]{->}(0,0)(-4.3,-3.9)(8.42,6.3)
\psplot[plotpoints=200]{-4.3}{8.42}{SIN(8*3.41*x)}
\psplot[plotpoints=200]{-4.3}{8.42}{COS(0.5*3.41*x)+1}
\rput[bl](-4.2,-1.1){$f$}
\rput[bl](-4.2,1.66){$g$}
\end{pspicture*}
Zwei Funktionen\\
\end{document}
Der Code kommt mehr oder weniger direkt aus Geogebra.
Lasse ich die selbe Datei unter Miktex 2.8 kompilieren, so erhalte ich folgende Fehlermeldung -
This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8) (preloaded format=latex 2010.9.27) 27 SEP 2010 20:44 entering extended mode **LaTeX1.tex (F:\LaTeX1.tex LaTeX2e <2009/09/24> Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge rman, ngerman, german-x-2009-06-19, ngerman-x-2009-06-19, french, loaded. ("C:\Program Files\MiKTeX 2.8\tex\latex\base\article.cls" Document Class: article 2007/10/19 v1.4h Standard LaTeX document class ("C:\Program Files\MiKTeX 2.8\tex\latex\base\size10.clo" File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option) ) \c@part=\count79 \c@section=\count80 \c@subsection=\count81 \c@subsubsection=\count82 \c@paragraph=\count83 \c@subparagraph=\count84 \c@figure=\count85 \c@table=\count86 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) (C:\Users\jox\AppData\Roaming\MiKTeX\2.8\tex\latex\pstricks-add\pstricks-add.st y ("C:\Program Files\MiKTeX 2.8\tex\latex\pstricks\pstricks.sty" Package: pstricks 2010/03/20 v0.43 LaTeX wrapper for `PSTricks' (RN,HV) ("C:\Program Files\MiKTeX 2.8\tex\generic\pstricks\pstricks.tex" ("C:\Program Files\MiKTeX 2.8\tex\generic\xkeyval\pst-xkey.tex" File: pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA) ("C:\Program Files\MiKTeX 2.8\tex\latex\xkeyval\xkeyval.sty" Package: xkeyval 2008/08/13 v2.6a package option processing (HA) ("C:\Program Files\MiKTeX 2.8\tex\generic\xkeyval\xkeyval.tex" \XKV@toks=\toks14 \XKV@tempa@toks=\toks15 \XKV@depth=\count87 File: xkeyval.tex 2008/08/13 v2.6a key=value parser (HA) ("C:\Program Files\MiKTeX 2.8\tex\generic\xkeyval\keyval.tex")))) ("C:\Program Files\MiKTeX 2.8\tex\generic\pstricks\pst-fp.tex" `pst-fp' v0.05, 2010/01/17 (hv) \pstFP@xs=\count88 \pstFP@xia=\count89 \pstFP@xib=\count90 \pstFP@xfa=\count91 \pstFP@xfb=\count92 \pstFP@rega=\count93 \pstFP@regb=\count94 \pstFP@regs=\count95 \pstFP@times=\count96 ) \psLoopIndex=\count97 `PSTricks' v2.02 <2010/02/23> (tvz) \pst@dima=\dimen103 \pst@dimb=\dimen104 \pst@dimc=\dimen105 \pst@dimd=\dimen106 \pst@dimg=\dimen107 \pst@dimh=\dimen108 \pst@dimm=\dimen109 \pst@dimn=\dimen110 \pst@dimo=\dimen111 \pst@dimp=\dimen112 \pst@hbox=\box26 \pst@boxg=\box27 \pst@cnta=\count98 \pst@cntb=\count99 \pst@cntc=\count100 \pst@cntd=\count101 \pst@cntg=\count102 \pst@cnth=\count103 \pst@cntm=\count104 \pst@cntn=\count105 \pst@cnto=\count106 \pst@cntp=\count107 \@zero=\count108 \pst@toks=\toks16 ("C:\Program Files\MiKTeX 2.8\tex\generic\pstricks\pstricks.con") \psunit=\dimen113 \psxunit=\dimen114 \psyunit=\dimen115 \pslinewidth=\dimen116 \pst@customdefs=\toks17 \pslinearc=\dimen117 \pst@symbolStep=\dimen118 \pst@symbolWidth=\dimen119 \everypsbox=\toks18 \psframesep=\dimen120 \pslabelsep=\dimen121 \pst@shift=\dimen122 \theoverlaybox=\box28 ) File: pstricks.tex 2010/02/23 v2.02 `PSTricks' (tvz,hv) File: pst-fp.tex 2010/01/17 v0.05 `pst-fp' (hv) (C:\Users\jox\AppData\Roaming\MiKTeX\2.8\tex\latex\xcolor\xcolor.sty Package: xcolor 2007/01/21 v2.11 LaTeX color extensions (UK) ("C:\Program Files\MiKTeX 2.8\tex\latex\00miktex\color.cfg" File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive ) Package xcolor Info: Driver file: dvips.def on input line 225. ("C:\Program Files\MiKTeX 2.8\tex\latex\graphics\dvips.def" File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR) ) Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1337. Package xcolor Info: Model `RGB' extended on input line 1353. Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1355. Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1356. Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1357. Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1358. Package xcolor Info: Model `Gray' substituted by `gray' on input line 1359. Package xcolor Info: Model `wave' substituted by `hsb' on input line 1360. )) Package: pstricks-add 2010/02/11 v. 0.14 package wrapper for pstricks-add.tex ( hv) (C:\Users\jox\AppData\Roaming\MiKTeX\2.8\tex\generic\pstricks-add\pstricks-add. tex (C:\Users\jox\AppData\Roaming\MiKTeX\2.8\tex\generic\pst-plot\pst-plot.tex (C:\Users\jox\AppData\Roaming\MiKTeX\2.8\tex\generic\multido\multido.tex v1.42, 2010/05/14 <tvz> \multido@count=\count109 \multidocount=\count110 \multido@stuff=\toks19 ) v1.20, 2010/09/09 (tvz,hv) \pstRadUnit=\dimen123 \pstRadUnitInv=\dimen124 \pst@linecnt=\count111 \psk@subticksize=\dimen125 \pst@xticksizeA=\dimen126 \pst@xticksizeB=\dimen127 \pst@xticksizeC=\dimen128 \pst@yticksizeA=\dimen129 \pst@yticksizeB=\dimen130 \pst@yticksizeC=\dimen131 \@digitcounter=\count112 \psk@llx=\dimen132 \psk@lly=\dimen133 \psk@urx=\dimen134 \psk@ury=\dimen135 \pst@xunit=\dimen136 \pst@yunit=\dimen137 ) (C:\Users\jox\AppData\Roaming\MiKTeX\2.8\tex\generic\pst-node\pst-node.tex v1.13, 2010/06/06 \psrow=\count113 \pscol=\count114 \psmatrixcnt=\count115 \psrowsep=\skip43 \pscolsep=\skip44 \pst@args=\count116 \num@pts=\count117 \pst@argcnt=\count118 ) (C:\Users\jox\AppData\Roaming\MiKTeX\2.8\tex\generic\pst-3d\pst-3d.tex `PST-3d' v1.11, 2010/02/14 (tvz)) (C:\Users\jox\AppData\Roaming\MiKTeX\2.8\tex\generic\pst-math\pst-math.tex `pst-math' v0.23 , (CJ,hv)) `pstricks-add' v3.44, 2010/08/28 (dr,hv) \pshooklength=\dimen138 \pshookwidth=\dimen139 \pst@cntC=\count119 \chart@ColorIndex=\dimen140 \chart@ColorStep=\dimen141 \pst@chartHeight=\dimen142 \pst@chartStackDepth=\dimen143 \pst@chartStackWidth=\dimen144 \chart@Toggle=\count120 ) File: pstricks-add.tex 2010/08/28 v3.44 `PSTricks-add' (hv) ) No file LaTeX1.aux. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: External font `cmex10' loaded for size (Font) <7> on input line 8. LaTeX Font Info: External font `cmex10' loaded for size (Font) <5> on input line 8. ! Undefined control sequence. \endqp@line ->\ifPst@variableLW \addto@pscode { \pst@flattenpath }\fi \end@O... l.8 ...[plotpoints=200]{-4.3}{8.42}{SIN(8*3.41*x)} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! Undefined control sequence. <argument> \pst@flattenpath l.8 ...[plotpoints=200]{-4.3}{8.42}{SIN(8*3.41*x)} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! Extra \else. \psplot@x ...splotstyle }\if@pst \psplot@ii \else \psplot@iii \fi \endgroup ... l.8 ...[plotpoints=200]{-4.3}{8.42}{SIN(8*3.41*x)} I'm ignoring this; it doesn't match any \if. ! Extra \fi. \psplot@x ...pst \psplot@ii \else \psplot@iii \fi \endgroup \ignorespaces l.8 ...[plotpoints=200]{-4.3}{8.42}{SIN(8*3.41*x)} I'm ignoring this; it doesn't match any \if. ! Undefined control sequence. \endqp@line ->\ifPst@variableLW \addto@pscode { \pst@flattenpath }\fi \end@O... l.9 ...tpoints=200]{-4.3}{8.42}{COS(0.5*3.41*x)+1} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! Undefined control sequence. <argument> \pst@flattenpath l.9 ...tpoints=200]{-4.3}{8.42}{COS(0.5*3.41*x)+1} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! Extra \else. \psplot@x ...splotstyle }\if@pst \psplot@ii \else \psplot@iii \fi \endgroup ... l.9 ...tpoints=200]{-4.3}{8.42}{COS(0.5*3.41*x)+1} I'm ignoring this; it doesn't match any \if. ! Extra \fi. \psplot@x ...pst \psplot@ii \else \psplot@iii \fi \endgroup \ignorespaces l.9 ...tpoints=200]{-4.3}{8.42}{COS(0.5*3.41*x)+1} I'm ignoring this; it doesn't match any \if. ! Missing } inserted. <inserted text> } l.9 ...tpoints=200]{-4.3}{8.42}{COS(0.5*3.41*x)+1} I've inserted something that you may have forgotten. (See the <inserted text> above.) With luck, this will get me unwedged. But if you really didn't forget anything, try typing `2' now; then my insertion and my current dilemma will both disappear. ! Too many }'s. \endpspicture ->\pst@killglue \endgroup \egroup \ifdim \wd \pst@hbox =\z@ \e... l.12 \end{pspicture*} You've closed more groups than you opened. Such booboos are generally harmless, so keep going. ! Extra \endgroup. \endpspicture ...vevmode \box \pst@hbox \endgroup \psset [pstricks]{shift=0} l.12 \end{pspicture*} Things are pretty mixed up, but I think the worst is over. ! LaTeX Error: \begin{document} ended by \end{pspicture*}. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.12 \end{pspicture*} Your command was ignored. Type I <command> <return> to replace it with another command, or <return> to continue without it. ! Extra \endgroup. <recently read> \endgroup l.12 \end{pspicture*} Things are pretty mixed up, but I think the worst is over. Underfull \hbox (badness 10000) in paragraph at lines 14--15 [] [1 ] (F:\LaTeX1.aux) ) Here is how much of TeX's memory you used: 3775 strings out of 495286 54561 string characters out of 3180423 170313 words of memory out of 3000000 6995 multiletter control sequences out of 15000+200000 3640 words of font info for 14 fonts, out of 3000000 for 9000 14 hyphenation exceptions out of 8191 39i,5n,51p,617b,340s stack positions out of 5000i,500n,10000p,200000b,50000s Output written on LaTeX1.dvi (1 page, 812 bytes).