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
|