# Is there a way to fix a compability issue with beamer?

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}

$$p$$

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

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

Any idea what could be the problem?

-
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