Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory sc8-pr-cvs1:/tmp/cvs-serv30462
Modified Files:
compiler.vim
Log Message:
Bug: Sometimes, even when there are no errors or warnings, Tex_RunLaTeX
still quits after compiling the .tex file into dvi.
Why: :clist is sometimes not empty even without errors.
Fix: Look for the presence of strings like ":13 error:" in :clist, not just
whether it is empty or not.
Index: compiler.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/compiler.vim,v
retrieving revision 1.51
retrieving revision 1.52
diff -C2 -d -r1.51 -r1.52
*** compiler.vim 7 Nov 2003 02:11:50 -0000 1.51
--- compiler.vim 16 Nov 2003 03:19:03 -0000 1.52
***************
*** 222,226 ****
" If there are any errors, then break from the rest of the steps
! if Tex_GetErrorList() != ''
break
endif
--- 222,227 ----
" If there are any errors, then break from the rest of the steps
! if Tex_GetErrorList() =~ '\v:\d+ (error|warning):'
! call Tex_Debug('There were errors in compiling, breaking chain...', 'comp')
break
endif
|