On Thu, Dec 12, 2002 at 06:32:02PM +0100, Nicolas Ferre' wrote: > Christian Ridderström wrote: > > > > On Thu, 12 Dec 2002, [ISO-8859-15] Thomas Schönhoff wrote: > > > > > Hello all, > > > > > > I just unsuccessfully tried to find out, what are the default settings > > > of the keymap in LyX! > > > > > > I want to use circumflex and other accented letters like "a'" and > > > alike.
Lyx1.1.6's key bindings no longer work for a' etc in lyx1.2.1. I had to define them all by myself. (Function accent-xxxx etc no longer work under the math-mode in lyx1.2.1 so I changed them to math-insert \vec etc.) # math accent \bind "S-C-asciitilde" "math-insert \tilde" \bind "M-S-asciitilde" "math-insert \widetilde" \bind "C-s grave" "math-insert \grave" \bind "C-S-asciicircum" "math-insert \hat" \bind "M-S-asciicircum" "math-insert \widehat" \bind "M-S-asciicircum" "math-insert \widehat" \bind "C-S-underscore" "math-insert \bar" \bind "M-S-underscore" "math-insert \overline" \bind "C-S-plus" "math-insert \vec" \bind "M-S-plus" "math-insert \overrightarrow" \bind "C-period" "math-insert \dot" You can have a look at my bind file at http://www.stat.rice.edu/~bpeng/Computing.htm > I just tried the lyx-bindings script on > /usr/local/share/lyx/bind/cua.bind and it results in an empty file > (apart from the two first lines: "Bind file: > /usr/local/share/lyx/bind/cua.bind" and "Key Description") > Any idea of what can happening ? I checked the permissions, the > /usr/local/share/lyx/bind/*.bind are readable. I used this script once and it gave me the desired output. I have no idea what is wrong in your case. Can you see anything special when you open cua.bind? What will happen if you apply the script to other bind files like sciword.bind? > Maybe it can explain why my own bindings are not recognized by Lyx. If you use lyx, especially math symbols a lot, I would suggest that you copy cua.bind (or other bind file you like) to .lyx/bind and modify it (use bind_file to load your own bindings is preferred). You should then tell lyx to use this file in preference -> interface -> bind file. Test your bind file whenever you add one or two bindings; have a look at lyx's output at start time for complains about bad keybindings. Good luck. -- Bo Peng