MiKTeX and proTeXtLaTeX doesn't find fancyhdr.sty

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
Post Reply
meklenborg
Posts: 18
Joined: Tue Mar 20, 2007 7:42 pm

LaTeX doesn't find fancyhdr.sty

Post by meklenborg »

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!

Recommended reading 2024:

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

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

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

LaTeX doesn't find fancyhdr.sty

Post by localghost »

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¹
meklenborg
Posts: 18
Joined: Tue Mar 20, 2007 7:42 pm

Re: LaTeX doesn't find fancyhdr.sty

Post by meklenborg »

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!

:)
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

LaTeX doesn't find fancyhdr.sty

Post by localghost »

meklenborg wrote:[...] No matter what repository I use, the program won't install the package 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:[...] 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. [...]
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.
Post Reply