TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm having problems compiling a TeX file with LaTeX-suite on Ubuntu. In my .vimrc, I have the following lines :

 filetype plugin on
 set grepprg=grep\ -nH\ $*
 filetype indent on
 let g:tex_flavor='latex'

When I go to the menu and tell it to compile, if I put .dvi, a .dvi file is generated but I ask for a .pdf, nothing happens.

Can anyone give me some pointers on this?

share|improve this question
Can you run pdflatex on your .tex file manually? Does changing the target format (:TTarget pdf), which should set both compiler and view target, help? I assume that you have set the compile target to pdf instead of *.pdf which produces an error message, and that you run "compile" after you have changed the compiler target. – jofel Mar 25 '12 at 22:13

+1 to what jofel said. Just use

:TTarget pdf

then type \ll and that should compile your .tex file with pdflatex instead of latex.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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