[Vim-latex-devel] bug in F9 fill in
Brought to you by:
srinathava,
tmaas
From: Josh G. <gu...@ui...> - 2006-06-08 14:18:55
|
When trying to use <F9> to fill in a \ref, vim-latex barfed while attempting to read a file which is in one of my ~/.texmf/... directories (definitions.tex). i would fix it, but i don't speak python. here is the error: ---------------------------------------- Traceback (most recent call last): File "/Users/guffin/.vim/ftplugin/latex-suite/outline.py", line 183, in ? print main(sys.argv[1], prefix) File "/Users/guffin/.vim/ftplugin/latex-suite/outline.py", line 170, in main contents = getFileContents(root, ext) File "/Users/guffin/.vim/ftplugin/latex-suite/outline.py", line 27, in getFileContents contents = re.sub(pat, lambda input: getFileContents(input, ext), contents) File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ python2.3/sre.py", line 143, in sub return _compile(pattern, 0).sub(repl, string, count) File "/Users/guffin/.vim/ftplugin/latex-suite/outline.py", line 27, in <lambda> contents = re.sub(pat, lambda input: getFileContents(input, ext), contents) File "/Users/guffin/.vim/ftplugin/latex-suite/outline.py", line 23, in getFileContents contents = '\n'.join(open(fname).read().splitlines()) IOError: [Errno 2] No such file or directory: 'definitions.tex' ---------------------------------------- thanks josh |