Featured Book

LaTeX Beginners Guide

Who is online

In total there are 8 users online :: 0 registered, 0 hidden and 8 guests (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: No registered users and 8 guests

Partner Sites

TeXwelt - Fragen und Antworten goLaTeX
TeXblog
TeXnicCenter
TeXample

how to install latest tikz build to miktex in windows?

Add tags Information and discussion about graphics, figures & tables in LaTeX documents.

how to install latest tikz build to miktex in windows?

Postby fenghedo on Mon Aug 17th, 2009

Hi all,

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.
fenghedo
 
Posts: 19
Joined: Sat Oct 4th, 2008

Re: how to install latest tikz build to miktex in windows?

Postby josephwright on Mon Aug 17th, 2009

A few things:
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).
Joseph Wright
josephwright
Site Moderator
 
Posts: 802
Joined: Tue Jul 1st, 2008

Re: how to install latest tikz build to miktex in windows?

Postby fenghedo on Mon Aug 17th, 2009

Thanks Joe for answering my question. However, after I did the above and tried to compile my project, errors popped up saying "Incompatible list can't be unboxed". I googled this error and some people say that it was caused by hyperref. So I removed hyperref from my document. But still the same error happens. On the other hand, if I remove the texmf directory from the root list, then I can compile it again (with the old version of course).

So what could be causing the problem?
fenghedo
 
Posts: 19
Joined: Sat Oct 4th, 2008

Re: how to install latest tikz build to miktex in windows?

Postby localghost on Sun Aug 30th, 2009

The reason why there hasn't been released a new version of pgf/tikZ is that the current development versions are too unstable. You may post the behaviour you discovered on the mailing list of the project.


Best regards
Thorsten
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 13.1 (Linux 3.11.10), TeX Live 2013 (vanilla), TeXworks 0.5 (r1351)
² Posting stopped indefinitely due to offenses
User avatar
localghost
Site Moderator
 
Posts: 9219
Joined: Fri Feb 2nd, 2007
Location: Braunschweig, Germany


Return to Graphics, Figures & Tables

Who is online

Users browsing this forum: No registered users and 8 guests