Hi,
        I have just found some problems with Lyx (1.3.2, xforms) and the 
keyboard. Basically, dead keys (accents, and more importantly, the ^ 
symbol) are not working as advertised. I have a Spanish keyboard, and 
as such, I can only get the ^ symbol by pressing the ^-key and the 
space bar afterwards. If I do this in MathMode, the space bar press 
exits math mode (it's just a normal space, not associated with the dead 
key event before it). Accents don't work either (in normal or 
MathMode).

        I can solve problem of the ^ symbol by using the KDE keyboard selector 
and instructing it to use the nodeadkeys variation, but I can't get the 
accents 

        Here's the output of lyx -dbg key for a couple of cases. The first one 
covers the "^" problme: enter math-mode, type a number+^+space+\circ to 
get a number and the degree symbol. The problem arises that because you 
have to press space to get the ^ symbol, you get out of math mode! The 
insertion of the ^+space is shown next:

XWorkArea: Key is `asciicircum' [94]
XWorkArea: Keysym is `dead_circumflex' [65106]
Using keysym [B]
Workarea Diff: 4985
KeySym is dead_circumflex
action first set to [-1]
action now set to [-1]
Key [action=-1][S-dead_circumflex]
Trying without shift
Action now -1
Unknown, !isText() - giving up
XWorkArea: Key is `space' [32]
XWorkArea: Keysym is `space' [32]
Using keysym [B]
Workarea Diff: 2231
KeySym is space
action first set to [88]
action now set to [88]
Key [action=88][space]
SelfInsert arg[`']



        From the above, the keypress of the dead key is being 
recognised, but not acted upon? giving up?

        Another case (not that important): to get an accented vowel: 
acute 
accent+vowel:


XWorkArea: Key is `dead_acute' [65105]
XWorkArea: Keysym is `dead_acute' [65105]
Using keysym [B]
Workarea Diff: 61650
KeySym is dead_acute
action first set to [-1]
action now set to [-1]
Key [action=-1][dead_acute]
Unknown, !isText() - giving up
XWorkArea: Key is `o' [111]
XWorkArea: Keysym is `o' [111]
Using keysym [B]
Workarea Diff: 1248
KeySym is o
action first set to [88]
action now set to [88]
Key [action=88][o]
Cannot decode: o
SelfInsert arg[`']


        Again, recognised but still no joy getting the accented vowel 
working

        I am using lyx 1.3.2, built from source with gcc 3.3.1 on Debian Sarge. 
I have also used the debian version, to the same effect. I am using the 
en_GB.ISO-8859-15 locale, and xforms 1.0 (1.0-3 debian revision).

        Any help much appreciated,
Jose

Reply via email to