# PSTricks: Newly introduced error in package

Consider the following MWE:

\documentclass{article}
\usepackage{pstricks}
\begin{document}
A
\end{document}


It produces the error

Runaway argument?
] {pgffor.code.tex}
! Paragraph ended before \ProvidesPackageRCS@i was complete.
\par
l.11


How do I fix this?

• The only way currently imho is to go back to an older pgf version until pstricks is fixed (I wrote the author already) – Ulrike Fischer Jan 7 at 17:42
• @UlrikeFischer Hi Ulrike. Thanks for the answer. Do you know where I can find an older version of PGF? :-) – Svend Tveskæg Jan 7 at 17:43
• You could try to replace in a local copy of pstricks.tex (you find it in tex/generic) \def\ProvidesPackageRCS{\@ifnextchar[\ProvidesPackageRCS@i{\ProvidesPackageRCS@i[] }}%$ by \def\ProvidesPackageRCS#1{} – Ulrike Fischer Jan 7 at 17:52 • @UlrikeFischer That did the trick. Thank you very much! – Svend Tveskæg Jan 7 at 18:05 • @UlrikeFischer: To whom do you send a bug report? – user2478 Jan 7 at 18:58 ## 3 Answers ## Update This fix is no longer needed in current tex systems. MikTeX users should keep in mind that they may have to run the updater in admin and user mode in case the involved packages reside in different trees of a multi-user installation. ## Old Answer Until pstricks has been adapted to the new pgf version you could try to replace in a local copy of pstricks.tex (you find it in tex/generic) \def\ProvidesPackageRCS{\@ifnextchar[\ProvidesPackageRCS@i{\ProvidesPackageRCS@i[] }}%$


by

\def\ProvidesPackageRCS#1{}

• Just to mention that the update has been available in MikTeX and TeX live for quite a while now. So an update of the system should fix things. MikTeX users should keep in mind that they may have to run the updater in admin and user mode in case the involved packages reside in different trees of a multi-user installation (cf. tex.stackexchange.com/q/108447/35864 and tex.stackexchange.com/q/55437/35864). – moewe Feb 20 at 6:41
• @moewe I have edited the answer. And I really hope that my feature request leads to something, I think we had (at least) five user/admin woes in the last three days. – Ulrike Fischer Feb 20 at 8:51

use pstricks.tex from http://archiv.dante.de/~herbert/texnik/tex/generic/pstricks/ or wait one or two days for the update. It has a slightly other solution.

• I didn't try to make a real solution - suppressing all message are naturally not right. – Ulrike Fischer Jan 7 at 19:04
• There is only a problem, if someone uses a development version of pstricks.tex and an old pgf. Later it will be the same as you already suggested. – user2478 Jan 7 at 19:10
• Sorry. Where is the horizontal 0 labels in my answer here? – Artificial Odorless Armpit Jan 8 at 17:52

For texlive-pstricks in MacPorts, it worked to uninstall and deactivate pgf and then install pgf-devel (on 2019-03-15).