Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When I compile a LaTeX document in the terminal like so:

latex document.tex

How do I then abort the process? Ctrl-C doesn't work.

share|improve this question

2 Answers 2

up vote 7 down vote accepted

Ctrl-D will do the trick.

However, use -file-line-error -halt-on-error on the command line. Or learn how to edit LaTeX from the compiler if you wanted to be hard core.

share|improve this answer
    
Ctrl-D seems to skip over the current error, but continues compiling. Is there a shortcut to abort compiling altogether? FYI I'm using latexmk –  Jeff May 2 '13 at 21:48

Ctrl-C should work while latex is "running".

If an error occurs, and latex presents you its prompt, Ctrl-D, which signifies "end-of-input" can be used to get on.

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.