New answers tagged

1

! LaTeX Error: File `todonote.sty' not found. and /usr/share/texmf-dist/tex/latex/todonotes: todonotes.sty one has an s and one does not....


1

It seems that this happend when there is no \end{document} in the .tex file. In my case, the file was just empty as I forgot to save it.


0

This is not really a latexmk issue; it's about the behavior of pdflatex. No combination of options (as far as I can tell) both turns off the usual voluminous output and turns on file-line errors only. (I have a vague memory that pdflatex used to behave differently many years ago.) The best that you can do is use some other program that analyzes the log ...


0

I don't think there is a built-in solution. But if I understand your question correctly, you could use something like this: latexmk -pdf -pdflatex="pdflatex -file-line-error -interaction=nonstopmode" file.tex | grep "^.*:[0-9]*: .*$" Or the even less verbose variant that just prints the message lines: latexmk -pdf -pdflatex="pdflatex -file-line-error ...


0

The default behavior of latexmk is to remake all the bbl files if the bib files are available. The problem (it takes a long time for biber to remake the bbl files) only arises now because the bib file has ~500 references in it (more references than I've ever worked with in the past). To prevent latexmk from remaking bbl files even if bib files are ...


0

John Collins suggested to use "custom dependency" functionality. Despite the fact I wasn't able to make custom dependency working for my case, it lead me to solution. I've appended following code to my latexmkrc file: sub dia2png{ system("bash ./diaGen.sh"); } dia2png(); So latexmk basically allows you to define and run anything before starting ...



Top 50 recent answers are included