On Wed, Nov 30, 2005 at 03:19:46PM +0100, Jean-Marc Lasgouttes wrote: > >>>>> "Helge" == Helge Hafting <[EMAIL PROTECTED]> writes: > > Helge> I just tried to put a subsection heading inside a branch, i.e. > Helge> "3.1 Subsectiontitle" followed by normal text. > > Helge> Now, the "3.1" gets the usual big bold font subsections have, > Helge> but the "Subsectiontitle" is set in normal-sized roman just > Helge> like text. This happens both in the lyx main window, and in the > Helge> output. > > This is bad indeed. I guess you should create a new bug.
Bad, bad, bad. This applies for all collapsable insets BTW.
It seems to have to do with transforming an existing paragraph to
another layout. Writing a new section header from scratch within the
inset is OK.
> Another one: insert a footnote, and put an `Abstract' environment in
> there. Look how the Abstract label is misplaced.
It is in the middle above the text... whats wrong with that? :-)
> And a third one: insert a footnote, type a lengthy paragraph (more
> than one line) in there. Then put the cursor at the end and hit
> backspace repeatedly. The position of the "foot" label changes several
> time (why?) and eventually you get a faulty screen redraw.
Yes, I know at least the solution to that one. It's this code in
insetcollapsable.C:
142 openinlined_ = (textdim_.wid + dim.wid <=
mi.bas e.textwidth);
143 if (openinlined_) {
144 dim.wid += textdim_.wid;
145 dim.des = max(dim.des - textdim_.asc +
d im.asc, textdim_.des);
146 dim.asc = textdim_.asc;
147 } else {
148 dim.des += textdim_.height() +
TEXT_TO_B OTTOM_OFFSET;
149 dim.wid = max(dim.wid, textdim_.wid);
150 }
Change the condition in line 142 to, e.g., ... <= 0.8 * ...
At least the jumping will stop, although you'll still see an artefact.
- Martin
> Ouch!
>
> JMarc
pgp9OnhqInCfn.pgp
Description: PGP signature
