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

Compiling TeX with command

: silent call Tex_RunLaTeX()

The gvim window turns grey when there are errors. One needs to press Enter for each error to continue.

It will be better if the error messages show up in the process as in the console output. Can I configure the latex-suite to achieve that?

share|improve this question
Or can I make Compiling aborted when error exists. It is enough to enter dozens times when compile new docx. – Tmx Oct 14 '11 at 8:12

Use in your .vimrc something like

filetype plugin on
filetype indent on
let g:tex_flavor='latex'
let g:Tex_CompileRule_dvi = 'latex -interaction=nonstopmode -file-line-error-style $*'
let g:Tex_CompileRule_pdf = 'pdflatex -interaction=nonstopmode -file-line-error-style $*'

You can compile by typing \ll in normal mode, which is much faster than using the command mode.

share|improve this answer

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.