MiKTeX and proTeXtcannot find installed .sty

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
Post Reply
CoolnessItself
Posts: 47
Joined: Wed Nov 11, 2009 9:30 pm

cannot find installed .sty

Post by CoolnessItself »

I'm trying to install tkz-graph.sty. I navigate to C:\Program Files\MiKTeX 2.8\tex\latex\, create a tkz-graph folder, copy it there, run options and refresh FNDB, then \usepackage{tkz-graph}
! LaTeX Error: File `tkz-graph.sty' not found.

Suggestions?

Recommended reading 2024:

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

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

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Re: cannot find installed .sty

Post by kaiserkarl13 »

You need to rehash your TeX tree. I think there's a button in the MikTeX settings dialog that reads, "Refresh FNDB" or something like that (FNDB = File Name DataBase).
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: cannot find installed .sty

Post by frabjous »

Wow, a fellow Amherstian... small world...

...but please read the original post, Karl. Coolness has already refreshed the FNDB.

Is this package not available from CTAN? Can it not be installed through the MikTeX package manager?

Can it find it if you put the .sty file in the same folder as the file you're compiling? (Not a great long-term solution, but may help diagnose the trouble.)
CoolnessItself
Posts: 47
Joined: Wed Nov 11, 2009 9:30 pm

cannot find installed .sty

Post by CoolnessItself »

frabjous wrote:Is this package not available from CTAN? Can it not be installed through the MikTeX package manager?
No. A few other tkz-*** packages exist but none of them contain tkz-graph. Unless when I open the package manager it's querying an out of date database...
frabjous wrote: Can it find it if you put the .sty file in the same folder as the file you're compiling? (Not a great long-term solution, but may help diagnose the trouble.
Yes. So I can function until a solution is found
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

cannot find installed .sty

Post by frabjous »

Have you tried creating a user-managed TEXMF directory, as described in this tutorial on the MikTeX site?
Post Reply