[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: |
Tue, 20 Nov 2012 08:52:32 +0100 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) |
Arnaud Carayol <address@hidden> writes:
Hi Arnaud,
>> 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.
>
> Thanks a lot for your answer. It works perfectly if I compile (C-c
> C-c) on the master file but it does not if I compile from the
> non-master files.
Ok, I see.
> Is there something to do for auctex to read the local variables of the
> master file?
No, not that I know. Seems you have to put it into every file. Or
alternatively, try out directory-local variables.
,----[ (info "(emacs)Directory Variables") ]
| Sometimes, you may wish to define the same set of local variables to
| all the files in a certain directory and its subdirectories, such as
| the directory tree of a large software project. This can be
| accomplished with "directory-local variables".
`----
I think those were introduced in emacs 23.
Bye,
Tassilo