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've gradually blundered upon a number of useful pdflatex command line options from questions in this forum, but not all of these are documented (specifically the useful -file-line-error parameter). My command line now includes the following "goodies"

pdflatex -file-line-error -synctex=1 --max-print-line=1000 -interaction batchmode

Is there a better manual for the command line options than the url given? I am using MikTex 2.9 which matches the document url.

If this is the best that the docs get, are there more similar undocumented options that are commonly used and helpful?

share|improve this question
Note that the command line options depend on the distribution. The TeX Live binaries support a different set than MiKTeX, and that's just the two main distributions. However, these both seem to support the different spelling used by the other distribution. – Martin Scharrer May 28 '12 at 17:45
texdoc pdflatex seems pretty good... – cmhughes May 28 '12 at 18:51
that doesn't work for me (although texdoc pdftex does). However, there's still nothing there for -file-line-error. – Peeter Joot May 28 '12 at 19:00
up vote 4 down vote accepted

Calling pdftex -help helps on my system. Of course, this is just a short summary.

share|improve this answer
It appears that with MikTex 2.9 this is missing any reference to -file-line-error (like the web docs) – Peeter Joot May 28 '12 at 19:37

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.