Re: [Vim-latex-devel] ref completion with multiple files
Brought to you by:
srinathava,
tmaas
From: Francis Turgeon-B. <fra...@gm...> - 2010-08-04 15:18:33
|
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 <fra...@gm...> > > 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 |