1

Today I updated to the latest version of MiKTeX (2.9.6703, I was previously using an older version of MiKTeX 2.9) and now the pstricks package entirely prevents me from compiling a document when loaded using \usepackage{pstricks}. Thus, the code below produces fatal error messages, but commenting out \usepackage{pstricks} means the document compiles just fine.

\documentclass[a4paper,12pt]{article}
\usepackage[margin=1in]{geometry}
\usepackage[UKenglish]{babel}
\usepackage{libertine}
\usepackage{pstricks}
\begin{document}
Hello world!
\end{document}

I get 100 identical error messages saying:

! Text line contains an invalid character. l.1 ...@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@ ^^@^^@^^@^^@^^@^^@^^@^^@^^...

I get the same errors whether I use XeLaTeX, LuaLaTeX of pdfLaTeX.

Does anyone have any idea what's going on?

(Edit: This question was originally about pst-asr but it seems the problem is actually with pstricks, on which pst-asr is dependent.)

closed as off-topic by Sebastiano, Mensch, Alan Munn, Troy, Phelype Oleinik May 27 '18 at 23:51

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • This document compiles fine with XeLaTeX or latex + dvips. It won't compile properly with pdfLaTeX or LuaLaTeX although it shouldn't produce the error you show. I'm using TL2018. Try deleting the .aux files and recompiling with XeLaTeX. – Alan Munn May 27 '18 at 21:04
  • 1
    they are byte 0, ascii NULL so you have a corrupted file but it is impossible to say from the small fragment of log shown which file is bad – David Carlisle May 27 '18 at 21:42
  • Thanks! It looks like my installation of iftex was corrupted; un- and reinstalling has got rid of the error. – Miztli May 27 '18 at 22:00
  • 5
    I'm voting to close this question as solved in comments. – Sebastiano May 27 '18 at 22:20