LaTeX forum ⇒ MiKTeX and proTeXtsfmath.sty installation Topic is solved

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

sfmath.sty installation

Postby eglucon » Mon Dec 24, 2012 8:36 pm

I currently use the MiKTeX 2.9 distribution and I want to install the sfmath.sty package (version 0.8 which I already know is on the CTAN. However, when I run my .tex file in TeXnicCenter (with \usepackage{sfmath} in the preamble), the style is not installed automatically, and the error "LaTeX Error: File sfmath.sty not found" is displayed. )

So in order to install the missing package, I downloaded and copied it manually at the directory "C:\Program Files\MiKTeX 2.9\tex\latex\sfmath\sfmath.sty" (which is the one where other packages are installed). Inmediateley after, I went to "Start\Programs\MiKTeX2.9\Maintenance\Settings" and clicked the button "Refresh FNDB", in order to let know MiKTeX the new installed package.

However, it turns out that the error "LaTeX Error: File sfmath.sty not found" still is displayed when I run the .tex file. It is worth noting that I've installed other packages in the same way, and it worked without errors.

Is anything wrong I am doing in the installation process?

On the other hand, why does the package is not installed automatically, despite the fact that is on the CTAN?

Thank you very much.
Regards,
Eglucon.
Last edited by cgnieder on Fri Jan 04, 2013 10:47 am, edited 1 time in total.
Reason: added inline code markup

Tags:

User avatar
cgnieder
Site Moderator
Posts: 1993
Joined: Sat Apr 16, 2011 7:27 pm

Postby cgnieder » Fri Dec 28, 2012 12:22 pm

Maybe these instructions can help? How can I manually install a package on MiKTeX

Regards
site moderator & package author

eglucon
Posts: 11
Joined: Fri Jan 16, 2009 7:13 am

Postby eglucon » Thu Jan 03, 2013 11:57 pm

Thank you very much cgnieder.

The solution is displayed in the answer by Stefan Kottwitz in the instructions you posted, which is as follows:

In order to install manually a package, provided you have the MiKTeX 2.9 distribution, you must update the FNDB in admin mode if you have a multiuser setup, inmediately after you have copied the package in the appropiate directory.

Regards,

Eglucon.


Return to “MiKTeX and proTeXt”

Who is online

Users browsing this forum: No registered users and 1 guest