On Mon, Nov 26, 2001 at 07:57:26PM +0100, Juergen Spitzmueller wrote: > My idea is more simple on one side and more complicated on the other. > We provide a possibility for the user to save often used commands, but > we do not provide the commands itself (well, at least not all). > If a user uses \clearpage alot, he can save a Macro which inserts an > ERT "\clearpage" and define a shortcut for this.
What's wrong with binding "command-sequence ert-insert ; self-insert \macro ; escape ; " to some key? If you insist on creating a collapsed inset you could try something like: "command-sequence ert-insert ; self-insert \macro ; escape ; word-backward ; inset-toggle ; char-forward ; " (everything on one line, some of the spaces are essential) > Or he can even define > his own LaTeX commands in the preamble and create a macro for this. > With the new LaTeX inset this would even look nice ;-) But of course I > do not know if this is possible like this, just an idea. I think I'll try to replace math macros with some more general macro facility some day just to show off what non-math-LyX-users have been missing all the time ;-) But that's certainly nothing for 1.2. Andre' -- André Pönitz .............................................. [EMAIL PROTECTED]