Hi,

It seems the problem was the python version I use. On my windows pc at 
my office I have python 2.6 and in virtualbox 2.7. When trying :python 
print "test", I received an error that said python24.dll could not be 
found. I just tried installing vim 7.3d beta in vbox, and it seems to 
works fine with python 2.7.

I tested the autocompletion with vim 7.3d with a single tex file and a 
project and in both cases it worked for cite as well as ref commands.

Cheers,
Patrick



On 08/07/2010 04:10 PM, Patrick wrote:
> Hi,
>
> I recently started using Vim-LaTeX, but ran in some problems with
> autocompletion of references and citations  in windows xp.
>
> When I enter F9 after typing \cite{ the window my bibtex entries
> opens as it should. However, when I press enter, the window just closes
> without filling in the reference. When I use F9 with \ref I get an
> error window saying "''C:' is not recognized as an internal or external
> command," This behaviour occurs for single file tex documents as well
> as projects using a latexmain file. Here are some things I have tried
> so far,
>
> I have set grepprg=grep\ -nH\ $* in my _vimrc and also tried to use the
> internal grep to no avail.
>
> I searched around and found earlier mentions of this problem, also on
> this mailing list.
>
> http://www.mail-archive.com/vim-latex-devel@lists.sourceforge.net/msg00486.html
> http://www.mail-archive.com/vim-latex-devel@lists.sourceforge.net/msg00118.html
>
> In the first, a patch is mentioned, which was incorporated in changeset
> 1047. Since I use the latest vim-latex version from sourceforge
> (29/01/2010) I assume I have a patched version.
>
> Following the second mail thread I installed GnuWin32 grep in
> C:\GnuWin32 and Vim7.2 in C:\vim to prevent problems with spaces.
> My python installation resides in C:\python26. Also I made sure the
> path to the tex files does not contain any spaces. This did not do the
> trick.
>
> Just as a test, I installed vim, vim-latex and miktex 2.8 in a
> guest winXP in virtualbox with ubuntu lucid as the host. Again all
> installations, including MiKTeX, were done using folders without
> spaces. To prevent interference from other vim plugins I did not
> install any. In this setup I have exactly the same problem as in the
> regular winXP.
>
> So all in all I wasn't very succesful with my solutions. In ubuntu
> itself everything worked pretty much out of the box, but in xp it seems
> a bit more tricky. Does anyone have any more suggestions on how to
> fix this?
>
> Regards,
> Patrick
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> Vim-latex-devel mailing list
> Vim-latex-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
>    

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to