TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using latexmk -quiet, and while it suppresses most status messages, there are still a few irrelevant messages that it gives me:

$ latexmk -pdf -silent document.tex
Latexmk: Run number 1 of rule 'pdflatex'
Latexmk: Running 'pdflatex  -interaction=batchmode  "document.tex"'
This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
 %&-line parsing enabled.
entering extended mode
Latexmk: Citation `mycite' on page 3 undefined 
Latexmk: Reference `fig:myfig' on page 4 undefined 

and so on. All of the citations and references are eventually defined through re-running LaTeX, so these are extraneous and distracting, as well.

Using latexmk -quiet -silent doesn't appear to change anything.

I was using Rubber, which deals with this very well, but unfortunately lacks some features Latexmk has in other areas (such as chapterbib support and dependency output).

share|improve this question
I got annoyed from the printing of included file names and had to comment the code line in the Perl script. If you have some basic knowledge you can search for the code lines in question and disable them by putting the # comment character in front of it. – Martin Scharrer Jan 11 '12 at 17:59
up vote 9 down vote accepted

I agree that many of latexmk's messages should not appear when the -quiet option is used. The messages about undefined messages really are only needed for the last run; but implementing that would need some changes in the logic.

I'll add that to the list of improvements. Also it might be worth having a super-quiet mode as well as a quiet mode. Super-quiet mode would be like rubber's quiet mode, which I find too laconic; but that's an issue of personal preference.

share|improve this answer
Personally, I prefer to only see output when there's actually something I need to address (warnings or errors), rather than diagnostic messages that leave me in the habit of ignoring the output, and therefore sometimes missing an important warning. – Michael Hoffman Jan 12 '12 at 22:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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