On Thu, 23 May 2002, Shay Elkin wrote:

> Well, I managed to write Hebrew in LyX (1.1.6fix4), and there was much
> rejoice.
>
> Alas, it turns out I can only write the whole document in Hebrew or in
> English: F12 doesn't seem to switch keymap (And I tend to believe LyX does
> get the keypress, as I tend to use that key in some other programs without a
> trouble), so in order to change the language, I use
> Layout->Document->Language, which is lightyears away from optimal, or even
> useful.
>
> (In LyX's configuration, the first keymap is defined to be null.kmap, the
> second hebrew.kmap).
>
> All the documentation I could find did not provide an answer, so this
> inquiring mind would like to know -- what am I doing wrong?

Create the following in $HOME/.lyx/bind/my.bind




# This puts in the standard keyboard definitions:
\bind_file cua.bind
# You may want emacs-style bindings instead:
#\bind_file emacs.bind

\bind "F12" "language hebrew"




Now select thisfile as your keyboard binding file (I don't recall exactly
where from the user interface). I believe that at this point you need to
restart lyx.

This is untested (I'm quoting a configuration file from a remote machine,
but the configuration file hasn't been used for a while), so please report
if it works

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to