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 am using MiKTeX 2.9 on Windows, and am working with TeXnicCenter. I can see in the build profiles that LaTeX can take command-line options, for instance:

--src -interaction=nonstopmode

Try as I might, I cannot find anywhere on the net a list of these command line options and their purpose. Can anyone supply a link to these?

share|improve this question
10  
Try latex --help for a list of options and a short explanation. –  Christian Lindig Jul 13 '11 at 12:44
5  
The official documentation –  egreg Jul 13 '11 at 12:48
    
Thanks, I believe these two comments cover everything. –  crobar Jul 13 '11 at 12:55
    
I edited the answer to include both comments. –  Andrey Vihrov Jul 13 '11 at 13:30

1 Answer 1

up vote 8 down vote accepted

Most command line programs accept parameters like --help (originally from Unix) or /? (originally from Windows) that list their common options. latex (namely, pdftex, which is latex these days) is not an exception and recognizes --help. The same applies to other TeX engines like xetex or luatex.

On Unix, you can also type man pdftex etc. to read these programs' manual pages. MikTeX has them online; and TeX Live has the man pages in PDF format on your computer.

Modern TeX distributions (e.g. MiKTeX and TeX Live) have a texdoc command line tool. You can use

texdoc pdflatex

to get the document of pdflatex. Similarly, you can use texdoc --help or even texdoc texdoc to get help of the texdoc tool.

share|improve this answer

Your Answer

 
discard

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.