Enrico Forestieri wrote:
On Mon, Apr 21, 2008 at 05:50:28PM +0200, Abdelrazak Younes wrote:

see http://bugzilla.lyx.org/show_bug.cgi?id=4647

I begun to create a dialog (see attached). Question to LateX experts: are those options mutually exclusive? Can you think of other useful options?

Ideally those options will also be available in a caption context menu.

Abdel, I think that you still don't get what the problem is here.
That's why I asked ;-)

Captions should be customizable by layout files, i.e., you should be
able to adapt them to the way the class defines them.
This goal was perfectly accomplished when the caption was an environment,
and it should return to be an environment, IMO.
You can still use the old environment based caption AFAIK. It is just that for typical user and the typical use, the Inset based solution is just nicer and user friendlier IMHO.
There may be many different captions. Normal captions and continued
captions are only two possibilities. For example, I came across
classes that used \sidecaption. This kind of caption manages to put its
text on the side of a picture (left or right). Some classes may define
\captionbelow or \captionabove, such that they can put the right
amount of space around the caption. Then, you should be able to set
the label in bold, or the text in small size and italics, or...
and you should do all of this depending on the class, not through
a context menu.

Making the caption an uncostomizable inset was a BIG mistake.
AFAIU (but still not sure about that), following your explanation it should be possible to do exactly the same things with inset layouts and modules
like we do for InsetFlex for example. Richard, what do you think?

Yes, I understand that layout based caption was (and still is) easier to adjust for advanced user and that we cannot do that kind of custumization with InsetCaption right now. But, if what I said above is correct, you can still use the layout based approach for those advanced uses up until the InsetCaption is able to offer the same custumizability of layout based caption. Or am I still missing something?

Abdel.


Reply via email to