On Thu, 22 Mar 2007 09:41:07 +0100 Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote:
> >>>>> "José" == José Matos <[EMAIL PROTECTED]> writes: > > José> On Tuesday 20 March 2007 9:23:56 am Jean-Marc Lasgouttes wrote: > >> One solution would be to define a isNeeded() for this use case, > >> and still use isRequired in the few cases where this makes sense. > > José> The patch seems quite interesting indeed. I think that it is > José> not yet ready to beta 2 but I would to see it (and to help > José> testing it) for a later release. > > OK, here is the still untested second iteration. I introduce a helper > isNeeded, which is equivalent to "isRequired && ! provided" (if you > have a better name, please tell). With this change, any feature known > to LyX can be provided by a class. "mustProvide" > What needs to be done > > - update layout2layout. I need help there pretty please. > > - actually test it. I do not expect any major problem, since I tried > to be conservative. > > - document the changes (trivial). > > JMarc I think this is an important simplification, even deserving the name "bug fix". With it, I can fix the "Provide babel" bug for EGS (and presumably others) much more easily. - Martin