Hi,

s:figure_graphicx is invoked, if the graphicx package is detected. If 
the automatic detection does not work for you (and you always use the 
graphicx package), you could put


"" Add graphicx to the detected packages (such that EFI uses 
\includegraphics)
if !exists("g:Tex_package_detected")
        let g:Tex_package_detected = 'graphicx'
elseif g:Tex_package_detected !~ '\<graphicx\>'
        let g:Tex_package_detected = g:Tex_package_detected.',graphicx'
endif


into your .vim/after/tex.vim.

Best regards,
Gerd


On 09/24/2014 06:15 PM, Rudra Banerjee wrote:
> Hi,
> In latex-suite, there is two shortcut 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 . "<++>"
> But, the shortcut EFI is only given for s:figure.
> can I possibly define EFI to trigger s:figure_graphicx (may be in
> my .vimrc?)
> Thanks
>
>
> ------------------------------------------------------------------------------
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
> _______________________________________________
> Vim-latex-devel mailing list
> Vim-latex-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
>


------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to