all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

* 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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.