Thanks. Yeah, using 1.6.5 (in Ubuntu 10.04 LTS). On Wed, Apr 13, 2011 at 1:35 PM, Pavel Sanda <sa...@lyx.org> wrote: > Pavel Sanda wrote: >> Yang Zhang wrote: >> > I put this in my user.bind: >> > >> > \bind "M-m M-m S-Bar" "math-delim Vert Vert" >> > >> > This was actually auto-generated by adding a new shortcut in Tools > >> > Preferences. But after closing and going back to that Preferences >> > dialog, instead of "Shift-|" I see "Shift-" followed by an (Asian?) >> > Unicode character. >> > >> > After looking at the built-in math.bind I changed the above to: >> > >> > \bind "M-m M-m ~C-~M-~S-bar" "math-delim Vert Vert" >> > >> > This works. How come? >> >> the problem is in "Bar" instead of "bar". how exactly did you obtain "Bar"? > > maybe from lyx 1.6.x? Richard, we may have new candidate for pref2pref, cf > #6966, r35797. > pavel >
-- Yang Zhang http://yz.mit.edu/