unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Jonas <jonasmetz@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: how to tell AucTeX to use a Makefile
Date: Fri, 12 Sep 2008 17:14:46 -0700 (PDT)	[thread overview]
Message-ID: <05060fe0-0467-4799-a9ad-98162ef0eee5@i76g2000hsf.googlegroups.com> (raw)
In-Reply-To: 87myjdxcsn.fsf@pdrechsler.de

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	other threads:[~2008-09-13  0:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-16 10:52 how to tell AucTeX to use a Makefile Jonas
2008-08-16 14:19 ` Patrick Drechsler
2008-09-13  0:14   ` Jonas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=05060fe0-0467-4799-a9ad-98162ef0eee5@i76g2000hsf.googlegroups.com \
    --to=jonasmetz@googlemail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).