Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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
1  
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
add comment

1 Answer 1

+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
add comment

Your Answer

 
discard

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.