Re: [Vim-latex-devel] Cannot compile tex file on Windows ( it's OK on Mac)
Brought to you by:
srinathava,
tmaas
From: YANG L. <lin...@gm...> - 2013-01-29 10:36:39
|
I found one workaround for this 1. Using the TTarget command first to set the pdf format as the compile target format 2. compile 3. though "E492: Not a editor command: ^ITCLevel 1000" and "E492: Not a editor command: TCLevel 7" will be prompted, at least the file could be compiled. regards On Tue, Jan 29, 2013 at 5:53 PM, YANG LINCHANG <lin...@gm...>wrote: > Hi there, > first, thank you for developing such a good plugin for tex users. It > worked fine on both of my Windows desktop and Macbook Pro. > However, I encountered the problem after one update of vim-latex that it > cannot work on Windows. > When I press /ll to compile, vim will throw out a series of error messages: > > 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:t > arget) != '' > 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 > > And also the similar error messages of \lv and \ls. > > but I can still compile .tex files on Mac. It seems that the malfunction > is related to the target format and I set the right > "g:Tex_DefaultTargetFormat" in my .vimrc and it used to work. > please advise me some possible solutions. > regards > > |