AucTeX math mode in Windows Emacs

  • Follow


Hi,

i'm trying to use the precompiled Emacs+AuxTeX bundle from 
http://www.gnu.org/software/auctex/download-for-windows.html under 
Windows XP. I'm using a german keyboard layout and can't get the math 
mode to work with it. When i try to write greek letters, for example 
typing "`a" to get an "\alpha", i only get an "�" (like the french 
letter). I tried changing the LaTeX-math-abbrev-prefix to another 
symbol, but that didn't work either. Surprisingly, when I change my 
keyboard layout to US, it works, i.e. then "`a" (the key on my keyboard 
corresponding to the one, where the ` would be on an US-keyboard) gives 
me an "\alpha". What can I do to get math mode work with my keyboard layout?

David
0
Reply David 1/26/2007 9:37:18 AM

David McCann <darkwoods@gmx.de> writes:

> Hi,
>
> i'm trying to use the precompiled Emacs+AuxTeX bundle from
> http://www.gnu.org/software/auctex/download-for-windows.html under
> Windows XP. I'm using a german keyboard layout and can't get the math
> mode to work with it. When i try to write greek letters, for example
> typing "`a" to get an "\alpha", i only get an "=E0" (like the french
> letter). I tried changing the LaTeX-math-abbrev-prefix to another
> symbol, but that didn't work either. Surprisingly, when I change my
> keyboard layout to US, it works, i.e. then "`a" (the key on my
> keyboard corresponding to the one, where the ` would be on an
> US-keyboard) gives me an "\alpha". What can I do to get math mode work
> with my keyboard layout?

This is probably due to a unsuitable setting of the "dead keys".
(Deadkeys on =3D=3D pressing `+a will immediately generate =E0, off =3D=3D
pressing ` will immedeately generate `, hence `a.) It's possible that
this deadkey translation is on a level too deep for Emacs to
intercept. The keyboard layout will probably have a switch to disable
dead keys.

HTH
 Ulrich
--=20
Removing yourself from any responsibility from your actions is not the
same as the Buddhist principle of detatchment. Karma doesn't work in a
vaccuum.=20
Especially not the one between your ears.            -ororo
0
Reply brotherelf 1/26/2007 6:14:26 PM


* David McCann (2007-01-26) writes:

> I tried changing the LaTeX-math-abbrev-prefix to another 
> symbol, but that didn't work either.

How did you try to change it?

-- 
Ralf
0
Reply Ralf 1/26/2007 6:20:30 PM

Ralf Angeli schrieb:
> 
> How did you try to change it?
> 

I did "M-x set-variable LaTeX-math-abbrev-prefix" and tried to set it to 
another key. Actually I almost always get "Value ... does not match type 
string of LaTeX-math-abbrev-prefix". I added (requie 'latin-1) to my 
..emacs file and now at least "`" somehow works, i.e. if I type 
"`-space-a", for example, I get "\alpha". But since "`" is "shift-�" on 
a german keyboard, this is still a not so nice solution (requires four 
keys instead of two).
I tried to find a switch to disable deadkeys under Windows, as Ulrich 
suggested, but I couldn't find one.
0
Reply David 1/26/2007 6:43:17 PM

* David McCann (2007-01-26) writes:

> Ralf Angeli schrieb:
>> 
>> How did you try to change it?
>
> I did "M-x set-variable LaTeX-math-abbrev-prefix" and tried to set it to 
> another key. Actually I almost always get "Value ... does not match type 
> string of LaTeX-math-abbrev-prefix".

Use `M-x customize-variable RET LaTeX-math-abbrev-prefix RET'.  And
don't forget to read the doc string.

-- 
Ralf
0
Reply Ralf 1/26/2007 7:04:14 PM

Ralf Angeli schrieb:
> 
> Use `M-x customize-variable RET LaTeX-math-abbrev-prefix RET'.  And
> don't forget to read the doc string.
> 

Thank's alot! That worked.
0
Reply David 1/26/2007 7:10:08 PM

5 Replies
313 Views

(page loaded in 0.068 seconds)

Similiar Articles:













7/22/2012 5:41:23 AM


Reply: