Re: Collapsable CharStyles [Beyond 1.5]

2007-08-03 Thread Jean-Marc Lasgouttes
Richard Heck [EMAIL PROTECTED] writes: The idea here is that there wouldn't need to BE an InsetFootnote.cpp. That's certainly the idea with Endnote. So you could have this: I understand what you mean, but if you actually look at InsetFoot.cpp, you will see some subtleties (in latex() for ex.)

Re: Collapsable CharStyles [Beyond 1.5]

2007-08-03 Thread Jean-Marc Lasgouttes
Richard Heck <[EMAIL PROTECTED]> writes: > The idea here is that there wouldn't need to BE an InsetFootnote.cpp. > That's certainly the idea with Endnote. So you could have this: I understand what you mean, but if you actually look at InsetFoot.cpp, you will see some subtleties (in latex() for

Re: Collapsable CharStyles [Beyond 1.5]

2007-08-01 Thread Martin Vermeer
On Tue, Jul 31, 2007 at 06:56:24PM -0400, Richard Heck wrote: Jean-Marc Lasgouttes wrote: Richard Heck [EMAIL PROTECTED] writes: But should they also be differently defined in the layout file? I.e., should it be more like: CollapsibleInset Endnote LatexName endnote

Re: Collapsable CharStyles [Beyond 1.5]

2007-08-01 Thread Richard Heck
Martin Vermeer wrote: I think this is the way to go. A layout item Inset, from which CharStyle is only one of many applications. Requires careful thinking through of what configurability we want to allow in the layout file. I would love the inset to have a dialog with user-defined menu entries

Re: Collapsable CharStyles [Beyond 1.5]

2007-08-01 Thread Martin Vermeer
On Tue, Jul 31, 2007 at 06:56:24PM -0400, Richard Heck wrote: > Jean-Marc Lasgouttes wrote: > > Richard Heck <[EMAIL PROTECTED]> writes: > > > >> But should they also be > >> differently defined in the layout file? I.e., should it be more like: > >> CollapsibleInset Endnote > >>LatexName

Re: Collapsable CharStyles [Beyond 1.5]

2007-08-01 Thread Richard Heck
Martin Vermeer wrote: I think this is the way to go. A layout item Inset, from which CharStyle is only one of many applications. Requires careful thinking through of what configurability we want to allow in the layout file. I would love the inset to have a dialog with user-defined menu entries

Re: Collapsable CharStyles [Beyond 1.5]

2007-07-31 Thread Jean-Marc Lasgouttes
Richard Heck [EMAIL PROTECTED] writes: I've uploaded a patch to bugzilla http://bugzilla.lyx.org/show_bug.cgi?id=3309#c3 that adds collapsible character styles, so you can do this: [...] and suddenly have your very own endnote inset. Comments welcome. I do not like the idea of abusing the

Re: Collapsable CharStyles [Beyond 1.5]

2007-07-31 Thread Martin Vermeer
On Tue, Jul 31, 2007 at 01:03:24PM +0200, Jean-Marc Lasgouttes wrote: Richard Heck [EMAIL PROTECTED] writes: I've uploaded a patch to bugzilla http://bugzilla.lyx.org/show_bug.cgi?id=3309#c3 that adds collapsible character styles, so you can do this: [...] and suddenly have your

Re: Collapsable CharStyles [Beyond 1.5]

2007-07-31 Thread Richard Heck
Jean-Marc Lasgouttes wrote: Richard Heck [EMAIL PROTECTED] writes: I've uploaded a patch to bugzilla http://bugzilla.lyx.org/show_bug.cgi?id=3309#c3 that adds collapsible character styles, so you can do this: [...] and suddenly have your very own endnote inset. Comments

Re: Collapsable CharStyles [Beyond 1.5]

2007-07-31 Thread Richard Heck
Richard Heck wrote: Jean-Marc Lasgouttes wrote: I do not like the idea of abusing the CharStyle inset to become a do-it-all inset. If we go this way, we should make a more general customizable inset and let CharStyle derive from it. Do you mean in the code or in the layout file or both? OK,

Re: Collapsable CharStyles [Beyond 1.5]

2007-07-31 Thread Jean-Marc Lasgouttes
Richard Heck [EMAIL PROTECTED] writes: But should they also be differently defined in the layout file? I.e., should it be more like: CollapsibleInset Endnote LatexName endnote rather than using CharStyle here, too? Actually, I would also define things like footnotes like that, to

Re: Collapsable CharStyles [Beyond 1.5]

2007-07-31 Thread Richard Heck
Jean-Marc Lasgouttes wrote: Richard Heck [EMAIL PROTECTED] writes: But should they also be differently defined in the layout file? I.e., should it be more like: CollapsibleInset Endnote LatexName endnote rather than using CharStyle here, too? Actually, I would also define

Re: Collapsable CharStyles [Beyond 1.5]

2007-07-31 Thread Jean-Marc Lasgouttes
Richard Heck <[EMAIL PROTECTED]> writes: > I've uploaded a patch to bugzilla >http://bugzilla.lyx.org/show_bug.cgi?id=3309#c3 > that adds collapsible character styles, so you can do this: [...] > and suddenly have your very own endnote inset. Comments welcome. I do not like the idea of

Re: Collapsable CharStyles [Beyond 1.5]

2007-07-31 Thread Martin Vermeer
On Tue, Jul 31, 2007 at 01:03:24PM +0200, Jean-Marc Lasgouttes wrote: > Richard Heck <[EMAIL PROTECTED]> writes: > > > I've uploaded a patch to bugzilla > >http://bugzilla.lyx.org/show_bug.cgi?id=3309#c3 > > that adds collapsible character styles, so you can do this: > [...] > > and suddenly

Re: Collapsable CharStyles [Beyond 1.5]

2007-07-31 Thread Richard Heck
Jean-Marc Lasgouttes wrote: Richard Heck <[EMAIL PROTECTED]> writes: I've uploaded a patch to bugzilla http://bugzilla.lyx.org/show_bug.cgi?id=3309#c3 that adds collapsible character styles, so you can do this: [...] and suddenly have your very own endnote inset. Comments

Re: Collapsable CharStyles [Beyond 1.5]

2007-07-31 Thread Richard Heck
Richard Heck wrote: Jean-Marc Lasgouttes wrote: I do not like the idea of abusing the CharStyle inset to become a do-it-all inset. If we go this way, we should make a more general customizable inset and let CharStyle derive from it. Do you mean in the code or in the layout file or both? OK,

Re: Collapsable CharStyles [Beyond 1.5]

2007-07-31 Thread Jean-Marc Lasgouttes
Richard Heck <[EMAIL PROTECTED]> writes: > But should they also be > differently defined in the layout file? I.e., should it be more like: > CollapsibleInset Endnote >LatexName endnote > > rather than using CharStyle here, too? Actually, I would also define things like footnotes like

Re: Collapsable CharStyles [Beyond 1.5]

2007-07-31 Thread Richard Heck
Jean-Marc Lasgouttes wrote: Richard Heck <[EMAIL PROTECTED]> writes: But should they also be differently defined in the layout file? I.e., should it be more like: CollapsibleInset Endnote LatexName endnote rather than using CharStyle here, too? Actually, I would also define

Collapsable CharStyles [Beyond 1.5]

2007-07-18 Thread Richard Heck
I've uploaded a patch to bugzilla http://bugzilla.lyx.org/show_bug.cgi?id=3309#c3 that adds collapsible character styles, so you can do this: CharStyle Endnote InsetType Collapsable LatexType Command LatexName endnote Preamble \usepackage{endnotes} EndPreamble End and

Re: Collapsable CharStyles [Beyond 1.5]

2007-07-18 Thread Jürgen Spitzmüller
Richard Heck wrote: Comments welcome. Could you please wait until 1.5.0 is done? Jürgen

Re: Collapsable CharStyles [Beyond 1.5]

2007-07-18 Thread Richard Heck
Jürgen Spitzmüller wrote: Richard Heck wrote: Comments welcome. Could you please wait until 1.5.0 is done? Sorry, didn't mean to distract you. It just seems as if most of us are waiting for 1.5.0 to be done---there are a few things left, not unimportant things, but not much for

Re: Collapsable CharStyles [Beyond 1.5]

2007-07-18 Thread Jürgen Spitzmüller
Richard Heck wrote: Sorry, didn't mean to distract you. It just seems as if most of us are waiting for 1.5.0 to be done---there are a few things left, not unimportant things, but not much for most of us to do On the contrary, this is attracting me, and I try to be resistant ;-) Jürgen

Re: Collapsable CharStyles [Beyond 1.5]

2007-07-18 Thread Abdelrazak Younes
Richard Heck wrote: Jürgen Spitzmüller wrote: Richard Heck wrote: Comments welcome. Could you please wait until 1.5.0 is done? Sorry, didn't mean to distract you. It just seems as if most of us are waiting for 1.5.0 to be done---there are a few things left, not unimportant things,

Collapsable CharStyles [Beyond 1.5]

2007-07-18 Thread Richard Heck
I've uploaded a patch to bugzilla http://bugzilla.lyx.org/show_bug.cgi?id=3309#c3 that adds collapsible character styles, so you can do this: CharStyle Endnote InsetType Collapsable LatexType Command LatexName endnote Preamble \usepackage{endnotes} EndPreamble End and

Re: Collapsable CharStyles [Beyond 1.5]

2007-07-18 Thread Jürgen Spitzmüller
Richard Heck wrote: > Comments welcome. Could you please wait until 1.5.0 is done? Jürgen

Re: Collapsable CharStyles [Beyond 1.5]

2007-07-18 Thread Richard Heck
Jürgen Spitzmüller wrote: Richard Heck wrote: Comments welcome. Could you please wait until 1.5.0 is done? Sorry, didn't mean to distract you. It just seems as if most of us are waiting for 1.5.0 to be done---there are a few things left, not unimportant things, but not much for

Re: Collapsable CharStyles [Beyond 1.5]

2007-07-18 Thread Jürgen Spitzmüller
Richard Heck wrote: > Sorry, didn't mean to distract you. It just seems as if most of us are > waiting for 1.5.0 to be done---there are a few things left, not > unimportant things, but not much for most of us to do On the contrary, this is attracting me, and I try to be resistant ;-) Jürgen

Re: Collapsable CharStyles [Beyond 1.5]

2007-07-18 Thread Abdelrazak Younes
Richard Heck wrote: Jürgen Spitzmüller wrote: Richard Heck wrote: Comments welcome. Could you please wait until 1.5.0 is done? Sorry, didn't mean to distract you. It just seems as if most of us are waiting for 1.5.0 to be done---there are a few things left, not unimportant things,