On Thu, Apr 21, 2005 at 04:49:09PM +0200, Georg Baum wrote:
> Helge Hafting wrote:
> 
> > Inserting a box(minipage) works. Right-clicking that box
> > kills lyx.  edit->box settings brings up a dialog where
> > everything is grayed out, changes is impossible.
> 
> I could not reproduce the crash.

A new cvs update, and _some_ of the crash disappear.  Now
it only crashes if the box is closed when I right-click it.
there were some old patches in my previous compile.

> The attached patch should fix the greyed out dialog. Could you test it,
> please?
> 
It fixes the greyed out dialog.  I can now set all sorts of box options,
and the crashes are gone too.  Nice work!  


> > Moving the cursor past the end of the text in the box
> > while the box dialog is open also crashes lyx instantly.
> 
> I could neither reproduce this. Can you send a test document if it crashes
> still with the patch?

It no longer crashes.  But there were no need for an elaborate document
before; A document containing only an empty box was enough for me.


BOX TESTING
===========

"Inner box:none" is inconsistent
--------------------------------

Both examples used 10% of col as width.

A shadow box with no inner box:
\shadowbox{shadow, no inner box}%
This box expands to exactly contain the text within - very nice!
Perhaps box width ought to be grayed out in this case?
ctrl+enter make those little red linefeed symbols,
but doesn't affect output.  A latex limitation, I guess.

A rectangular box with no inner box:
\framebox{\makebox[0.1\columnwidth]{rectangular, no inner box}}%
This box gets an exact size, "extra" text overflows into the
surroundings.  Might be useful as an odd effect, otherwise ugly.
Perhaps this box should behave more like the shadow box,
leaving "overlapping text" tricks to ERT?
The name suggests the production of \framebox{text}%


Also, I can't get a frameless box with no inner box. I expected
this option to exist, and produce something like
\makebox{text}%
which can be useful sometimes.


Sometimes, I need a box that can contain multiple lines but
without fixed width. That is, as wide as the longest line
it contains.  I just wonder - is that impossible with latex?


My english is limited,so perhaps I was wrong when I expected
the "oval box" to be a true oval.  I'd call it a "rounded box"
but perhaps that's just me. :-)

Helge Hafting

Reply via email to