It seems there is already a patch submitted by Kay Smarczewski in the
tracker on sourceforge which should work.

Francis

2010/8/4 Francis Turgeon-Boutin <francis.turgeon.bou...@gmail.com>
>
> Hi,
> I'm having a problem with ref completion with multiple files project. It 
> seems it doesn't find \input file if the \input command is not a the 
> beginning of a line (if it is indented or there is a space before). By 
> changing outline.py like this (removing ^ from the regex), it seems to fix 
> the problem :
>
>      # TODO what are all the ways in which a tex file can include another?
> -    pat = re.compile(r'^\\(@?)(include|input){(.*?)}', re.M)
> +    pat = re.compile(r'\\(@?)(include|input){(.*?)}', re.M)
>      contents = re.sub(pat, getFileContents, contents)
> I have included the diff and a minimal example.
> thx !
> Francis

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to