[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: adding C-c C-f C-p shortcut for \textipa
From: |
Roger Levy |
Subject: |
Re: adding C-c C-f C-p shortcut for \textipa |
Date: |
Tue, 22 Jan 2008 11:49:52 -0800 (PST) |
User-agent: |
G2/1.0 |
On Jan 22, 9:54 am, Stephen Berman <Stephen.Ber...@gmx.net> wrote:
> On Mon, 21 Jan 2008 15:18:13 -0800 (PST) Roger Levy <sinos...@gmail.com>
> wrote:
>
> > I am a linguist who uses AucTeX and I would like to add a key binding
> > for C-c C-f C-p that behaves exactly like other C-c C-f * commands
> > (e.g., C-c C-f C-e for \emph), but introduces the textfont \textipa
> > (for the International Phonetic Alphabet). How would I do this? It
> > looks to me like I need to customize TeX-font-list but I'm not sure
> > the best way to do it (I'd prefer to doing this in my .emacs file
> > directly to using Emacs customization menus).
>
> Does this work?
>
> (add-to-list 'TeX-font-list '(?\C-p "\\textipa{" "}"))
Nope...but thanks for the suggestion! (Also, putting that straight
into .emacs causes emacs to balk on startup, presumably because it
doesn't know anything about 'TeX-font-list.)
Actually, please don't respond further to this message as I think the
AUCTeX mailing list is a more appropriate forum.
Roger