1

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?

2
  • 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
    Commented Mar 25, 2012 at 22:13
  • @Nicolas this question is duplicate of superuser.com/questions/186283/…
    – alhelal
    Commented Oct 19, 2017 at 9:16

1 Answer 1

3

+1 to what jofel said. Just use

:TTarget pdf

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

2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .