This patch adds (Broken) to the insert->float->text wrap float
entry, so it becomes

Insert->Float->Text wrap float (Broken)


This because it _is_ broken. I don't know of any LaTeX version
where this thing works well at all.

Users who don't have a latex background uses this, and
comes screaming when the float just disappear into thin air.

The worst part is of course that even if you tweak a text
wrap float so it displays, it may disappear later anyway as
editing elsewhere changes the page break locations.

Total surprise!

Imagine the nightmare of having hundreds of these
in some book, and then verifying them all after
editing, font changes, etc.

Hopefully, people who see that it is marked "broken" will
not assume that it is useful in a userfriendly way.
And we still provide it for
the benefit of those who know the downsides and are
willing to work around them.


Idea for more fixes: Have LyX notice the error message
printed byt latex when a text wrap float disappears, and
treat this as a fatal condition even though latex
produces an output file anyway.  Still, the (Broken) marker
is necessary as this doesn't fix anything, we merely
get an error instead of silently loosing output.

The patch should be useful both for 1.5 and 1.6svn.
Feel free to suggest better wording.  I don't think we
should pretend that text wrap is a fully working feature
while no latex can do it consistently.

Helge Hafting



Index: stdmenus.inc
===================================================================
--- stdmenus.inc        (revisjon 20096)
+++ stdmenus.inc        (arbeidskopi)
@@ -373,7 +373,7 @@
        Menu "insert_float"
                FloatInsert
 # This has got to be better than "Wrap", anyway
-               Item "Text Wrap Float|W" "wrap-insert figure"
+               Item "Text Wrap Float (Broken)|W" "wrap-insert figure"
        End
 
        Menu "insert_toc"

Reply via email to