You are not logged in.
I have been using vim + latex-suite for almost two years and it has always worked perfectly. Two days ago it started giving me an error message every time I tried to compile using <leader>ll. The error is the following:
Error detected while processing function Tex_RunLaTeX:
line 7:
E121: Undefined variable: s:target
E15: Invalid expression: s:target
line 10:
E121: Undefined variable: s:target
E116: Invalid arguments for function Tex_Debug
line 12:
E121: Undefined variable: s:target
E116: Invalid arguments for function Tex_GetVarValue('Tex_FormatDependency_'.s:target) != ''
E15: Invalid expression: Tex_GetVarValue('Tex_FormatDependency_'.s:target) != ''
line 21:
E121: Undefined variable: dependency
E116: Invalid arguments for function Tex_Debug
line 25:
E121: Undefined variable: dependency
E116: Invalid arguments for function Tex_Strntok(dependency, ',', i) != ''
E15: Invalid expression: Tex_Strntok(dependency, ',', i) != ''
line 51:
E121: Undefined variable: initTarget
E15: Invalid expression: initTarget
I have installed latex-suite with vundle:
Bundle 'git://git.code.sf.net/p/vim-latex/vim-latex'
In my .vimrc file I have set the Tex_DefaultTargetFormat and Tex_CompileRule_pdf options like this:
let g:Tex_CompileRule_pdf = 'pdflatex --interaction=nonstopmode $*'
let g:Tex_DefaultTargetFormat = 'pdf'
When I set manually this in the menu of gvim: "TeX Suite >> Target Format" to "pdf" it works correctly, but the next time I start gvim I have to do this again. I had never have to do this before.
I have uninstalled vim and latex-suite completely and installed it again, but the problem persists. I use vundle to manage all my vim plugins. Two days ago I installed two new plugins: Vimroom and vim-colors-solarized using this:
" Vimroom
Bundle 'mikewest/vimroom'
" Solirized Theme
Bundle 'altercation/vim-colors-solarized'
Of course I tried disabling them to see if that was the problem, but nothing happened.
Has anyone an idea of what this could be?
Offline
Same problem here.
:TCTarget pdf
will make it compile. But it's annoying to set it every time even with autocmd. I remembered it worked well several years ago. Time flies and things break.
.
Offline