On Sat, 21 May 2011, Przemysław Pawełczyk wrote:

### Issue

For larger LaTeX documents splitting text between many files is a
common practice. And here comes the problem with package detection in
Vim-LaTeX. If I open the main `.tex` file (i.e. the one including
other `.tex` files), where `\usepackage{polski}` is present, then
space substitution works fine. It's not the file where you are writing
much, thus it's not really useful here. But if I open any other `.tex`
file (which is included by the main `.tex` file), which obviously does
not have preamble (thereby there is no `\usepackage{polski}` in it),
package detection fails, therefore space substitution is not working
here.

Have you tried setting the master tex file:

:he latex-master-file

Aditya
------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to