On Thu, Nov 06, 2003 at 06:16:38PM +0100, Kornel Benko spake thusly:
> >   If I create a new minipage from default I get:
> > \begin_inset Frameless
> > position "t"
> > hor_pos "c"
> > has_inner_box 1
> > inner_pos "t"
> > use_parbox 0
> > width "100col%"
> > special "none"
> > height "1in"
> > height_special "totalheight"
> > collapsed false
> >
> > Notice the "1in" argument for height. What should that be by default?
> 
> 0. Now I understand. Or no output at all. Lyx 1.4 is perfectly happy
> without this information.
> 
> > > But mayby I am wrong.
> >
> >   If we don't share the same view at least one of us is. ;-)
> 
> I was wrong. Martin?
> 
>       Kornel

Oops. Long time no see.

Yes, the default is

height value  = 1
"non-special" height unit = inches
"special" height unit = \totalheight.

If height_special == none, the non-special height unit is implied.
That is not the case here: thus we have 1\totalheight, which
should produce the same effect as the absence of the [height] option
in LaTeX. (Yes, convoluted isn't it. Would it be better to put in
special code to suppress [height] altogether in this case?)

See code (insetbox.C):

    285         if (params_.height_special == "none") {
    286             os << "[" << params_.height.asLatexString() << "]";
    287         } else {
    288             // Special heights
    289             os << "[" << params_.height.value()
    290                << "\\" << params_.height_special << "]";

- Martin

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to