MiKTeX / miktex-packaging

the MiKTeX package factory
MIT License
19 stars 5 forks source link

PSTricks not working under latest MikTeX version #353

Closed AlgebraKati closed 1 year ago

AlgebraKati commented 1 year ago
mbertucci47 commented 1 year ago

Works fine for me with lualatex and latex->dvips->ps2pdf. Without something like auto-pst-pdf you can't use pstricks with pdflatex. If you have to use pdftex just add \usepackage{auto-pst-pdf} to your preamble and compile with pdflatex --shell-escape.

Also, current MiKTeX is 23.4. You have 23.1.

mbertucci47 commented 1 year ago

I'm sorry but pstricks never worked directly with pdflatex. See the red text at the top of the official pstricks webpage

u-fischer commented 1 year ago

According to your log-file you are using a local pstricks.sty and that makes it impossible to reproduce your error. Apart from this: miktex is not responsable for errors in pstricks, report them to the pstricks mailing list. And better don't use the standalone class in minimal examples, that is not a simple class and it makes debugging quite difficult. Always use the article.cls if possible.

u-fischer commented 1 year ago

Your log file didn't show that error. But it shows that you are using a local pstricks.sty, and a very old pstricks.tex:

C:\MiKTeX5\tex/latex/pstricks\pstricks.tex`PSTricks' v0.93a  <93/03/12> (tvz)

You also wrote that you manually changed various pstricks files. So basically your system is now in an unknown state. Uninstall pstricks, remove all local files and then reinstall it. If you still get errors send a bug report to the pstricks mailing list as they are the only one who can repair a pstricks error. Miktex only distributes the files.