3

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.
<to be read again> 
                   \par 
l.11

How do I fix this?

  • 1
    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
  • 1
    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? – Herbert Jan 7 at 18:58
4

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{}
5

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. – Herbert Jan 7 at 19:10
  • Sorry. Where is the horizontal 0 labels in my answer here? – God Must Be Crazy Jan 8 at 17:52

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.