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