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

I compile a beamer presentation on my Mac, and everything works well, I get what I expect.

However, when I try it on a linux machine, I get the following error:

! Missing control sequence inserted.
<inserted text>
l.305 \end{frame}

Here is the frame around that line (i.e. that ends in line 305):

 \frametitle{Probabilistic Grammars}

 \textcolor{blue}{We treat them}


 \item defined over a support 


Any idea what could be the problem?

share|improve this question
Please provide full minimal examples. I also use Linux with TexLive 2011 and I get no errors if I define mygreen. – Marco Daniel Sep 24 '11 at 17:32

Put \listfiles and \batchmode into the preamble of your document, run pdflatex or whatever and then compare the file list which can be found at the end of the logfile.

share|improve this answer
uh... it seems like \usepackage{enumitem} causes the problem. when I remove the mention of that package and remove all commands that use it, it seems to compile fine. any solutions to that? – kloop Sep 24 '11 at 18:16
then you have on one computer an old version. Compare the version numbers and install the latest one. – Herbert Sep 24 '11 at 19:01
The enumitem.sty currently in TeX Live 2011 is v3.5.1, the version currently provided by Synaptic (for Ubuntu 11.04) is v2.2. If this is the linux distribution you are using and the version difference accounts for your problem then installing TeX Live 2011 on the linux machine would be the best way forward. – mas Sep 25 '11 at 11:42

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.