Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I used the command to suppress the screen output

latex -quiet foo.tex

--quiet is implemented in MiKTeX's executables and removes all the stuff from the output stream except for the errors.

It displays as below


but the MiKTeX error should display like below

foo.tex:3: Undefined control sequence

Here the error message not showing. It shows only line number. Please advise.

share|improve this question
Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. –  Speravir Apr 4 at 22:19
A suggestion: Do us a favour and change your username to something more telling than "user1234". –  Speravir Apr 4 at 22:20
The foo.log file should still show all the messages including the full error message. –  Heiko Oberdiek Apr 4 at 22:22
I do not observe this behaviour with a recently updated MiKTeX. So the usual demand: Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. –  Speravir Apr 4 at 22:27
The code producing here a line like you miss it: \documentclass{article} \begin{document} \textf{XYZ} \end{document} –  Speravir Apr 4 at 22:29

Your Answer


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

Browse other questions tagged or ask your own question.