Hi William, On Thu, Jan 23, 2014 at 6:37 AM, William Furnass <w...@thearete.co.uk> wrote: > I'm running LyX v2.06 on Linux Mint 16. In other applications I can > enter a unicode character using ctrl-shift-u then the code point. > However, I'm unable to do this in LyX, even if I explicitly bind > 'unicode-input' to ctrl-shift-u in the preferences (results in '\bind > "C-S-u" "unicode-insert"' being added to .lyx/bind/user.bind). > > Anyone got any ideas why this isn't working?
Yes. It's because as you say one must enter the full string on the mini-buffer. You can only make shortcuts to a full command, not something that still requires input. Also note that it's 'unicode-insert' and not 'unicode-input' in LyX 2.1 (perhaps this changed?). What happens for you when you do ctrl+shift+u? On Ubuntu 13.10 with LyX2.1beta2 I get a "u" with an underline, but on the next character it disappears. I have the feeling this is a Qt-related issue (I was just wrong on this same feeling in a thread before though so beware). > I know I can enter > unicode using alt-x then typing 'unicode-input <<codepoint>>' in the > input box that appears at the bottom of the main window but this is > rather cumbersome. I've always been interested in use cases for this. Do you just remember lots of handy unicode so you can enter them quickly? I only use them when I look them up some where. So for me, the 10 seconds of having to type alt-x then typing 'unicode-insert <<codepoint>>' is far less than the time it takes for me to actually find the code of the character I want to insert. On the other hand, if you have 10 or so unicodes memorized, you could just instead make shortcuts. For example, if you want to enter unicode <Ucode>, bind something to 'unicode-insert <Ucode>' and for a different one make a new one. This won't work if you have many of them memorized though, but I just wanted to suggest that in case you hadn't thought of it. Best, Scott