[Vim-latex-cvs] vimfiles/ftplugin/latex-suite envmacros.vim,1.27,1.28
Brought to you by:
srinathava,
tmaas
|
From: <sri...@us...> - 2003-01-20 19:59:06
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory sc8-pr-cvs1:/tmp/cvs-serv19662
Modified Files:
envmacros.vim
Log Message:
- a tentative attempt to make including the graphicx package change the
behavior of EFI from \psfig to \includegraphics. Note that this is far
from ideal. For example, as of now, once the user opens a file with
\usepackage{graphicx}, then EFI will begin using \includegraphics even if
he switches back to a file without \usepackage{graphicx}.
Doing that will require extensive changes to the envmacros.vim file, I
think... (I haven't thought about it enough to find out if a simpler
workaround is possible).
Index: envmacros.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/envmacros.vim,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** envmacros.vim 17 Jan 2003 09:49:34 -0000 1.27
--- envmacros.vim 20 Jan 2003 19:59:00 -0000 1.28
***************
*** 259,263 ****
" Miscellaneous {{{
call s:Tex_SpecialMacros('', '', '-sepenv1-', ' :', 0)
! call s:Tex_SpecialMacros('EFI', '', 'figure', s:figure)
call s:Tex_EnvMacros('', '', 'figure*')
call s:Tex_EnvMacros('ELR', '', 'lrbox')
--- 259,263 ----
" Miscellaneous {{{
call s:Tex_SpecialMacros('', '', '-sepenv1-', ' :', 0)
! call s:Tex_SpecialMacros('EFI', '', 'figure', "\<C-r>=Tex_figure('figure')\<CR>")
call s:Tex_EnvMacros('', '', 'figure*')
call s:Tex_EnvMacros('ELR', '', 'lrbox')
|