On Sat, 15 Jul 2006, Mark Gesing wrote:
> Hi,
>
> I am in the habit of splitting my latex sources into several files so that
> the source is easier to manage.
>
> How can I set up the suite so that all files with filenames ending in *.tex
> enable the vim-latex suite? Currently only the document containing
> \documentclass{article}, \begin{document} and \end{document} gets recognized
> as a latex source.
>
> I have a feeling that this is the way it is supposed to work anyhow since in
> the tutorial the vim-latex menus are supposed to be available after ":e
> newfile.tex"
> (in my case the menus did not come up until I added \documentclass{article}
> \begin{document} \end{document} )
It seems that your file is not being recognized as a latex file. Are
you using vim7? What is the output of
:set ft?
(question mark is part of the command)
Try adding
let g:tex_flavor = "latex"
to your .vimrc
Aditya
|