COMPGROUPS.NET | Search | Post Question | Groups | Stream | About | Register

### AucTeX math mode in Windows Emacs

• Email
• Follow

Hi,

i'm trying to use the precompiled Emacs+AuxTeX bundle from
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

See related articles to this posting

David McCann <darkwoods@gmx.de> writes:

> Hi,
>
> i'm trying to use the precompiled Emacs+AuxTeX bundle from
> 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

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

* 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

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
I tried to find a switch to disable deadkeys under Windows, as Ulrich
suggested, but I couldn't find one.

 0

* 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

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

5 Replies
409 Views

Similar Articles

12/4/2013 1:45:24 PM
page loaded in 912886 ms -1