1

I'm using TeXmaker on Windows 7. When I tried to add the diagbox and glossaries packages in my document and I compiled, it errored and printed:

!LaTeX Error : File 'glossaries.sty' not found. etc ...

Any ideas as to why this is?

JamesT
  • 3,169
Zaertiu
  • 305

1 Answers1

0

This usually happens because you did not refresh the database. To refresh the database of the packages, do the following:

  1. open MiKTeX options (from your start menu)

  2. In the General Tab (click on refresh FNDB).

  3. Recompile your file, it should work by now.

  • If you are running a portable version of MiKTeX, follow these procedures:
    1. In the Miktex folder, open the file named (miktex-portable.cmd)
    2. In the notification area, there will be a MiKTeX icon, right click on it and then choose MikTeX options.
    3. In the General Tab (click on refresh FNDB). Recompile your file, it should work by now.

Refer to my answer at Installing packages with miktex 2.9