On 04/11/2012 12:54 PM, Pavel Sanda wrote:
Jean-Marc Lasgouttes wrote:
I'm fine with anything which allows me to create branches like "green-text
emphasized" or "blue-footnotes" without need to embed such constructs into
each of branch insets and both of the proposals seems to provide this. I'm
not expert in the layout machinery to see what is more elegant, though 1)
looks less work. If you are concerned about UI level only, we wouldn't
define Branch Allow 1 for our generic insets...
I think that 2/ would already work, except that our code probably takes too
many shortcuts. In principle, our InsetLayout mechanism allows for that. It
would be interesting to try it out.
I'm surprised that only slight touch was enough to get margin-like branch. Even
latex export works correctly. Richard does this change involve layout format
increment?
Wow, that is kind of surprising, but a testament to the power of
InsetLayout.
I guess I'd like to hear other opinions about whether it's a format
change. I'm inclined to think it is, on the ground that these sorts of
layout files would not be readable by <=2.0.3.
Richard