Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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>
                \inaccessible
l.305 \end{frame}

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

 \begin{frame}
 \frametitle{Probabilistic Grammars}

 \textcolor{blue}{We treat them}

 \begin{equation}
    p
 \end{equation}

 \begin{itemize}
 \item defined over a support 
 \end{itemize}

 \textcolor{mygreen}{Example}
 \end{frame}

Any idea what could be the problem?

share|improve this question
3  
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
add comment

1 Answer

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
1  
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
add comment

Your Answer

 
discard

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.