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 $*'
set sw=2
set iskeyword+=:
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?
Regards,
Michael
P.S.: Anyway - vim-latex is an excellent and very useful plugin! Thanks a
lot!!!
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel