help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Auctex&Beamer recognising pdftex mode automatically


From: Ralf Angeli
Subject: Re: Auctex&Beamer recognising pdftex mode automatically
Date: Fri, 11 May 2007 08:00:36 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.96 (gnu/linux)

* Ulrich M. Schwarz (2007-05-11) writes:

> Brendan Halpin <brendan.halpin@ul.ie> writes:
>
>> I've been looking for a way to get Emacs/AucTeX to recognise that a
>> paticular latex file should be processed by pdflatex, and was
>> delighted to stumble on the fact that \usepackage[pdftex]{graphicx}
>> or \documentclass[pdftex]{...} was enough. 
>>
>> But it doesn't seem to work for Beamer files, i.e.
>> \documentclass[pdftex]{beamer} still gets put in LaTeX-mode. Is
>> this an oddity of beamer.cls?
>>
>> A pity if so because it's a nice neat feature.
>
> Putting %&pdflatex as the first line will¹ cause LaTeX to behave as if
> you called pdflatex (even if you called latex).

But it won't lead to AUCTeX activating TeX PDF mode for the file.
Therefore the wrong viewers will be launched, for example.

-- 
Ralf


reply via email to

[Prev in Thread] Current Thread [Next in Thread]