0

Recently I allowed Windows 10 to perform a major update. But now there seems to be a problem with the MiKTeX automatic package installer. E.g. I want to use package skak. So I include

\usepackage{skak} 

and start pdflatex. Then that dramatic orange box:

Do you want to allow this app from an unknown publisher to make changes to your device? MiKTeX Package Manager.

So I click YES. Then in the PDFLaTeX console:

! LaTeX Error: File `skak.sty' not found.
Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: sty)

All I can do now is hit RETURN. Compilation continues with the now expected undefined control sequences. After the last one the dreaded window pops up

pdflatex.exe has stopped working ... 
  • 4
    Welcome to TeX SX! As a workaround, can you install the package with MiKTeX Package Manager (Admin, preferably)? – Bernard Jun 4 '17 at 13:45
  • There is an option to enable/disable on-the-fly installation, check what is written in MiKTeX Settings -> General -> Package installation that this is suitably enabled. Also might be worth synchronising the repository in MiKTEX Package Manager -> Repository -> Synchronize. – Dai Bowen Jun 4 '17 at 13:53
  • Here is a related article. – Enrico Maria De Angelis Jun 4 '17 at 14:44
  • Belatedly: you might try completely uninstalling MikTEX and reinstalling the latest version. Something changed about the way the package manager works at some point in 2017, and this fixed the issue for me (running the update wizard did not). It probably has nothing to do with Win 10. – helveticat Feb 24 '18 at 15:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.