28

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).

2
  • 4
    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. Jan 11, 2012 at 17:59
  • Just FYI: according to the man page, -silent and -quiet are equivalent. (So it's no surprise that calling with both doesn't improve anything.)
    – Clement C.
    Dec 9, 2017 at 15:14

1 Answer 1

20

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.

2
  • 44
    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. Jan 12, 2012 at 22:09
  • Is there a way to have quiet specified but still show the errors?
    – user32882
    Apr 19 at 7:40

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.