Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | > This is my patch for this. | > This is basic support, it can be enhanced with, NoFloat, CopyFloat | > etc. if wanted. | | A question: why have a LyXTextClass readFloat instead of Floating::read?
It was the minimal solution, and had no impact on code outside lyxtextclass.[Ch] and FloatList.C | The later could also be used if we decided to save float definitions | elsewhere. This is the next step in the feature chain: User definable floats. I am not prepared to tackle that one for 1.3.0, but that "back-office" part of it will not be really hard. It is very likely that the layout parsing code will then be moved, and perhaps also changed slightly. -- Lgb