>> If you put let g:tex_flavor='latex'
>> into your .vimrc, then you'll never have to ":set ft=tex" again.
>
> Thank you, but it does not seem to help the small file intro.tex
> trigger the launch of Latex-Suite when I open it. Anyway, this is a
> minor problem, as I rarely have such small files (though I agree this
> is intriguing).

That's interesting. It works for me. That is, I have

let g:tex_flavor='latex'

in my .vimrc, and even if I open an *empty* file that ends in .tex, 
Latex-Suite is loaded. In fact, just yesterday I had a colleague at that 
to his .vimrc to fix exactly the problem you were having and it did on 
his next Vim load.

Additionally, if you haven't figured this out already (I assume you 
have), as long as you have a file ending in ".latexmain" and starting 
with the root of the file that latex should build, doing "\ll" 
*anywhere* in that directory will cause Vim-LaTeX to build the right file.

For example, I might have a main.tex and an included.tex. I would touch 
a file called main.latexmain, and then from either main.tex or 
included.tex, \ll would build main.tex.

--Ted


-- 
Ted Pavlic <t...@tedpavlic.com>

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to