Graphics, Figures & Tables ⇒ how to install latest tikz build to miktex in windows?
how to install latest tikz build to miktex in windows?
I have been trying to do this for a day now and all I could get is screwing up my miktex installation on my laptop. I read the tikz/pgf manual for cvs-2.0 version. So I downloaded the latest build. The zip file contains several directories: generic, plain, latex, etc. So I copied those to my miktex directories. For example, the generic files were copied to: C:\Program Files\MiKTeX 2.7\tex\generic\pgf\ and the old files were replaced. After I did this, I used TeXnicCenter to compile my code and it was complaining that the file 'pgfkeysfiltered.code.tex' was not found. But I could see that it was in the directory: C:\Program Files\MiKTeX 2.7\tex\generic\pgf\utilities\. From there I don't remember what I did but the miktex installation was corrupted somehow.
The latest package I could get using miktex update was from early 2008 for the pgf package. And there are some new commands that I need to use from the later builds.
Could someone please help me solve this issue? Thanks.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: how to install latest tikz build to miktex in windows?
1) It's usually considered a bad idea to add anything to the MiKTeX managed directory.
2) TeX uses a database to find files, it doesn't search through the tree every time.
I'd normally created a local folder for self-installed items (otherwise MiKTeX might overwrite them next time you update). So in your home directory (C:\Documents and Settings\<username> on WinXP or C:\Users\<username> on Vista/Win7), create a root folder (usually "texmf"), then the structure inside it:
texmf\tex\generic\pgf\
texmf\tex\generic\pgf\pgfutilies
and so on. Put the files in the appropriate places, then run the MiKTeX Settings program. One of the tabs is labelled Roots. You need to add your new root (C:\<whatever>\texmf) to the list, move it *above* the existing one using the "up" button, then click OK. MiKTeX will now refresh its database, and find the files. Next time you add something, you only need to update the database (there is a Refresh FNDB button on General tab).
Re: how to install latest tikz build to miktex in windows?
So what could be causing the problem?
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
how to install latest tikz build to miktex in windows?
Best regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10