Roman Maurer wrote:
>
> I'd like to extend LyX with support for Latin-2 keyboards, I just
> don't know if I'll know enough to do this. Could someone please
> tell me where to start (I downloaded the sources and I know some C++)?
I managed to convince LyX to display "č" when I pressed the button
with "ccaron". I put this stupid code into kbsequence.C, function
kb_sequence::getiso() after "... c = getsym()":
if (c == 488) // 488 is X keycode for key ccaron
return 232; // this is ISO Latin 2 code for letter ccaron
Are there any plans to extend LyX keyboard input with a lookup
table or something like that? For ISO Latin 1, lookup will luckily
be 1-1, but for ISO Latin 2, it will be more complicated, e. g.
keycode ISO Latin 2 letter ISO Latin 2 code
488 ccaron 232
441 scaron 185
446 zcaron 190
...
etc.
This would improve usefulnes of LyX for non-Latin-1-keyboard users.
--
Regards,
Roman