I get the following error while compiling and the pdf is also not generated properly:

ERROR: Package pgfkeys Error: I do not know the key '/tcb/library/most' and I am going to ignore it. Perhaps you misspelled it.

The code which I compiled is available here as the accepted answer: LaTeX errors in Formatting

I am using emacs for compilation.

  • 2
    May be you have to install/update tcolorbox
    – user11232
    Feb 21, 2014 at 14:07
  • 2
    If you use \tcbuselibrary{listings,breakable} instead of \tcbuselibrary{most} are you able to compile?
    – user11232
    Feb 21, 2014 at 14:09
  • Saw the comment just now sir, Yes I am able to compile now with this change \tcbuselibrary{listings,breakable}.Sorry for the late reply Feb 21, 2014 at 14:53

1 Answer 1


According to tcolorbox documentation:

enter image description here

It seems, tcolorbox is trying to load some libraries that aren't there in your system. As for this particular code, you need only listings and breakable library, you can try to load only them by


instead of \tcbuselibrary{most}.

But the better solution is to update the tcolorbox package to the newest version.

  • The last version of the folder tcolorbox (containing tcolorbox.sty) can be downloaded at ctan.org/pkg/tcolorbox and is put there (on a MAC) /Library/texmf/tex/latex.
    – SDrolet
    Apr 20, 2014 at 13:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .