Re: [Vim-latex-devel] Tex_FormatDependency not working
Brought to you by:
srinathava,
tmaas
From: Srinath A. <sr...@fa...> - 2003-11-16 00:59:40
|
Hello, On Sat, 15 Nov 2003, Gu=F0laugur wrote: > let g:Tex_FormatDependency_pdf =3D 'dvi,ps,pdf' > let g:Tex_FormatDependency_ps =3D 'dvi,ps' > let g:Tex_CompileRule_dvi =3D 'latex --interaction=3Dnonstopmode $*' > let g:Tex_CompileRule_ps =3D 'dvips -Ppdf -o $*.ps $*.dvi' > let g:Tex_CompileRule_pdf =3D 'ps2pdf $*.ps' > let g:Tex_DefaultTargetFormat =3D 'pdf' > > but when I compile it only executes the compile rule for pdf. > I tested this with vim-latex version 1.5 as available on the vim-latex download page and cannot reproduce this... Are you sure that the file is being sourced in the correct manner. There was a problem with the correct texrc not being found a while back... Just to be sure, put the lines above in your ~/.vim/ftplugin/tex.vim file and retry. If it still doesn't work, do the following: 1. In your ~/.vim/ftplugin/tex.vim file, add =09let g:Tex_Debug =3D 1 2. Restart vim and press \ll while editing a latex file. 3. Do the following in vim: =09:call Tex_PrintDebug('comp') 4. Tell me what that last command says. Srinath |