[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] Compiling with pdflatex or latex+dvipdf
From: |
Tassilo Horn |
Subject: |
Re: [AUCTeX] Compiling with pdflatex or latex+dvipdf |
Date: |
Mon, 19 Nov 2012 11:31:33 +0100 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) |
Arnaud Carayol <address@hidden> writes:
> I work with multi-file documents in LaTeX. Depending on the project, I
> want to compile with either pdflatex or latex+dvipdf. Ideally, I would
> like to add a local variable in the master file (and not in every
> file) telling if I want to use pdflatex or not.
> What is the correct way to do that with auctex ?
Exactly as you've stated. latex+dvipdf is the default. For those
documents where you want to use pdflatex instead, add an entry
eval: (TeX-PDF-mode 1)
to your master file's file variables section.
Bye,
Tassilo