Peter Lewis wrote:
> Hi there,
> 
> 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.
> 
> Thanks!
> 
> Pete.
> 
> 

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'

This might have been fixed in SVN but I'm going to bed now, I'll check 
tomorrow.

Tom

------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to