Now I am using the pull-down menus to set :TTarget, :TCTarget, and :TVTarget to pdf.

I also tried setting g:Tex_DefaultTargetFormat='pdf' and g:tex_flavor='pdflatex', but neither worked.

Thanks!

link|improve this question

feedback

1 Answer

up vote 3 down vote accepted

Set

let g:Tex_DefaultTargetFormat = 'pdf'
let g:Tex_MultipleCompileFormats='pdf, aux'

in your config file for vim (e.g. ~/.vimrc). That works well for me here, using vim 7.3.3 on Arch Linux.

link|improve this answer
That did it. My error was using set instead of let. Thanks! – richardh Sep 8 '10 at 20:29
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.