2

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?

  • 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
1

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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.