It would be helpful to vim and latex newbies if the vim-latexsuite
documentation could make clear that vim (as opposed to gvim) will not
load the latexsuite plugin when you first create a new empty .tex file.
You have to "prime the pump" as documented here:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=377453

This problem occurs because vim sees the empty file's filetype as
'plaintex' rather than 'tex'.  You can prove this with the results of
vim's ':set ft' command.  It will come back 'plaintex' rather than
'tex'.  Therefore, another solution is to use vim's ':set ft=tex'
command on the new, empty file to wake up latexsuite. See:

http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/2006-August/003267.htm
 

-- 
Donnie Pennington

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to