MiKTeX and proTeXtInstalling tkz-graph MiKTeX

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
Post Reply
eglucon
Posts: 11
Joined: Fri Jan 16, 2009 7:13 am

Installing tkz-graph MiKTeX

Post by eglucon »

I use the MiKTeX 2.7 distribution and I want to install the tkz-graph.sty package developed by Alain Matthes, which allows to draw combinatorial graphs. I already know that MiKTeX has the ability to install missing packages automatically if my computer is connected to the Internet. However, when I run the .tex file in the TeXnicCenter, it displays the error "!LaTeX Error: File ´tkz-graph.sty' not found."
My question is: Why MiKTeX does not install the package automatically?
If is the case that MiKTeX can't install tkz-graph automatically, what are the options that I have to install this package in my computer and use it through MiKTeX and TeXnicCenter?

Thank you very much.

Regards,

Eglucon

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Installing tkz-graph MiKTeX

Post by gmedina »

Hi,
eglucon wrote:...My question is: Why MiKTeX does not install the package automatically?..
Because the package is not on CTAN.
eglucon wrote:...If is the case that MiKTeX can't install tkz-graph automatically, what are the options that I have to install this package in my computer and use it through MiKTeX and TeXnicCenter?..
Page 5 of the package documentation contains instructions (in French) for manual installation: basically, copy the .sty files in a place where TeX can find them and refresh the filename database.

Pay special attention to this remark:
package documentation wrote:...Vérifier que xkeyval >= 2.5, ifthen, et tikz 2.0 sont installés car ils sont obligatoires, pour le bon fonctionnement de tkz-graph.sty et tkz-berge.sty.
Something like "Check that the packages xkeyval >= 2.5, ifthen and tikz 2.0 are installed, since thay are mandatory for tkz-graph.sty and tkz-berge.sty to work properly".

So, if your version of xkeyval is <2.5 then probably the tkz-graph package won't work in your system. You should anyway consider uninstalling MiKTeX2.7 and installing MiKTeX2.8
1,1,2,3,5,8,13,21,34,55,89,144,233,...
eglucon
Posts: 11
Joined: Fri Jan 16, 2009 7:13 am

Re: Installing tkz-graph MiKTeX

Post by eglucon »

Thank you very much
Post Reply