Hello,

I have installed the version lyx-1.1.6fix2 and I encounter the same problems
with dead keys that I had with version 1.1.4.

Handling of dead keys is better but the grave accent is not correct 
and the ^ ' " ` obtained with <quote> <space> do not lead to the correct ascii
chars.

I patched the lyxlookup.C file in a quick & dirty way that works perfectly:

        149c149,151
        <               return true;
        ---
        >               //return true;
        >               //jacsib
        >               return false;

This takes place in function isDeadEvent:

static
bool isDeadEvent(KeySym keysym)
{
        // Can this be done safely in any other way?
        // This is all the dead keys I know of in X11R6.1
        switch (keysym) {
#ifdef XK_dead_grave
        case XK_dead_grave:
#endif

(etc...)

                //return true;
                //jacsib
                return false;
        default:
                return false;
        }
}

Therefore lyx never gets the info that there is a dead key going on. I let the
OS handle it, just like on an xterm.


This is the general question with Xwindow: which software layer is handling
the dead keys?

cheers

Jacques


-- 
Dr. Jacques B. Siboni mailto:[EMAIL PROTECTED]
8 pass. Charles Albert, F75018 Paris, France
Tel. & Fax: 33 (0) 1 42 28 76 78
Home Page: http://www.lutecium.org/jacsib/

Reply via email to