Hi, In vim-latex, there is two IMAP for figure: let s:figure = "\\begin{figure}[<+htpb+>]\<cr>\\centering\<cr>\ \psfig{figure=<+eps file+>}\<cr>\\caption{<+caption text+>}\<cr>\ \label{" . s:labelprefix_figure . "<+label+>}\<cr>\\end{figure}" . s:end_with_cr . "<++>" let s:figure_graphicx = "\\begin{figure}[<+htpb+>]\<cr>\\centering \<cr>\\includegraphics{<+file+>}\<cr>\\caption{<+caption text+>}\<cr>\ \label{" . s:labelprefix_figure . "<+label+>}\<cr>\\end{figure}" . s:end_with_cr . "<++>"
And, EFI always picks the s:figure, and I am unable to access s:figure_graphics. I have also tried to put the figure_graphics to my vimrc and rename it to figure, which is givine error: $ vi i.tex Error detected while processing ~/.vimrc: line 110: E121: Undefined variable: s:labelprefix_figure E15: Invalid expression: "\\begin{figure}[<+htpb+>]\<cr>\\centering \<cr>\\includegraphics{<+file+>}\<cr>\\caption{<+caption text+>}\<cr>\ \label{" . s:labelprefix_figure . "<+label+>}\<cr>\\end{figure}" . s:end_with_cr . "<++>" I am just an enduser without much knowledge of twiking it. Is there any way I can use EFI for figure_graphicx? ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel