"Bo Peng" <[EMAIL PROTECTED]> writes: >> I do not really understand why you need to create several unknown >> layouts. Each textclass should have its own. > > Currently, I extend a standard textclass such as article when it is > applied to another document. This extended layout list is then > available when a standard article is created. The problem here is that > I do not track which document these 'unknown' layouts belongs to.
This is why the paragraph should store the name of the layout, and the pointer should just be a cache (that gets populated on demand, maybe). There is of course a memory overhead, but this has to be evaluated. Having the name only in the layout is an error IMO. JMarc