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

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

Re: how to tell AucTeX to use a Makefile


From: Patrick Drechsler
Subject: Re: how to tell AucTeX to use a Makefile
Date: Sat, 16 Aug 2008 16:19:36 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Jonas <address@hidden> 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"
  '(add-to-list 'TeX-command-list '("Make" "make" TeX-run-command nil t)))

HTH

Patrick


reply via email to

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