Re: Suggestion - preamble inset

2010-12-03 Thread Abdelrazak Younes
On 02/12/2010 22:45, Richard Heck wrote: On 12/01/2010 07:45 AM, Abdelrazak Younes wrote: Why not simply add a preamble editor in the branches dialog? LyX will then collect the preamble for each branches. I guess this would be a format change but it strikes me as the correct solution...

Re: Suggestion - preamble inset

2010-12-03 Thread Abdelrazak Younes
On 02/12/2010 22:45, Richard Heck wrote: On 12/01/2010 07:45 AM, Abdelrazak Younes wrote: Why not simply add a preamble editor in the branches dialog? LyX will then collect the preamble for each branches. I guess this would be a format change but it strikes me as the correct solution...

Re: Suggestion - preamble inset

2010-12-02 Thread Richard Heck
On 12/01/2010 07:45 AM, Abdelrazak Younes wrote: Why not simply add a preamble editor in the branches dialog? LyX will then collect the preamble for each branches. I guess this would be a format change but it strikes me as the correct solution... Kind of crowded already, but perhaps a combo

Re: Suggestion - preamble inset

2010-12-02 Thread Richard Heck
On 12/01/2010 07:45 AM, Abdelrazak Younes wrote: Why not simply add a preamble editor in the branches dialog? LyX will then collect the preamble for each branches. I guess this would be a format change but it strikes me as the correct solution... Kind of crowded already, but perhaps a combo

Re: Suggestion - preamble inset

2010-12-01 Thread Guenter Milde
On 2010-11-30, Richard Heck wrote: On 11/30/2010 05:51 AM, Guenter Milde wrote: On 2010-11-29, Michal wrote: That's something I didn't know - I thought that the InPreamble option works for 'Style' only. Well, I'll have to take a closer look into a documentation then. Thank you for

Re: Suggestion - preamble inset

2010-12-01 Thread Abdelrazak Younes
On 01/12/2010 13:29, Guenter Milde wrote: On 2010-11-30, Richard Heck wrote: On 11/30/2010 05:51 AM, Guenter Milde wrote: On 2010-11-29, Michal wrote: That's something I didn't know - I thought that the InPreamble option works for 'Style' only. Well, I'll have to take a closer look into

Re: Suggestion - preamble inset

2010-12-01 Thread Michal
Why not simply add a preamble editor in the branches dialog? LyX will then collect the preamble for each branches. I guess this would be a format change but it strikes me as the correct solution... This is similar to my first 'solution', which I've suggested a long time ago. The reaction

Re: Suggestion - preamble inset

2010-12-01 Thread Guenter Milde
On 2010-11-30, Richard Heck wrote: > On 11/30/2010 05:51 AM, Guenter Milde wrote: >> On 2010-11-29, Michal wrote: >>> That's something I didn't know - I thought that the InPreamble >>> option works for 'Style' only. Well, I'll have to take a closer look >>> into a documentation then. Thank

Re: Suggestion - preamble inset

2010-12-01 Thread Abdelrazak Younes
On 01/12/2010 13:29, Guenter Milde wrote: On 2010-11-30, Richard Heck wrote: On 11/30/2010 05:51 AM, Guenter Milde wrote: On 2010-11-29, Michal wrote: That's something I didn't know - I thought that the InPreamble option works for 'Style' only. Well, I'll have to take a closer look into

Re: Suggestion - preamble inset

2010-12-01 Thread Michal
> Why not simply add a preamble editor in the branches dialog? LyX will > then collect the preamble for each branches. I guess this would be a > format change but it strikes me as the correct solution... This is similar to my first 'solution', which I've suggested a long time ago. The

Re: Suggestion - preamble inset

2010-11-30 Thread Guenter Milde
On 2010-11-29, Michal wrote: [...] After that, I think the only remaining thing is to change the look of it to be more like ERT (typewriter font, changing color to red, etc.) This can all be done in a *.module file in your personal LYXDIR. See the HelpCustomization documentation.

Re: Suggestion - preamble inset

2010-11-30 Thread Richard Heck
On 11/30/2010 05:51 AM, Guenter Milde wrote: On 2010-11-29, Michal wrote: That's something I didn't know - I thought that the InPreamble option works for 'Style' only. Well, I'll have to take a closer look into a documentation then. Thank you for pointing it out. Sorry, I did not test

Re: Suggestion - preamble inset

2010-11-30 Thread Guenter Milde
On 2010-11-29, Michal wrote: >> > [...] After that, I think the only remaining thing is >> > to change the look of it to be more like ERT (typewriter font, >> > changing color to red, etc.) >> This can all be done in a *.module file in your personal LYXDIR. See >> the "Help>Customization"

Re: Suggestion - preamble inset

2010-11-30 Thread Richard Heck
On 11/30/2010 05:51 AM, Guenter Milde wrote: On 2010-11-29, Michal wrote: That's something I didn't know - I thought that the InPreamble option works for 'Style' only. Well, I'll have to take a closer look into a documentation then. Thank you for pointing it out. Sorry, I did not test

Re: Suggestion - preamble inset

2010-11-29 Thread Richard Heck
On 11/28/2010 10:25 PM, Michal wrote: I've fixed this, in the sense that you can now use LaTeXType paragraph. Try this: [...] Thank you for your help! I guess I'll have to wait until the next beta comes out then. After that, I think the only remaining thing is to change the look of it to

Re: Suggestion - preamble inset

2010-11-29 Thread Guenter Milde
On 2010-11-29, Michal wrote: I've fixed this, in the sense that you can now use LaTeXType paragraph. Try this: [...] Thank you for your help! I guess I'll have to wait until the next beta comes out then. After that, I think the only remaining thing is to change the look of it to be

Re: Suggestion - preamble inset

2010-11-29 Thread Michal
I'll have to think about including it. It's a pretty specialized thing, and seems to me to be very much an expert capability (the way local layout was for a while). I'm not sure. It could be very useful for novices, too. For instance, let's assume that each branch contains the same text,

Re: Suggestion - preamble inset

2010-11-29 Thread Michal
[...] After that, I think the only remaining thing is to change the look of it to be more like ERT (typewriter font, changing color to red, etc.) This can all be done in a *.module file in your personal LYXDIR. See the HelpCustomization documentation. That is exactly what I meant.

Re: Suggestion - preamble inset

2010-11-29 Thread Richard Heck
On 11/28/2010 10:25 PM, Michal wrote: I've fixed this, in the sense that you can now use "LaTeXType paragraph". Try this: [...] Thank you for your help! I guess I'll have to wait until the next beta comes out then. After that, I think the only remaining thing is to change the look of it

Re: Suggestion - preamble inset

2010-11-29 Thread Guenter Milde
On 2010-11-29, Michal wrote: >> I've fixed this, in the sense that you can now use "LaTeXType >> paragraph". Try this: >> [...] > Thank you for your help! I guess I'll have to wait until the next > beta comes out then. After that, I think the only remaining thing is to > change the look of

Re: Suggestion - preamble inset

2010-11-29 Thread Michal
> I'll have to think about including it. It's a pretty specialized > thing, and seems to me to be very much > an "expert" capability (the way local layout was for a while). I'm not sure. It could be very useful for novices, too. For instance, let's assume that each branch contains the same

Re: Suggestion - preamble inset

2010-11-29 Thread Michal
> > [...] After that, I think the only remaining thing is > > to change the look of it to be more like ERT (typewriter font, > > changing color to red, etc.) > > This can all be done in a *.module file in your personal LYXDIR. See > the "Help>Customization" documentation. That is exactly what

Re: Suggestion - preamble inset

2010-11-28 Thread Richard Heck
On 11/28/2010 01:21 AM, Michal Skrzypek wrote: I think this may be quite easy to do already, though it is a bit of a hack. LyX 2.0's layouts have an InPreamble tag, intended primarily for use with document classes that want, say, \title to be in the preamble. It should be possible to create a

Re: Suggestion - preamble inset

2010-11-28 Thread Michal
I've fixed this, in the sense that you can now use LaTeXType paragraph. Try this: [...] Thank you for your help! I guess I'll have to wait until the next beta comes out then. After that, I think the only remaining thing is to change the look of it to be more like ERT (typewriter font,

Re: Suggestion - preamble inset

2010-11-28 Thread Richard Heck
On 11/28/2010 01:21 AM, Michal Skrzypek wrote: I think this may be quite easy to do already, though it is a bit of a hack. LyX 2.0's layouts have an "InPreamble" tag, intended primarily for use with document classes that want, say, \title to be in the preamble. It should be possible to create a

Re: Suggestion - preamble inset

2010-11-28 Thread Michal
> I've fixed this, in the sense that you can now use "LaTeXType > paragraph". Try this: > [...] Thank you for your help! I guess I'll have to wait until the next beta comes out then. After that, I think the only remaining thing is to change the look of it to be more like ERT (typewriter

Suggestion - preamble inset

2010-11-27 Thread Michal
Some time ago I've suggested to allow for differentiating preambles wrt branches, ie. allowing different preambles for different branches in the same document. Granted, this change was probably too big, and too little would be gained... but now I have some idea which, as I suppose, would

Re: Suggestion - preamble inset

2010-11-27 Thread Richard Heck
On 11/27/10 10:03 PM, Michal wrote: Some time ago I've suggested to allow for differentiating preambles wrt branches, ie. allowing different preambles for different branches in the same document. Granted, this change was probably too big, and too little would be gained... but now I

Re: Suggestion - preamble inset

2010-11-27 Thread Michal
I think this may be quite easy to do already, though it is a bit of a hack. LyX 2.0's layouts have an InPreamble tag, intended primarily for use with document classes that want, say, \title to be in the preamble. It should be possible to create a Preamble layout, with InPreamble true, that

Suggestion - preamble inset

2010-11-27 Thread Michal
Some time ago I've suggested to allow for differentiating preambles wrt branches, ie. allowing different preambles for different branches in the same document. Granted, this change was probably too big, and too little would be gained... but now I have some idea which, as I suppose, would

Re: Suggestion - preamble inset

2010-11-27 Thread Richard Heck
On 11/27/10 10:03 PM, Michal wrote: Some time ago I've suggested to allow for differentiating preambles wrt branches, ie. allowing different preambles for different branches in the same document. Granted, this change was probably too big, and too little would be gained... but now I

Re: Suggestion - preamble inset

2010-11-27 Thread Michal
> I think this may be quite easy to do already, though it is a bit of a > hack. LyX 2.0's layouts have an "InPreamble" tag, intended primarily > for use with document classes that want, say, \title to be in the > preamble. It should be possible to create a "Preamble" layout, with > InPreamble