Hi Mark,
I believe that this has to do with Vim and not with latex-suite. Whenever
Vim loads an empty .tex file it will set the filetype as plaintex. In your
case you want the filetype as latex or tex. To solve this simple add to your
.tex files the line "%&latex" without the quotes to the beggining of the
file. This will instruct Vim to treate the file as latex and load the
latex-suite. FYI, I'm using Vim 7.
The Vim command "help ft-tex-plugin" will give you a little more info. Also
try "help filetype".
ric
On 7/15/06, Mark Gesing <mag...@gm...> 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} )
>
> Thank you very much.
>
> Mark.
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
>
> _______________________________________________
> Vim-latex-devel mailing list
> Vim...@li...
> https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
>
>
>
|