Dear all,

I started using the Vim LaTeX Suite only very recently and I'm very
happy with it. Today I had a little trouble getting the \ref{}
completion to work and it turned out the problem was that my working
directory name contains spaces. I digged in the code and I believe
that the problem is in texviewer.tex on line 757 (I'm using version
1.8.23-20100129-r1104). The original line is

\. 'r"' . fnameescape(fnamemodify(mainfname, ':p')) . '", '

and when I removed the fnameescape() call from it, thus becoming

\. 'r"' . fnamemodify(mainfname, ':p') . '", '

\ref{} completion started working again. I'm not sure whether this is
a correct fix but it seems to work for me. And if it is correct, you
might want to include it in some future version of the package.


Warm regards,

Martin Slota

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-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