1

I recently updated texlive to 2015 (at least, my texlive mangager shows 2015). I use \pgfversion to check, and it shows 2.10. Then I use texlive manager to update pgf, it looks that it works, I should update to 3.0.1a,

enter image description here

But I try \pgfversion again, still got 2.10 and the library which is supposed in pgf 3 doesn't work...

How to really update my pgf version ?

  • Welcome to TeX.SX! This question is very similar to How do I update my TeX distribution?. Please take a look at it as the information there might help you. If so, that's great, and we'll probably close this question as a duplicate just to keep the place tidy and to help people find answers quickly. If not, please edit your question here to explain why so that people can better focus their attention to help you. – JP-Ellis Feb 27 '16 at 1:41
  • 1
    Use kpsewhich or \listfiles to see if you have another copy somewhere e.g. if you have more than one distribution of TeX installed or stale files in your personal tree or whatever. – cfr Feb 27 '16 at 4:22
  • Thanks, @cfr, I found that I had another old copy of tikz in my user directory...You are kind of right. – zljt3216 Feb 27 '16 at 21:41
  • @JP-Ellis, I solved my problem. See the edited question. – zljt3216 Feb 27 '16 at 21:47
  • Please do not edit questions to include answers to them. The site works best when the answer space is used for answers and the question space for questions. If comments answer your question, you can ask one of those who commented to write an answer which you can accept. If you solve a problem independently, you can answer the question yourself. – cfr Feb 27 '16 at 21:52
1

I found that the problem was caused by another old copy of TikZ. Specifically, I installed TeXLive 2014 at C:\texlive, but there is a folder called C:\Users\<username>\texmf\tex\latex where I had put user-defined library or templates.

I think sometimes ago, when I first try to use TikZ, I downloaded the old TikZ there (because I didn't know TeXLive already included it). It seemed that this user path has higher priority than the installation one. After deleting TikZ in the user path, everything worked again.

So from this, my recommendation is that if you want to install some library, you'd better check TeXLive manager first. There might be already something you want, and you can just update there instead of downloading by yourself and cause some inconsistency problem like mine.

| improve this answer | |

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.