Jean-Marc Lasgouttes wrote:
Abdelrazak Younes <[EMAIL PROTECTED]> writes:

Hello,

I worked a bit more on this. Please find attached my latest version
together with a screenshot. What's missing:
1) File format (+ lyx2lyx?) change to store the caption position and
the continued status
2) LateX compilation won't work because \contcaption is not
recognized, I guess some package is needed
3) construction of 'BufferParams::caption_positions' depending on
document class

So, is there anybody up to the task? Considering my famous LateX
ignorance I won't be of much help at this point and my spare time
would be more useful at fixing other bugs; so I'd be grateful if
somebody takes ownership of it. Juergen or JMarc maybe? I won't dare
saying Enrico :-)

I still do not understand what is the advantage of hardcoding this,
while it could probably be defined in the layout files (or as a module
if people want arbitrary captions with their classes).
I guess I don't follow you but I don't think I hardcoded anything, did I? The idea is of course that the formatting and position types will be brought by document classes and inset layouts.
When classes have several types of captions, it is because the editor
requires them for display. I do not understand why we cannot just
recover what we used to have in the caption-as-paragraph days.
The different captions layouts were in the layout combo weren't they? Now they would be in a special layout combo restricted to caption. Not big a difference and easier to understand for the user IMHO.

It is possible to show in menus stuff that is defined in layout files
(see character styles). There is no need for hardcoding.
I still don't understand what I hardcoded? are you talking about the CaptionPosition enum? I just followed Juergen advice here. Is there anything else that Above, Below, Right and Left?

Abdel.


Reply via email to