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: Jonas
Subject: Re: how to tell AucTeX to use a Makefile
Date: Fri, 12 Sep 2008 17:14:46 -0700 (PDT)
User-agent: G2/1.0

On 16 Aug., 16:19, Patrick Drechsler <patr...@pdrechsler.de> wrote:
> Jonas <jonasm...@googlemail.com> 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

Great. Thank you very much.


reply via email to

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