1

When I use pdflatex to compile a tex file into a pdf file, it generates lots of lots of output.

Unlike gcc, which mention again all the errors and warnings at the end, I don't find pdflatex behave the same way. Or do I miss something?

How do you spot errors and warnings reported by pdflatex?

Thanks.

  • What say all those lots of warnings? Have you looked into the log file to know what they say? – Aradnix Sep 15 '14 at 2:01
  • I searched in the log file, no "error" is there. There is one "warning" but saying something I guess probably not relevant. – Tim Sep 15 '14 at 2:04
  • Are you saying that it generates lots of errors and warnings but that they are not recorded in the log file? By default, compilation will stop on error in any case. Only if you have specified non-stop mode will it try to continue without any interaction from you. (Warnings are different as they are just warnings.) – cfr Sep 15 '14 at 2:13
  • @cfr: (1) I didn't set up nonstop mode, unless it is the default, which i don't know how to find out. (2) Lots of terminal outputs already gone out of the scroll-able range, and I don't understand almost all of it, so I don't know if it reports some error. But in the log file, there is no word "error". (3) Is the log file supposed to be the same as the output on the terminal? – Tim Sep 15 '14 at 2:18
  • @Tim The log is generally more detailed. If you compile at the command line, non-stop is not default. If you use an editor, it might be. Most terminal emulators allow you to increase the scroll-back. Many allow you to set it to an infinite value. (This is one of the things I require of a terminal emulator.) You can also redirect output to a file if you prefer. How to do this depends on you OS. On Unix-like systems, at least, it depends on you shell. – cfr Sep 15 '14 at 2:23
1

The tool ltx2any may solve your problem, it creates nice summaries of any errors and warnings for example in pdf or markdown. An example of such a summary:

enter image description here

(some editors, for example texstudio, can also show you an overview of errors and warnings, but ltx2any has the big advantage that it shows you the full message, not just the first line)

| improve this answer | |

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.