Skip to the content.
FAQ 」 『 Tips & Tricks 』 『 Scripts 』 『 Build 』『 Contribute

Why is a package marked as missing?

TeXStudio tries to determine installed LaTeX
packages for package name completion and
missing package import warnings.

MikTeX

TeXStudio queries MikTeX about the
installed packages via mpm.exe --list.

Note

The list of installed packages is not necessarily the same
as the list of available packages (e.g. you could manually
add packages which are not maintained by MikTeX).

It would be more correct to get the information
from the filename database (FNDB) in MikTeX.

However there doesn’t seem to be an API for that
and the FNDB itself is a proprietary binary format.

Therefore, mpm.exe --list is our best guess for MikTeX.