I tried to fix my problem with dotsymbols in pstricks (see my question) and end up with an update of several packages in miktex. Now (after update) pstricks stops working. I get the following error:
(C:\Users\flenk1\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/utilities\pgfkeysfi
ltered.code.tex
\pgfkeys@tmptoks=\toks20
))
(C:\Users\flenk1\AppData\Roaming\MiKTeX\2.9\tex/generic/pgf/utilities\pgffor.co
de.tex
Loading [
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.10 \ProvidesPackageRCS[v
\pgfversion] $Header: /cvsroot/pgf/pgf/generic/pgf...
? x
I tried the following compile commands:
C:\Program Files\MiKTeX 2.9\miktex\bin\x64\latex.exe
C:\Program Files\MiKTeX 2.9\miktex\bin\x64\xelatex.exe
C:\Program Files\MiKTeX 2.9\miktex\bin\x64\pdflatex.exe
C:\Program Files\MiKTeX 2.9\miktex\bin\x64\lualatex.exe
but all end up with the same error. Even after a complete reinstallation of miktex the same error remains.
My Minimum example is really minimal:
\documentclass{scrartcl}
\usepackage{pstricks}
\begin{document}
This is a test
\end{document}
Is there a possibility to switch back to an older version of pstricks or pgf? Most of my files use pstricks, so for me this error is catastrophic.
Thanks for any help.
pgfis installed as a user. Ifpstricksis installed as admin that could explain package incompatibilities. If you are using a multi-user installation and have packages installed both as user and as admin it is crucial to run the updater in both modes to avoid package version mismatches like these. (That is one of the reasons why people usually recommend single-user installs: You don't have that issue there.) – moewe Feb 18 '19 at 11:07