MiKTeX and proTeXt ⇒ LaTeX doesn't find fancyhdr.sty
-
- Posts: 18
- Joined: Tue Mar 20, 2007 7:42 pm
LaTeX doesn't find fancyhdr.sty
I've finally migrated from MiKTeX 2.6 to 2.7. No matter what repository I use, the program won't install the package fancyhdr.sty. So, I've downloaded it from CTAN and put it in the \tex\latex\misc file. Still LaTeX refuses to see it. Even when the program doesn't find fancyhdr and I type the entire address, nothing happens.
Any suggestions as to what to do?
Thanx!
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
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
LaTeX doesn't find fancyhdr.sty
Best regards
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 18
- Joined: Tue Mar 20, 2007 7:42 pm
Re: LaTeX doesn't find fancyhdr.sty
It turned out that the problem was me not having uninstalled MiKTeX 2.6 before running MiKTeX 2.7. I thought they could run alongside each other, but that caused all the problems. I followed the instructions I got (different topic, General discussions), and that did the trick.
Have a nice evening!

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
LaTeX doesn't find fancyhdr.sty
There has to be an error message in the case that something is going. The program doesn't just refuse to install the package. There must be an explanation for this problem. Reading the MiKTeX manual should clarify the situation (see link above). Choose a server near your country. There are two servers available in Denmark and at least one each in Finland and Estonia. They are all up to date. Perhaps you have to check your connection settings.meklenborg wrote:[...] No matter what repository I use, the program won't install the package fancyhdr.sty. [...]
You have to refresh the file name database to enable MiKTeX to find the new files. Type texhash or mktexlsr on the command prompt and try again.meklenborg wrote:[...] So, I've downloaded it from CTAN and put it in the \tex\latex\misc file. Still LaTeX refuses to see it. Even when the program doesn't find fancyhdr and I type the entire address, nothing happens. [...]
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10