Hi
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!
MiKTeX and proTeXt ⇒ LaTeX doesn't find fancyhdr.sty
NEW: TikZ book now 40% off at Amazon.com for a short time.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
LaTeX doesn't find fancyhdr.sty
That's a little bit astonishing. The installation should be managed by choosing a suitable server in your country. This choice can be done in the MiKTeX Package Manager (Start -> Programs -> MiKTeX -> Browse Packages). If there is an error message given during choice or installation, please tell us. Other wise start MiKTeX Options (Start -> Programs -> MiKTeX -> Settings) and make MiKTeX install missing packages during compilation. Instructions can be found on the MiKTeX Documentation Page.
Best regards
Thorsten¹
Best regards
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
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
Hi
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!

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. [...]
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10