On 05/24/2010 09:47 AM, Liviu Andronic wrote:
Dear LyX users
I have some trouble assigning keyboard shortcuts to Sweave custom
insets. For exapmle, sweave.module contains
InsetLayout "S/R expression"
Following the instructions for LFUN_FLEX_INSERT in LyX functions, I
try to assign as shown below:
flex-insert Custom:"S/R expression"
However this fails. Upon LyX restart I also get several error messages:
LyX: Unknown tag `S/R' [around line 16 of file
~/.lyx-svn/bind/user.bind current token: 'S/R' context: '']
LyX: Unknown tag `expression""' [around line 17 of file
~/.lyx-svn/bind/user.bind current token: 'expression""' context: '']
KeyMap.cpp(352): KeyMap::read: error while reading bind
file:/home/liviu/.lyx-svn/bind/user.bind
The space and quotes are causing this. I am not sure what the solution
is, other than to remove the space.
Richard