Reuben Thomas wrote:
> Dominik Waßenhoven <[EMAIL PROTECTED]> writes:
>
>> You could add a shortcut to your local .bind-file, e.g.
>>
>> \bind "M-o" "command-sequence ert-insert; self-insert \oe{};
>> inset-toggle"
>> \bind "M-S-O" "command-sequence ert-insert; self-insert \OE{};
>> inset-toggle"
>
> Thanks, this works fine...but for some reason, only if I have no
> preferences file in my ~/.lyx directory; otherwise, my ~/.lyx/lyxrc
If there is a file ~/.lyx/preferences, it is read instead of ~/.lyx/lyxrc.
In fact, I'd rather surprised ~/.lyx/lyxrc is read at all...
Nope you're right. Here's the code:
readRcFile("lyxrc.defaults");
system_lyxrc = lyxrc;
system_formats = formats;
system_converters = converters;
system_lcolor = lcolor;
// If there is a preferences file we read that instead
// of the old lyxrc file.
if (!readRcFile("preferences"))
readRcFile("lyxrc");
So, shove all the stuff in ~/.lyx/lyxrc in the ~/.lyx/preferences file and
away you go.
> file is ignored.
>
> I can get around this problem by adding the lines to the preferences
> file, but I presume they'll be lost if I change any of the
> preferences.
>
> I'm using LyX 1.3.4. Is this a bug? Or am I doing something wrong?
My interpretation is that you're doing something wrong.
--
Angus