Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13366
Modified Files:
compiler.vim main.vim
Log Message:
Bug: On windows, viewing doesn't work because we have changed the way the
program is called (basically the extension is not used) (Luc Hermitte)
Fix: revert back to the original way of calling the external program
New: Also check for Tex_ViewRuleComplete_{format} when finding out whether
a given target specified in TTarget is legal.
Index: compiler.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/compiler.vim,v
retrieving revision 1.72
retrieving revision 1.73
diff -C2 -d -r1.72 -r1.73
*** compiler.vim 19 Jun 2004 00:50:32 -0000 1.72
--- compiler.vim 19 Jun 2004 20:15:42 -0000 1.73
***************
*** 23,26 ****
--- 23,27 ----
let targetRule = Tex_GetVarValue('Tex_'.a:type.'Rule_'.target)
+
if targetRule != ''
if a:type == 'Compile'
***************
*** 30,33 ****
--- 31,38 ----
endif
let s:target = target
+
+ elseif Tex_GetVarValue('Tex_'.a:type.'RuleComplete_'.target) != ''
+ let s:target = target
+
else
let curd = getcwd()
***************
*** 37,42 ****
call confirm(
\'No '.a:type.' rule defined for target '.target."\n".
! \'Please specify a rule in texrc.vim'."\n".
! \' :help Tex_CompileRule_format'."\n".
\'for more information',
\"&ok", 1, 'Warning')
--- 42,47 ----
call confirm(
\'No '.a:type.' rule defined for target '.target."\n".
! \'Please specify a rule in $VIMRUNTIME/ftplugin/tex/texrc'."\n".
! \' :help Tex_'.a:type.'Rule_format'."\n".
\'for more information',
\"&ok", 1, 'Warning')
***************
*** 44,49 ****
call input(
\'No '.a:type.' rule defined for target '.target."\n".
! \'Please specify a rule in texrc.vim'."\n".
! \' :help Tex_ViewRule_format'."\n".
\'for more information'
\)
--- 49,54 ----
call input(
\'No '.a:type.' rule defined for target '.target."\n".
! \'Please specify a rule in $VIMRUNTIME/ftplugin/tex/texrc'."\n".
! \' :help Tex_'.a:type.'Rule_format'."\n".
\'for more information'
\)
***************
*** 239,243 ****
" editor from the command line. that would have really helped ensure
" that this particular vim and yap are connected.
! let execString = 'start '.s:viewer.' "$*"'
elseif has('macunix')
--- 244,248 ----
" editor from the command line. that would have really helped ensure
" that this particular vim and yap are connected.
! let execString = 'start '.s:viewer.' "$*.'.s:target.'"'
elseif has('macunix')
Index: main.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/main.vim,v
retrieving revision 1.73
retrieving revision 1.74
diff -C2 -d -r1.73 -r1.74
*** main.vim 19 Jun 2004 00:50:32 -0000 1.73
--- main.vim 19 Jun 2004 20:15:42 -0000 1.74
***************
*** 606,610 ****
" keep that as a stable point.
function! Tex_Version()
! return "Latex-Suite: version 1.6.08"
endfunction
--- 606,610 ----
" keep that as a stable point.
function! Tex_Version()
! return "Latex-Suite: version 1.6.09"
endfunction
|