[Tex/LaTex] Repeatedly being stymied by missing packages using Texmaker


Ok, so I started using Texmaker to make PDF files, and I am being repeatedly stymied by missing packages. (Windows 7 OS here).

Apparently, there is supposed to be a way for them to be downloaded automatically, but this does not seem to be the case for me. I have tried googling around for how to make it automatically add packages but I cannot seem to find anything, and the terminology is very, very confusing. Yes it is using MikTeX. Yes, I am using Texmaker.

Currently just adding the {mcode} package has become a full day project. Why is this so hard? How do I go about making Texmaker just download whatever package it needs?

enter image description here

Best Answer

The mcode package does not form part of any distribution and therefore requires manual installation. Download mcode and put the .sty where TeX can find it and recompile.