Hi,
I use Vim 6.3.64 and latest LatexSuite (2004-12-29). I tried to use
option g:Tex_FormatDependency_ps = 'dvi,ps', but it did not work. After
turning on the debugging information I was getting such messages:
comp : +Tex_SetTeXCompilerTarget: setting target to [ps] for Compiler
comp : +Tex_SetTeXCompilerTarget: setting target to [ps] for Viewr
comp : +Tex_RunLaTeX, b:fragmentFile = 0
comp : Tex_RunLaTeX: compiling to target [ps]
comp : Tex_RunLaTeX: getting dependency chain = [dvi,ps]
comp : +Tex_SetTeXCompilerTarget: setting target to [dvi] for Compiler
comp : Tex_RunLaTeX: setting target to dvi
comp : Tex_RunLaTeX: compiling file multiple times via
Tex_CompileMultipleTimes
comp : Tex_CompileMultipleTimes: latex run number : 1
comp : Tex_CompileLatex: getting mainfname = [Ekopanel2.tex] from
Tex_GetMainFileName
comp : Tex_CompileLatex: execing [make! Ekopanel2.tex]
comp : Tex_CompileMultipleTimes: errors = [
Error detected while processing function
Tex_RunLaTeX..Tex_CompileMultipleTimes..Tex_GetErrorList:
line 2:
E42: No Errors]
comp : Tex_RunLaTeX: errlist = [
Error detected while processing function Tex_RunLaTeX..Tex_GetErrorList:
line 2:
E42: No Errors]
comp : Tex_RunLaTeX: There were errors in compiling, breaking chain...
comp : Tex_SetupErrorWindow: mfnlog = Ekopanel2.log
LatexSuite was breaking compiling chain because it found some errors,
yet my tex file compiled with no errors. After a bit of investigation I
found out that vim function :clist was giving error E42: No Errors, if
there weren't any errors! (Try running :clist on empty Vim window). This
confused function Tex_CompileMultipleTimes and thus the compiling chain
was broken. So I fixed function Tex_GetErrorList() in main.vim, by
adding these lines
if errlist =~ 'E42: No Errors'
let errlist = ""
endif
before returning errlist. Now everything works fine. Please check if
this is appropriate fix.
Vaidotas Zemlys
|