>>>>> "Miyata" == Miyata Shigeru <[EMAIL PROTECTED]> writes:
Miyata> Amir Karger <[EMAIL PROTECTED]> wrote:
>> Otherwise, you'd have to write it so that it automatically
>> displayed what the person's personal bindings were at that time, or
>> something.
Miyata> Why don't you write a perl script to parse users' lyxrc,
Miyata> preference, ui and bind files, and to update UserGuide.lyx?
If I may reiterate the proposal I made on lyxdocs recently, we could
have lyxfunc which returns the first shortcut of a given lyxfunc (with
variants to have all shortcuts, or to list menu entries too).
Then we could have an inset which contains the value of a lyxfunc
(which would work only with lyxfuncs marked as "embedable"). Then the
documentation would always contain up to date shortcuts whatever the
user did.
Since this would be a very easy thing to do and would not affect the
rest of the code, I think we could even do that for 1.1.6 (without
GUI, since doc writers are smart guys). The inset would call the
lyxfunc only at creation time, so no smart update policy would be
needed. Note that this inset wil be useful in other places (for
example for the "yes/no" in LaTeXConfig.lyx, which would not need
anymore to be created at configure time.
Lars, would you object to that?
Doc writers, would that help you?
Angus, would you help me for the inset part?
JMarc