0

I downloaded AucTeX off of M-x package-list-packages and I've enabled AucTeX in my .emacs with

(load "~/.emacs.d/elpa/auctex-11.86/tex-site.el" nil t t)

When I type C-c C-c I would like to by default generate a pdf with pdflatex instead of a dvi with latex. What's the easiest way to do this?

0

1 Answer 1

2

Add

(setq TeX-PDF-mode t)                ; PDF mode (rather than DVI-mode)

to your .emacs.

1
  • To do this on a per-file basis add to the end of the a latex file %%%Local Variables: newline %%% eval: (TeX-PDF-mode 1) newline %%%End: May 15, 2015 at 11:58

You must log in to answer this question.

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