I'm running Elementary OS (which is a fork of Ubuntu 12.04), and am having troubles getting a LaTeX installation to work.

Code that worked on my old installation on Windows, doesn't appear to work here.

In particular the below code causes an undefined control sequence error:

    \coordinate (A) at (0,0);
    \coordinate (B) at (.4,1.5);
    \coordinate (C) at (1.5,0);

    \draw (A) node [left]{$A$} -- (C) node[right]{$C$}node[midway,below]{$b$} -- (B) node[above]{$B$}node[midway,right]{$a$} -- cycle node[midway,left]{$c$};

Commenting out the \draw gets rid of the error. I attempted to use the command in other variations, which worked fine, however the cycle keyword caused the error.

The error is as below:

[3] [4] [5]
! Undefined control sequence.
\tikz@node@transformations ...@anchor \tikz@timer 
                                              \fi \tikz@transform 
l.461 }

I've installed the texlive-full package (and have even attempted to install pgf with seemingly no difference) and am attempting to compile using pdflatex filename.tex.

If you need any more information, I'd be happy to provide it.

  • Ubuntu 12.04 is likely to have an extremely outdated version of tikz, but you can check by adding \listfiles to your document and looking at the .log. – jon May 29 '15 at 18:27
  • Thanks for replying, @jon. You appear to be right. I'm running v2.10 released on 2010/10/13. Do you know a ppa I can use to get a newer version? – miestasmia May 29 '15 at 18:32
  • Sorry, no. I think you're better off installing the .tds.zip from its sourceforge page. They are designed for easy install: just unzip at the root of your texmf tree. – jon May 29 '15 at 18:35
  • 1
    I'm gonna sound dumb now, but what exactly is a texmf tree? I've never had to install things manually before. – miestasmia May 29 '15 at 18:38
  • Or install Vanilla TeX Live directly from TUG. For many Linux users the best choice. – Johannes_B May 29 '15 at 18:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.