Hi Tom,
Thanks for the speedy reply.
I wrote:
> > Completion of \ref tags isn't working for me when the .tex document I'm editing is in a directory which has spaces in the path. It shows the list of labels to choose from, but when I press enter, I get the following error:
> >
> > E172: Only one file name allowed.
> >
> > Which I guess means that the space is making the completion script think that it's multiple arguments (files).
> >
> > Is there a way to fix this behaviour? I'm using vim 7.2, python 2.6.1 and latex-suite 20060325.
On Friday 24 Apr 2009 00:27:07 Thomas Ibbotson wrote:
> I can't reproduce this bug on ubuntu linux, what operating system are
> you using?
Sorry, I should have said - I'm using Arch Linux.
> I've just tested this on windows as well, and I get a different error to
> you. I get a python error from outline.py:
>
> Traceback (most recent call last):
> File "C:\Program Files\Vim\vimfiles\ftplugin\latex-suite\outline.py",
> line 183, in <module>
> print main(sys.argv[1], prefix)
> File "C:\Program Files\Vim\vimfiles\ftplugin\latex-suite\outline.py",
> line 170, in main
> contents = getFileContents(root, ext)
> File "C:\Program Files\Vim\vimfiles\ftplugin\latex-suite\outline.py",
> line 23, in getFileContents
> contents = '\n'.join(open(fname).read().splitlines())
> IOError: [Errno 2] No such file or directory: 'paper'
Interesting.. I don't have a Windows box to test it on here.
> This might have been fixed in SVN but I'm going to bed now, I'll check
> tomorrow.
Okay, thanks. I haven't checked the SVN version of latex-suite, since there isn't a package for it on ArchLinux, but I guess it should be trivial for me to do so. Will check and get back to you.
Thanks again,
Pete.
|