On 27.06.08, Hellmut Weber wrote:

>> But as I said in my previous reply to Günter, I doubt that the bind file
>> can take care of a dead key (the acute accent in my case).
> IIRC you must indicate somewhere, sorry I don't remember correctly, that  
> you want these special keys (accents, tilde and the like) to behave as  
> dead keys, i.e. to work only together with another key.

1. If the accent keys are *not* defined as dead key in the XWin setup,
   it's relatively easy to give them a "dead key behaviour" in LyX by
   binding them to accent-* functions (if you know their names).
   
   You cannot define to get ´a -> á and ´c -> ç, though
   (but will receive ´c -> ć).

2. If the accent keys are defined as dead keys in the XWin setup
   (usually by choosing some XKB option in xorg.conf or some
   xorg.conf-generating software), LyX will not "see" distinct
   keystrokes, but the X server will combine e.g. ´c to one 
   "ć event" and report this to LyX.
   
   It should be possible to configure LyX to do some special action
   whenever receiving an "ć event", however this seems not to work.
   
   I also tested with ł == "lstroke"  which I can input via:
   
     ł <== WinKey + /  l
     ł <== AltGr + l   
     
   In both cases, it self-inserted even when the bind file contains
   
     \bind "lstroke"  "unicode-insert 0x00e7"  # insert a ç (c with cedilla)

   Maybe I have to specify some modifier key.
   
   Maybe there was a name change, latinkeys.bind is outdated but
   the keys are self-inserting anyway. (There was a name-change in
   some cases with the xforms->QT transition.)
   
   Unfortunately, the German Customization guide does not specify the syntax of
   the key names :-(

Günter

Reply via email to