[Tex/LaTex] Packages not found

packages

I'm using TexMaker on Windows 7. When I tried to add two packages : diagbox and glossaries and I compiled, it returned me : "!LaTeX Error : File 'glossaries.sty' not found. etc …"

Any ideas ?

Thanks.

Best regards.

Klauss

Best Answer

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