I'm trying to set up my keybindings so that when I enter a greek character,
it inserts the greek character in math mode.  I have my keyboard set up
(with xmodmap) so that pressing Mode_switch-a generates "Greek_alpha",
Mode_switch-b generates "Greek_beta", and so on.  Then in my lyx keybindings
file I have a bunch of lines like:
\bind "Greek_alpha" "math-insert \alpha"
\bind "Greek_beta" "math-insert \beta"
...

For some reason though, these bindings get ignored, and just the regular
greek letters get input (i.e. if I look at the source with view->view
source, I see the actual greek characters, instead of \alpha, \beta, etc.
commands).  Then if I try to export to dvi or pdf, I get a warnig about some
characters not being representable in the chosen encoding.  I also tried
binding other functions to the greek letters, just to test, but the bindings
are always ignored.

Does anyone know what might be going wrong? Thanks.
-- 
View this message in context: 
http://n2.nabble.com/Can%27t-bind-lyx-function-to-certain-keys-tp784706p784706.html
Sent from the LyX - Users mailing list archive at Nabble.com.

Reply via email to