Jean-Marc Lasgouttes wrote: >>>>>> "Abdelrazak" == Abdelrazak Younes >>>>>> <[EMAIL PROTECTED]> writes: > > Abdelrazak> Would it make sense to make a new MasterBuffer class that > Abdelrazak> derives from Buffer? > > No, the master buffer is just a pointer to yet another document, which > happens to have a InsetInclude pointing to us.
Either that, or in the case of a document that is not included in any other document b == b->getMasterBuffer() is always true. The master buffer is needed in several cases, e.g. all included material is put into the temp dir of the master buffer, even if it comes from child documents. This has something to do with the way LaTeX works. > I suspect there is > something that is not clear in your mind regarding the master buffer > business. Looks like that ;-( Georg