Re: customize userinterface

2003-03-24 Thread Andre Poenitz
On Mon, Mar 24, 2003 at 06:36:27PM +0100, Gunnar wrote: > >Icon "command-sequence ert-insert ; self-insert xxx ; inset-toggle > > Allright, now it starts to get a little bit clearer, Still the question of > how to give a fixed parameter to ert-insert so I get that as LaTeX code. xxx is a fixed

Re: customize userinterface

2003-03-24 Thread Gunnar
>Icon "command-sequence ert-insert ; self-insert xxx ; inset-toggle Allright, now it starts to get a little bit clearer, Still the question of how to give a fixed parameter to ert-insert so I get that as LaTeX code. I still use LyX 1.1.6fix4. Has much changend in 1.3.1 concerning this? I guess

Re: customize userinterface

2003-03-24 Thread Andre Poenitz
On Mon, Mar 24, 2003 at 05:08:26PM +, roy nicolas wrote: > Do we have to be root to do this modification (which will be for all > users) are can we copy this file to a local dir ? I think putting it in ~/.lyx/ui/default.ui would suffice. [As would quoting just the relevant parts of previous

Re: customize userinterface

2003-03-24 Thread roy nicolas
Do we have to be root to do this modification (which will be for all users) are can we copy this file to a local dir ? N. > in lib/ui/default.ui: > > Toolbar > Layouts > Icon "file-open" > Icon "buffer-write" > > So: > > Icon "command-sequence ert-insert ; self-insert xxx ; i

Re: customize userinterface

2003-03-24 Thread Andre Poenitz
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..

Re: customize userinterface

2003-03-24 Thread Gunnar
> > 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 ca

Re: customize userinterface

2003-03-24 Thread Andre Poenitz
On Mon, Mar 24, 2003 at 04:19:27PM +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. Andre' -- Those who desir

customize userinterface

2003-03-24 Thread Gunnar
Hello. I would like to add a new button to the LyX interface. I have found the file: /usr/share/lyx/ui/default.ui and it seems easy to make changes to that file, but how do I define what action to perform when the button is pressed? I would like the action to insert some LaTeX code, a figure,