From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jonas Newsgroups: gmane.emacs.help Subject: Re: how to tell AucTeX to use a Makefile Date: Fri, 12 Sep 2008 17:14:46 -0700 (PDT) Organization: http://groups.google.com Message-ID: <05060fe0-0467-4799-a9ad-98162ef0eee5@i76g2000hsf.googlegroups.com> References: <09a04f37-4d9c-42ef-af58-b6b8f5317ee7@w7g2000hsa.googlegroups.com> <87myjdxcsn.fsf@pdrechsler.de> 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: ger.gmane.org 1221266470 6356 80.91.229.12 (13 Sep 2008 00:41:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Sep 2008 00:41:10 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 13 02:42:06 2008 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 1KeJCl-00037e-7w for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Sep 2008 02:41:39 +0200 Original-Received: from localhost ([127.0.0.1]:35436 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KeJBk-0005dX-JZ for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Sep 2008 20:40:36 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!i76g2000hsf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-NNTP-Posting-Host: 87.180.163.66 Original-X-Trace: posting.google.com 1221264886 6909 127.0.0.1 (13 Sep 2008 00:14:46 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 13 Sep 2008 00:14:46 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: i76g2000hsf.googlegroups.com; posting-host=87.180.163.66; posting-account=yf-4bAoAAAB1N5yVQTL_SDwMfDM9fbya User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_4_11; de-de) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.22, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:162161 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:57504 Archived-At: On 16 Aug., 16:19, Patrick Drechsler wrote: > Jonas writes: > > for writting Latex-code I use Emacs and Auctex. Since I have a nice > > Makefile it would be great to use it and bind it to the shortcut C-c C- > > c. What do I have to write into my .emac file? > > ; At the end of the tex file, this will also find the correct make file > > ;; %%% Local Variables: > ;; %%% TeX-command-default: "Make" > ;; %%% mode: latex > ;; %%% TeX-master: "masterfile" > ;; %%% End: > > ; This adds Make to the tex command list. > (eval-after-load "tex" > =A0 '(add-to-list 'TeX-command-list '("Make" "make" TeX-run-command nil t= ))) > > HTH > > Patrick Great. Thank you very much.