[Vim-latex-devel] Macro customization problem
Brought to you by:
srinathava,
tmaas
From: Jarimatti V. <jav...@hy...> - 2004-12-06 08:47:29
|
Dear all, I have a problem trying to customize macros according to the manual http://vim-latex.sourceforge.net/documentation/latex-suite/customizing-macros.html using Tex_Env_name. I have in my ~/.vim/ftplugin/tex/texrc the following line (without newlines):--8<-- let g:Tex_Env_table = "\\begin{table}\<cr>\\centering\<cr>\\caption{<+Caption text+>}\<cr>\\label{tab:<+label+>}\<cr>\\begin{tabular}{<+dimensions+>} \<cr><++>\<cr>\\end{tabular}\<cr>\\end{table}<++>" -->8-- where I want to redefine the table environment so that the caption is over the table. The variable Tex_Env_table gets set and I can see it from Vim. So far so good, but when I type "table" and press <F5> the regular table environment gets substituted instead. I'm using Debian stable and vim-ruby (6.1.018-1). My Latex-Suite is version 1.5. I have also tried this with vim-python but the problem persists. TIA, Jarimatti |