At a guess are you sure there is a definitions.tex, if there is is it using
correct path in the \input or \include.  I had errors when including 
files that
were not present and thus it spits out an error.  I added a correction to
outline.py (posted here earlier) that checks if there is a file and hopefully
doesnt crash so easily.

Tom

Quoting Josh Guffin <[EMAIL PROTECTED]>:

>
> 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
>
>
>
>
>
>
> _______________________________________________
> Vim-latex-devel mailing list
> Vim-latex-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
>





_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to