next up previous contents index
Next: 7. Floats Up: 6.2 Downloading and Installing Previous: 6.2 Downloading and Installing   Contents   Index


6.2.1 Refreshing the TeX Database

Whenever you install new class files or packages, you must update the TeX database, otherwise the files will not be found. How to do this depends on the system you are using:

teTeX
Use the command texhash (or mktexlsr).

MiKTeX
If you are using an old MiKTeX distribution, you will need to run MiKTeX Options which will probably be in: Start -> Programs -> MiKTeX -> MiKTeX Options and then click on the button labelled Refresh Now (see figure 6.2).

Recent versions of MiKTeX have an application called MiKTeX Update Wizard which can automatically download and install known packages, check the MiKTeX documentation for further details.

Figure 6.2: MiKTeX: Updating the database
 
Image of MikTeX options dialog box.

If you experience any problems, contact your system administrator for help.

Alternatively, you can leave the .sty file in the same directory as your LaTeX document, but if you do this, you will only be able to use it with documents in that directory.

Related UK TUG List of Frequently Asked Questions topics:


next up previous contents index
Next: 7. Floats Up: 6.2 Downloading and Installing Previous: 6.2 Downloading and Installing   Contents   Index

Nicola L. C. Talbot. School of Computing Sciences. University of East Anglia. Last Modified: 2008-01-15 W3C HTML 3.2 Valid