>>>>> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:

Abdelrazak> This is just an idea to enforce the idea of a Master
Abdelrazak> buffer that will care about LateX preample (and LyX
Abdelrazak> layout?). As far as I understand, child buffers ignore
Abdelrazak> some LateX things. It perhaps make sense to remove these
Abdelrazak> things and put them in a new MasterBuffer class. I am not
Abdelrazak> sure I am clear here, please ignore me if that is too
Abdelrazak> complicated to explain.

A master document is a normal document, so it uses class Buffer. What
would happen when you add an include inset? You reallocate a new
MasterBuffer object and move things around?

One rather radical approach I've been things about is to redefine
Buffer::params() like:

BufferParams & Buffer::params()
{
        return getMasterBuffer()->pimpl_->params;
}

This would mean that only the master's params are visible, but it may
have a lot of strange side effects...

JMarc

Reply via email to