Tell me more ×
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'm having trouble using memoir and tkz-berge at the same time.

If I use:

\documentclass{article}
\usepackage{tkz-berge}

\begin{document}
Hello world
\end{document}

I can compile without a single error. If instead I use:

\documentclass{memoir}
\usepackage{tkz-berge}

\begin{document}
Hello world
\end{document}

I get 63 errors, all of them of the form Missing \endcsname inserted or Extra \endcsname.

I'm using TeX Live 2011 and memoir v3.6j. Thoughts?

UPDATE: I get similar errors if I load tikz rather than tkz-berge.

share|improve this question
2  
Your code with memoir compiles without errors in my system (TeX Live2011 (just updated) and same memoir version as yours). Have you tried updating your system through tlmgr? – Gonzalo Medina Oct 20 '11 at 2:11
1  
Both documents compile without errors on my system (TL 2011). My suspicion is that you have an old version of something (possibly pgf) in your local texmf folder that is messing things up. Can you verify from the log that all the packages are being loaded from /usr/local/texlive/2011 and not somewhere else? – Alan Munn Oct 20 '11 at 2:13
You can find out which version of the files you're using by adding \listfiles immediately before your \begin{document}. You can update using tlmgr update --self --all – cmhughes Oct 20 '11 at 2:36
No problem with memoir ! – Alain Matthes Oct 20 '11 at 2:38
1  
I had thought of that, so I checked for local copies of pgf, tikz, etc. Nothing. It turns out the culprit was an old copy of color inside my local texmf tree. D'oh. Thanks! – apc Oct 20 '11 at 2:52

closed as too localized by Alan Munn, Gonzalo Medina, Joseph Wright Oct 20 '11 at 5:44

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.