On 16/12/2010 12:02, Helge Hafting wrote:
On 15. des. 2010 14:50, Richard Heck wrote:
On 12/15/2010 08:43 AM, Helge Hafting wrote:
How about defining custom Insets instead of styles? This would put the
new objects in a less prominent place (i.e. not interfering with the
"normal" styles), clearly mark the as something special and also
allow to
minimize the header boxes.
Interesting idea, and not too much work. The problem is, this patch
has been in since sep.23, so the change would break documents created
with the beta versions of LyX 2.0.
To proceed, a decision is needed. The options seems to be:
* Rewrite using custom insets, and break compatiblity. I can
program it, if necessary.
This wouldn't necessarily break compatibility: We can write lyx2lyx to
convert.
You are right. But what to do? I can do this, but only if I know that a
sufficiently good patch will go in. Otherwise, why bother.
I'd really like to see the added support for two-sided layouts go in,
because I'd use that myself. Which is why I wrote the simple patch to
Uwes module. It can be used as-is.
If a rewrite to use custom insets is wanted, I'll do that instead. But
then, I want to know that this is what maintainers want, so the work
goes in (provided it arrives in a timely manner and is good enough -
obviously.)
Pavel is a reasonable man so, IMHO, provided that you are fast enough
and the lyx2lyx code is here, there won't be any problem for this to go
in because this won't touch much the C++ code. And even if it does,
this won't be terribly complicated so you'd have my vote anyway :-)
Abdel.