Dear developers und maintainers,
I used to change the default output format (e.g. from pdf to ps) while
editing a .tex file in vim/gvim 7.3 (2010 Aug 15, compiled May 4 2012
04:21:49) on Linux (Ubuntu 12.04). It worked perfectly some months ago, but
for a couple of weeks, vim (or vim latex-suite) doesn't recognize the
necessary variable changes. My ~/.vim/ftplugin/tex.vim is as follows:
let g:Tex_DefaultTargetFormat = 'ps'
let g:Tex_FormatDependency_ps = 'dvi,ps'
let g:Tex_FormatDependency_pdf = 'pdf'
let g:Tex_CompileRule_dvi = 'latex --interaction=nonstopmode --src-specials
let g:Tex_CompileRule_ps = 'dvips -Ppdf -o $*.ps $*.dvi'
let g:Tex_CompileRule_pdf = 'pdflatex -interaction=nonstopmode $*'
When I open a *.tex file in vim and compile via \ll, I get a *.ps file. If
I now change the default target format by typing :let
g:Tex_DefaultTargetFormat = 'pdf' in vim, the variable seems to be set
correctly (at least a ":echo g:Tex_DefaultTargetFormat" reveals "pdf"), but
when compiling, I still only get a *.ps. As I mentioned, it worked some
months ago. If I change the format in the tex.vim file and restart vim,
everything is perfect. I tried (clean) reinstalling latex-suite, resetting
my .vimrc etc - it just doesn't work.
I'm not sure if vim was updated on Ubuntu a few weeks ago. Do you have any
suggestions regarding this bug?
P.S.: Anyway - vim-latex is an excellent and very useful plugin! Thanks a