auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX] Re: Defining LaTeX-math-list


From: Andreas Matthias
Subject: [AUCTeX] Re: Defining LaTeX-math-list
Date: Wed, 06 Sep 2006 07:54:00 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Ralf Angeli wrote:

> * Andreas Matthias (2006-09-05) writes:
> 
>> David Kastrup wrote:
>> 
>>> Andreas Matthias <address@hidden> writes:
>>> 
>>>> I am using \varphi more frequently than \phi, so I tried
>>>> to redefine the key mapping of `f to \varphi:
>>>> 
>>>> (setq LaTeX-math-list 
>>>>       '(?f . "varphi"))
>>>> 
>>>> But that didn't work. How do I set LaTeX-math-list correctly?
>>> 
>>> That's not a list, but a single cons.
>>> 
>>> Try
>>> (setq LaTeX-math-list
>>>       '((?f . "varphi")))
>> 
>> Evaluating that /after/ entering a TeX-mode buffer seems to have
>> no effect at all.
>> 
>> Evaluating it /before/ entering a TeX-mode buffer produces the
>> following error message:
>> 
>>    File mode specification error: (wrong-type-argument listp "varphi")
> 
> The variable value has to be a list of lists, not a list of cons
> cells:
> 
> (setq LaTeX-math-list
>       '((?f "varphi")))

I see. That's it. Many thanks!

Ciao
Andreas





reply via email to

[Prev in Thread] Current Thread [Next in Thread]