From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ralf Angeli Newsgroups: gmane.emacs.help Subject: Re: Auctex&Beamer recognising pdftex mode automatically Date: Fri, 11 May 2007 08:00:36 +0200 Organization: nil Message-ID: <46440684$0$6398$9b4e6d93@newsspool2.arcor-online.net> References: <87wszgxr6e.fsf@wivenhoe.staff8.ul.ie> <861whnor3y.fsf@news.absatzen.de> Reply-To: angeli@caeruleus.net NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1178865181 7792 80.91.229.12 (11 May 2007 06:33:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 May 2007 06:33:01 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 11 08:32:59 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HmOgV-0008B9-8I for geh-help-gnu-emacs@m.gmane.org; Fri, 11 May 2007 08:32:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HmOnt-0007SB-20 for geh-help-gnu-emacs@m.gmane.org; Fri, 11 May 2007 02:40:37 -0400 Original-Path: shelby.stanford.edu!newshub.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.belwue.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.text.tex Original-Followup-To: gnu.emacs.help Mail-Copies-To: nobody User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.96 (gnu/linux) Cancel-Lock: sha1:r5jImsTsFRlngvTlF+g39sYt1uE= Original-Lines: 23 Original-NNTP-Posting-Date: 11 May 2007 08:00:36 CEST Original-NNTP-Posting-Host: d9983196.newsspool2.arcor-online.net Original-X-Trace: DXC=I@C?S9_\XM=U`5g[@c]@J1A9EHlD; 3Yc24Fo<]lROoR18kF List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:43872 Archived-At: * Ulrich M. Schwarz (2007-05-11) writes: > Brendan Halpin 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