From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Ryan Krauss" Newsgroups: gmane.emacs.help Subject: Re: LaTeX Keybindings for Math Symbols Date: Thu, 27 Apr 2006 11:52:10 -0400 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1146153208 28225 80.91.229.2 (27 Apr 2006 15:53:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 27 Apr 2006 15:53:28 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 27 17:53:25 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FZ8n4-0006Tv-Pg for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Apr 2006 17:52:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FZ8n4-0000cl-28 for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Apr 2006 11:52:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FZ8mt-0000aP-2k for help-gnu-emacs@gnu.org; Thu, 27 Apr 2006 11:52:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FZ8mp-0000Zx-L6 for help-gnu-emacs@gnu.org; Thu, 27 Apr 2006 11:52:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FZ8mp-0000Zu-DZ for help-gnu-emacs@gnu.org; Thu, 27 Apr 2006 11:52:11 -0400 Original-Received: from [64.233.162.207] (helo=nz-out-0102.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FZ8pl-00021F-Jg for help-gnu-emacs@gnu.org; Thu, 27 Apr 2006 11:55:13 -0400 Original-Received: by nz-out-0102.google.com with SMTP id o1so1577045nzf for ; Thu, 27 Apr 2006 08:52:10 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TeuF95b0LzEchZYy5PkXCdBIGKrGbUtE5I73Yqe25hR2NqySu7mFNNiuDtSd690prIHRqyxS+uwXWkHTqDGVu1qIcy8PuZOvuWtwj+ofYx7wm6049n8BhYu3Pwk0D2LyjmjqS6rpVgb034gBwneIOyeKO1eg00SaWZxqnqX0oAg= Original-Received: by 10.64.112.8 with SMTP id k8mr2705558qbc; Thu, 27 Apr 2006 08:52:10 -0700 (PDT) Original-Received: by 10.64.47.14 with HTTP; Thu, 27 Apr 2006 08:52:10 -0700 (PDT) Original-To: bergv@uiuc.edu In-Reply-To: Content-Disposition: inline X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:34682 Archived-At: Thank you. As I googled around for a while, I eventually came across auctex, and it does seem like what I want. I was not aware of it when I made the original post, but I am now. Thanks, Ryan On 4/27/06, Maarten Bergvelt wrote: > In article , > Ryan Krauss wrote: > > > I would like to create Latex keybindings for math symbols (or find > > out what they are if they already exist). For example, in Vim I > > used to have mappings for `t -> \tau so that typing ` and then a > > english character would insert the Latex math code for the > > corresponding greek symbol (`a would insert \alpha and `b would > > insert \beta ...). > > > > My first attempts at writing a key binding have failed: > > (global-set-key "`q" "\theta") > > leads to: > > error: "Key sequence ` q uses invalid prefix characters" > > > > So, I think part of the problem is that I need a valid set of > > short-cut keys where I can set a,b,d,t, q, w, ... versions to things. > > > > Do such mappings for latex greek characters already exist? If not, > > can someone help me with an example of a valid global-set-key? > > Are you aware of the existence of AucTeX? > > http://www.gnu.org/software/auctex/ > > It looks as if you want to reinvent the wheel. In particular if you > enter Math Mode 'a inserts \alpha. > -- > Maarten Bergvelt > > > _______________________________________________ > help-gnu-emacs mailing list > help-gnu-emacs@gnu.org > http://lists.gnu.org/mailman/listinfo/help-gnu-emacs >