[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-AUCTeX] help needed invoking makefile
From: |
Patrick Drechsler |
Subject: |
Re: [Bug-AUCTeX] help needed invoking makefile |
Date: |
Sun, 17 Jun 2007 10:53:59 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux) |
Ralf Angeli <address@hidden> writes:
> * Patrick Drechsler (2007-06-16) writes:
[...]
>> I was wondering if it's possible to pass the "TeX-master"
>> information to Emacs' `M-x compile' command.
[...]
>
> If all you want to do is calling make in the directory of the master
> file, the following code should work:
>
> (eval-after-load "tex"
> '(add-to-list 'TeX-command-list '("Make" "make" TeX-run-command nil t)))
>
> This adds a "Make" command to `TeX-command-list' which you can choose
> after typing `C-c C-c'. If it should be the default for the files in
> this project, add a line like
> %%% TeX-command-default: "Make"
> to each relevant local variables stanza.
Thank you very much Ralf, this is exactly what I was after!
Cheers,
Patrick
--
"What happens if a big asteroid hits Earth ? Judging from
realistic simulations involving a sledge hammer and a common
laboratory frog, we can assume it will be pretty bad."
-- Dave Barry