1

I'm not very familiar with tex, but I have a question about an error I get:

File `latexmk.sty' not found.

The error is caused by this line:

\RequirePackage{latexmk}

This line is in a documentclass I use.

Does anybody know how to solve this problem?

EDIT:

I created a MWE:

\documentclass[]{report}
\usepackage{glossaries}
\begin{document}
Lipsum
\end{document}

When I compile this I get an error:

File `mfirstuc.sty' not found. \RequirePackage

Regards,

Stille Bever

  • 2
    As far as I know latexmk is no sty package but a command to simplify the compilation of .tex files. \RequirePackage{latexmk} seems to be rubbish – user31729 Mar 8 '17 at 20:53
  • 2
    Welcome to TeX.SX! latexmk is a compiling tool, but usually not used as package. Please provide us with a MWE to get further assistance (probably a description of your setup could be useful too). – TeXnician Mar 8 '17 at 20:54
  • 1
    Exactly which latex installation are you using? Latexmk will probably not work out of the box on miktex, but does work out of the box with a full texlive or mactex installation – daleif Mar 8 '17 at 21:34
  • Miktex and texlive were both installed, I removed miktex from the sytem. Now the problem with the example I gave is gone. However when I add the line \usepackage{glossaries} just below the documentclass I get the following error: File `mfirstuc.sty' not found. \RequirePackage – Stille Bever Mar 8 '17 at 21:43
  • 1
    then your setup in texstudio has the wrong paths set – David Carlisle Mar 8 '17 at 22:15
-1

I got the whole thing working, what I did was adding "--shell-escape" to the pdflatex command. Thanks for all your help!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.