I have TeXLive 2011 distribution on my Windows 7. I haven't updated it before. I downloaded it as an iso file. Anyway, I tried to use the mdframed package in an example document like below:




But I got the message:

! Undefined control sequence. 

As I've asked it means possibly my mdframed package is not updated.
What should I do? I need to use the mdframed package.

  • 1
    May be tex.stackexchange.com/a/55493/11232 is useful! – user11232 Nov 27 '12 at 14:51
  • I have even tried this program but I don't think I need to update all the packages, do I? – Milad O. Nov 27 '12 at 14:56
  • 1
    I don't think so. May be it is possible to update only one package (I am not sure as I don't use texlive). But it is better to update every thing as an insurance policy :-) – user11232 Nov 27 '12 at 15:04
  • 1
    Or you can just download the TeXLive 2012 iso if re-installation is an option – hpesoj626 Nov 27 '12 at 15:11

You cannot update TeX Live 2011 since all mirrors are set to update the 2012 version of TeX Live. There is unfortunately not enough man power to support more than one TeX Live.

I suggest you install TeX Live 2012 but be aware that there is also no upgrade routine from the 2011 edition to TeX Live 2012.

Alternatively you might manually update the mdframed package but as it might require other packages to be updated installing TeX Live 2012 might be the easier solution.


To update just one package (mdframed in your case) of the TeX Live, use the following command:

tlmgr update mdframed

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.