TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
oops - it doesn't on the command line either... – Wybo Dekker Jun 4 '12 at 14:44
Have you checked the MikTeX settings, whether it is set to install packages on-the-fly? – Torbjørn T. Jun 4 '12 at 14:58
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) – Wybo Dekker Jun 4 '12 at 15:31
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... – 5chdn Jun 4 '12 at 15:50

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

First setup MikTeX to allow this feature:

after this see

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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