I'm having problems with latex-suite (some research indicates that many people are). The issue at hand is that they have a nifty python script that gives you a nice outline of your document and reference labels present therein.
I am running VimTouch for Android, which runs vim 7.3. It is compiled without python support. However, I have python on my system, so it uses a few lines of code like this
function TexStartOutline() . . . let retval = system(latex_path."/outline.py". ' ' .shellescape(fname) . ' ' .shellescape (leader)) 0put!=retval "not an exact replica, but it's the same idea. It gets called from another "function which is called from a mapping
In any case, when I run the same script myself (say with
:! ~/vim/ftplugin/latex-suite/outline.py myfile.tex I do get the correct output.
It seems that for some reason, python won't return anything when it's called from a function. Is there any way around this? It would be helpful.