all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Reiner Steib <4uce.02.r.steib@gmx.net>
Subject: Re: Key bindings for AUXTEX
Date: Thu, 12 Sep 2002 13:47:31 +0200	[thread overview]
Message-ID: <v9bs732zvw.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: Pine.GSO.4.44.0209112321080.13265-100000@viento.eece.unm.edu

On Thu, Sep 12 2002, Wael Abd-Almageed wrote:

> I'm new to Emacs and Lisp. I was wondering if someone would please tell me
> how to bind keys to the "Command" menu of the emacs in the LaTeX major
> mode.
>
> This is what I have in the "tex-site.el" file:
>
> (defvar TeX-command-list
>   (list(list "LaTeX" "latex \\nonstopmode\\input{%t}" 'TeX-run-LaTeX nil
> t)
>        (list "View" "yap %d" 'TeX-run-command nil t)
[...]
>        (list "Other" "" 'TeX-run-command t t)))

Beside what Oliver mentioned (use `C-c C-c' and TAB to complete the
commands), you can bind the commands in this way: 

;; in tex-site.el or in ~/.emacs:
(eval-after-load
 "latex"
 '(define-key LaTeX-mode-map [(shift f6)]
    '(lambda ()
       (interactive)
       (TeX-command "View" 'TeX-master-file))))

This binds [(shift f6)] to the "View" entry.

This is not a Gnus issue, Crosspost & Followup-To: gnu.emacs.help

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/

           reply	other threads:[~2002-09-12 11:47 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <Pine.GSO.4.44.0209112321080.13265-100000@viento.eece.unm.edu>]

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=v9bs732zvw.fsf@marauder.physik.uni-ulm.de \
    --to=4uce.02.r.steib@gmx.net \
    --cc=reiner.steib@gmx.de \
    /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.