On Tue, 23 Mar 1999, Jean-Marc Lasgouttes wrote:

> >>>>> "Asger" == Asger K Alstrup Nielsen <[EMAIL PROTECTED]> writes:
[...]
> Asger> -- This is a demonstration[foot|and what a demonstration it is.
> Asger> Hopefully, it will demonstrate that a Parbox need not be
> Asger> rectangular.] of the new display structure.  --
> 
> I vote against that. I think the current display gives a better
> WYSIWYMness to the foot note. As you show it, the user will not have a
> clear view of how the footnote will look: imagine there is an
> enumeration or a displayed formula in the footnote, for example. And
> indents will not look right either.

I'm in agreeance with JMarc on this point.  A footnote should look like a
footnote.  Just like it does now.  We can of course still improve on
the current situation but I don't think this does.

> Asger> The advantage of these three rectangles is not only that we can
> Asger> do the footnotes like above, but also that we naturally can
> Asger> handle things like hanging indents, and similar stuff this way.
> 
> Hanging indents do live in a rectangle, not in a strangely shaped
> region. 

Yes,  but that rectangle has a chunk out of the top corner which gives you
the smaller top rectangle.

I remember reading that in one of those design docs or was it comments in
the source code?  Hmmm... probably in InsetText.[Ch] I think.

> >> Do you mean that ParagraphParams will be shared and use reference
> >> couting like LStrings?
> 
> Asger> Yes, that's one feasible implementation.  The point is that we
> Asger> want to share the identical instances.
> 
> I'm not sure it will be easy...

The default paragraph settings for a given layout are used for each
paragraph of a given type.  Whenever a particular paragraph has its
settings changed we copy-on-write.  However unlike LStrings we're probably
more likely to end up with multiple identical copies as a user makes a
change and then reverts it.  It would be nice to have a default ParaParams
and a change set or diff for those occasions.  But then again the memory
usage isn't going to be any worse than we have now.

Here's another question for you:
Will minipages be a variant of an InsetParbox? or just a bool in the
InsetParbox structure?  or have I forgotten something?

Allan. (ARRae)

Reply via email to