Aditya Mahajan
Tue, 01 Aug 2006 17:41:46 -0700
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 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel