1

Some of my packages are not recognised by TexStudio (examples: pdfpages, mathtools, ramsstyle and so on), but most of the packages I use are recognised.

I have installed all of these packages with MikTex 2.9 (even tried to reinstall them), but still TexStudio won't recognise them. This is getting tiresome since I really need to use pdfpages to include a PDF to my document.

Is there any way for me to check if the packages are installed, and if TexStudio is actually connected to MikTex? I also tried to install some new, random packages with MikTex but they were not recognised either.

I don't know if I checked the "Install on the fly" option when I installed MikTex (was and still are fresh in the Latex game).

Any help is much appriciated!

16
  • Are you after adding those packages refresh FNDB database?
    – Zarko
    Commented May 21, 2015 at 16:39
  • What do you mean by "are not recognized"? Commented May 21, 2015 at 16:39
  • I mean the package is "Not found" when writing \usepackage{pdfpages}. I have been installing packages with the Package manager, but still they are not found by TexStudio. I will try to refresh FNDB database now.
    – Olav S
    Commented May 21, 2015 at 16:49
  • Nothing changed after I refreshed the FNDB database.
    – Olav S
    Commented May 21, 2015 at 16:58
  • open a command line (search for cmd in windows) and type pdflatex --version and findtexmf article.cls and findtexmf pdfpages.sty (everytime hit enter at the end) and show a screenshot of the output. Commented May 21, 2015 at 17:09

1 Answer 1

1

TeXstudio checks which packages are installed on startup. When you \usepackage one it didn't find, this is marked as "not found" (being underlined in green).

When you install a package after starting TeXstudio, either using MiKTeX's install-on-the-fly feature or manually through the package manager, TeXstudio does not know about this. It will still mark the now installed package as "not found".

However, you don't really have to care about this. MiKTeX does the actual compiling and knows which packages are installed. As long as your document compiles fine, it is inconsequential if TeXstudio knows about all the packages you use therein.

If it bothers you, just restart TeXstudio. It will redo the check and find the new package.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .