On Mon, Mar 24, 2003 at 05:03:39PM +0100, Gunnar wrote:
> > > I would like the action to insert some LaTeX code, a figure, and then
> > > some more LaTeX code. How do I define that?
> >
> > By playing around with
> > command-sequence ert-insert ; self-insert xxx ; inset-toggle ;
> > etc.
>
> Ehh.. sorry for being stupid. Where do I write that? Is there any example I
> can look at?
in lib/ui/default.ui:
Toolbar
Layouts
Icon "file-open"
Icon "buffer-write"
So:
Icon "command-sequence ert-insert ; self-insert xxx ; inset-toggle ;..."
might do.
> What does "ert" mean?
"Evil Red Text"
> Is that another name for "raw" latex code?
Exactly.
Andre'
--
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)