MikTeX on the command line automatically installs missing packages, but when I run latex via TeXMaker, it does not. How can I achieve that?

  • 1
    oops - it doesn't on the command line either... Jun 4, 2012 at 14:44
  • 1
    Have you checked the MikTeX settings, whether it is set to install packages on-the-fly? Jun 4, 2012 at 14:58
  • 1
    yes,I installed it that way, and I have verified it in the MikTex options: Install missing packages on-the-fly: Yes (I'm not familiar with MikTeX, normally I'm on Linux) Jun 4, 2012 at 15:31
  • 3
    not answering your question but: I always install all packages after installing miktex just to avoid issues like you mentioned above. using the package manager this takes maybe a few hours and around 1-2gb disk space but was always worth the afford while working with huge documents later...
    – q9f
    Jun 4, 2012 at 15:50
  • 1

1 Answer 1


Normally TeXMaker has no problems with package installation on the fly.

First setup MikTeX to allow this feature:

after this see

  • 3
    Very general and does not solve the problem at all.
    – Johu
    Jan 9, 2017 at 7:09

Your Answer

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

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