[Tex/LaTex] Using PGF/TikZ 3.0 on mac

installingmactextexlivetikz-pgf

Today I updated my MacTeX/texlive distribution and I have finally PGF/TikZ version 3.0.0!! However, after using the 2.10-CVS version as described in this answer for a long while, I want to make sure that I know how to revert to the global installation so I could use the newer version. I guess I have to delete the relevant directories as described in the answer. And then what? Is it enough?

Best Answer

Here is how I proceed to use PGF 2.1 cvs or PGF 3.0 and my personal packages with OS X 10.9 and TeX Live 2013.

pgf and my packages are in /usr/local/texlive ... I created a texmf folder in ~/library and then I placed the different PGF folders in ~/library/texmf/tex. If I update my packages I place them in ~/library/texmf/tex/latex.

Normally, with a standard distribution, TeX searches firstly inside ~/library/texmf and then in the others paths.

If you want to stop to use PGF 3.0 it's enough to zip the different PGF folders and to place the PGF 3.0 folders in the trash.

Now with the last TeX Live, you have nothing to do (no texhash, etc.).

Another possibility is to place PGF 3.0 or a special package inside a folder with the document that you want to compile. In this case the files inside this folder are used.

Remark: If you want to use again PGF 3.0, the only thing to is to expand the zip files.

Related Question