Hi
I had this question on the users list some time ago but did not get any
response. Now I hope to get some help from here instead.
/johan

On Fri, 11 Mar 2005, Johan Ingvast wrote:

> Hi
> I have a mysterious problem in math mode.
> When I type "^" to get the superscript a hat sign is put into the mathbox
> instead. 
> I know there is a bind "M-m-e" that I can use, and it works, but I'm used
> to the hat so I'd really like to get it working.
> 
> A comparison of the output from "lyx -dbg lyxrc" with  the output from
> another mashine where it works yields identical result.
> Running lyx remote on another machine works as it should, so the reason
> should not be my X installation.
> Also running lyx as another user on a fresh account gives the same error.
> Therefore I don't think the error is in my personal configuration.
> 
> One thing that I don't understand is that my hat is normally a dead key,
> but when in lyx it is not.
> 
> Here is the output from running "lyx -dbg keyboard" typing "a^b".
> I hope it gan give any hints.
>     
>     Press key 65 text "a", ascii "97"
>     Setting key to 65, a
>     KeySym is a
>     isOK is 1
>     isMod is 0
>     encoding is iso8859-1
>     Using codec ISO 8859-1
>     ISOEncoded returning value 97
>     action first set to [88]
>     action now set to [88]
>     Key [action=88][a]
>     SelfInsert arg[`']
>     Press key 4128 text "none", ascii "0"   <-- pressing shift
>     Setting key to 4128, 
>     KeySym is Shift_L
>     isOK is 1
>     isMod is 1
>     isModifier true
>     Press key 4690 text "^", ascii "94"    <-- pressing "^"
>     Setting key to 4690, ^
>     KeySym is ^
>     isOK is 1
>     isMod is 0
>     encoding is iso8859-1
>     Using codec ISO 8859-1
>     ISOEncoded returning value 94
>     action first set to [-1]
>     action now set to [-1]
>     Key [action=-1][S-^]
>     Trying without shift
>     Action now -1
>     isText for key 4690 isPrint is 1
>     isText() is true, inserting.
>     SelfInsert arg[`']
>     Press key 66 text "b", ascii "98"
>     Setting key to 66, b
>     KeySym is b
>     isOK is 1
>     isMod is 0
>     encoding is iso8859-1
>     Using codec ISO 8859-1
>     ISOEncoded returning value 98
>     action first set to [88]
>     action now set to [88]
>     Key [action=88][b]
>     SelfInsert arg[`']
> 
> I'm running Fedora core 3 with lyx 1.3.5 compiled on the machine.
> Funny thing is that it worked earlier with the same os-installation and
> lyx. 
> 
> Thanks in advance
> 
> /johan
> 
> 

-- 
Johan Ingvast, PhD student http://www.md.kth.se/~ingvast
Department of Machine Design, Royal Institute of Technology, Sweden
http://www.md.kth.se, http://www.md.kth.se/~cas <--- Walking robot proj
tel +46 (0)8 790 95 36  mob. +46 (0)70 34 34 498

Reply via email to