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 used to be able to compile the following LaTeX:

\documentclass{article}

\usepackage{tikz}
%\usetikzlibrary{arrows,backgrounds,plotmarks} % even simpler

\begin{document}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. 
\end{document}

However, I noticed I was using tikz 1.68, so I have tried to update tikz to version 2.1. Now, this example won't work, the error is:

! Undefined control sequence.
l.875 \pgfsetsnakesegmenttransformation
{\pgf@snake@mirror\pgf@snake@raise}

In order to update tikz, I downloaded pgf as a pgf_2.10.tds.zip file, extracted it in /usr/share/texmf/, replaced the old files, and ran texhash.

What went wrong?

share|improve this question
    
The error arises with the simple example above. Just \usepackage{tikz} triggers the error. –  Wok Jun 13 '12 at 9:08
1  
Oh, sorry, I misunderstood. Then indeed, there is an installation issue. –  percusse Jun 13 '12 at 9:09

1 Answer 1

up vote 2 down vote accepted

My mistake was not to remove the old directory before installing the new version.

> diff -r /user/wok/home/Downloads/pgf/tex/generic/ /usr/share/texmf/tex/generic/

Only in /usr/share/texmf/tex/generic/pgf/basiclayer: pgfbaseimage.code.tex
Only in /usr/share/texmf/tex/generic/pgf/basiclayer: pgfbaselayers.code.tex
Only in /usr/share/texmf/tex/generic/pgf/basiclayer: pgfbasepatterns.code.tex
Only in /usr/share/texmf/tex/generic/pgf/basiclayer: pgfbaseplot.code.tex
Only in /usr/share/texmf/tex/generic/pgf/basiclayer: pgfbaseshapes.code.tex
Only in /usr/share/texmf/tex/generic/pgf/basiclayer: pgfbasesnakes.code.tex
Only in /usr/share/texmf/tex/generic/pgf/basiclayer: pgfcoremath.code.tex
Only in /usr/share/texmf/tex/generic/pgf/frontendlayer: tikz.code.tex
Only in /usr/share/texmf/tex/generic/pgf/libraries: pgflibraryshapes.code.tex
Only in /usr/share/texmf/tex/generic/pgf/libraries: pgflibrarytikz3d.code.tex
Only in /usr/share/texmf/tex/generic/pgf/libraries: pgflibrarytikzarrows.code.tex
Only in /usr/share/texmf/tex/generic/pgf/libraries: pgflibrarytikzautomata.code.tex
Only in /usr/share/texmf/tex/generic/pgf/libraries: pgflibrarytikzbackgrounds.code.tex
Only in /usr/share/texmf/tex/generic/pgf/libraries: pgflibrarytikzer.code.tex
Only in /usr/share/texmf/tex/generic/pgf/libraries: pgflibrarytikzmindmap.code.tex
Only in /usr/share/texmf/tex/generic/pgf/libraries: pgflibrarytikzpatterns.code.tex
Only in /usr/share/texmf/tex/generic/pgf/libraries: pgflibrarytikzpetri.code.tex
Only in /usr/share/texmf/tex/generic/pgf/libraries: pgflibrarytikzplothandlers.code.tex
Only in /usr/share/texmf/tex/generic/pgf/libraries: pgflibrarytikzplotmarks.code.tex
Only in /usr/share/texmf/tex/generic/pgf/libraries: pgflibrarytikzshapes.code.tex
Only in /usr/share/texmf/tex/generic/pgf/libraries: pgflibrarytikzsnakes.code.tex
Only in /usr/share/texmf/tex/generic/pgf/libraries: pgflibrarytikztopaths.code.tex
Only in /usr/share/texmf/tex/generic/pgf/libraries: pgflibrarytikztrees.code.tex
share|improve this answer

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.