Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory sc8-pr-cvs1:/tmp/cvs-serv32765
Modified Files:
compiler.vim
Log Message:
Bug: the preview window with the .log window was not being opened on
compilation error.
Cause: We used to depend on the file's suffix being removed for a lot of
processing. A recent change seems to have reversed this.
Index: compiler.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/compiler.vim,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** compiler.vim 1 Jun 2003 23:23:43 -0000 1.32
--- compiler.vim 3 Jun 2003 05:58:21 -0000 1.33
***************
*** 129,133 ****
redraw!
else
- let mainfname = Tex_GetMainFileName()
" if a makefile and no *.latexmain exists, just use the make utility
" this also sets mainfname for the rest of the function
--- 129,132 ----
***************
*** 146,150 ****
" construct a main file.
if mainfname == ''
! let mainfname = expand("%:t")
endif
exec 'make '.mainfname
--- 145,149 ----
" construct a main file.
if mainfname == ''
! let mainfname = expand("%:t:r")
endif
exec 'make '.mainfname
|