Hi Tom,

Thanks for all your help trying to sort this out :-)

On Friday 24 Apr 2009 15:01:26 Thomas Ibbotson wrote:
> Does your version of Vim have python compiled in it? You can find this 
> out easily by doing ':echo has('python')'. If that returns 1

Yes, it did.

> , can you do 
> ':let Tex_UsePython = 0' (or add that line to your .vimrc) and try 
> again?

No change, I'm afraid.

> If this then works then there is a problem in the way in which it 
> is calling the internal python. Otherwise I don't know what's wrong, and 
> I'd need to find a way of reproducing it.

I should point out that everything works find so long as there is no space in 
the path of the .tex file I'm editing. I can reproduce the problem quite easily 
here (in Linux), by doing the following:

1. Create a directory with a space and cd into it as follows:

% mkdir test\ folder

% cd test\ folder

Create a new .tex file here, or copy an old one into it. Make sure the .tex 
file has a \label somewhere which you can \ref.

Type \ref{ and then try to complete using F9 (actually, I should point out that 
I have "imap <buffer> <S-tab> <Plug>Tex_Completion" in my .vimrc, but I 
wouldn't have thought that would be the problem, since it works with no spaces 
in the path).

The __OUTLINE__ box opens, and I can browse to the label I created. Move the 
cursor onto it and hit enter.

I get "E172: Only one file name allowed" in the bottom of the terminal.

Does this not produce the same behaviour for you?

Thanks again,

Pete.

------------------------------------------------------------------------------
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