Re: [Vim-latex-devel] FormatDependency
Brought to you by:
srinathava,
tmaas
From: Vaidotas Z. <ze...@gm...> - 2005-03-21 16:31:00
|
Hi, On Sk, 2005-01-30 at 16:31 -0500, Brian Keats wrote: > I have a probelm getting vimlatex to compile either ps or pdf using > format dependency. Here are my vimrc settings. > > let g:Tex_CompileRule_dvi = 'latex --src-specials -interaction=nonstopmode $*' > let g:Tex_CompileRule_ps = 'dvips -t letter -Ppdf -o $*.ps $*.dvi' > let g:Tex_FormatDependency_ps = 'dvi,ps' > > If I have no format dependency and the dvi exists, a ps file is > produced. If I set the format dependency as shown, it produces a dvi > file, but not a post script file. I get similar behaviour for pdf's. > I'm using the csv version. I had the same problem with the latest > development version (December 19, 2004). Any ideas what might be > causing this? > Look at my latest emails in list. Try changing function Tex_GetErrorList() in ftplugin/latex-suite/main.vim, by adding these lines: if errlist =~ 'E42: No Errors' let errlist = "" endif The full function source must be like this: function! Tex_GetErrorList() let _a = @a redir @a | silent! clist | redir END let errlist = @a let @a = _a if errlist =~ 'E42: No Errors' let errlist = "" endif return errlist endfunction " }}} Hope it helps, at least it did for me. I'm no great vim expert so I might overlook something. Vaidotas Zemlys |