From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: brotherelf@gmx.net (Ulrich M. Schwarz) Newsgroups: gmane.emacs.help Subject: Re: Auctex&Beamer recognising pdftex mode automatically Date: Fri, 11 May 2007 07:45:13 +0200 Organization: Obfuscation: Orientation Message-ID: <861whnor3y.fsf@news.absatzen.de> References: <87wszgxr6e.fsf@wivenhoe.staff8.ul.ie> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1178906924 4237 80.91.229.12 (11 May 2007 18:08:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 May 2007 18:08:44 +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 20:08:43 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 1HmZXm-00080e-DW for geh-help-gnu-emacs@m.gmane.org; Fri, 11 May 2007 20:08:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HmZfD-0000or-Qx for geh-help-gnu-emacs@m.gmane.org; Fri, 11 May 2007 14:16:23 -0400 Original-Path: shelby.stanford.edu!newshub.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!t-online.de!storethat.news.telefonica.de!telefonica.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Followup-To: gnu.emacs.help Original-Newsgroups: gnu.emacs.help,comp.text.tex User-Agent: netcat/1.10 Original-Lines: 26 Original-NNTP-Posting-Date: 11 May 2007 07:48:25 CEST Original-NNTP-Posting-Host: 223d14a8.newsspool2.arcor-online.net Original-X-Trace: DXC=UZkYDi; YocB2:OR3:3gaE@A9EHlD; 3YcB4Fo<]lROoRA8kF<]CAElhLlUcUS4OEThGk=f9YJmD]; Vm[KTR[VL@`Y11712jGN Original-X-Complaints-To: usenet-abuse@arcor.de Original-Xref: shelby.stanford.edu gnu.emacs.help:148287 comp.text.tex:350009 X-Mailman-Approved-At: Fri, 11 May 2007 14:12:05 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor 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:43888 Archived-At: 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.=20 > > 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=B9 cause LaTeX to behave as if you called pdflatex (even if you called latex). HTH Ulrich =B9 this can be disabled; the key phrase to look for is "parse first line". I believe it's enabled in recent TeXLives, don't know about the rest.=20 --=20 I've done a lot; God knows I've tried // To find the truth. I've even lied. But all I know is down inside// I'm bleeding... "Super Heroes"