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? | The later could also be used if we decided to save float definitions | elsewhere.
in addition to other reasons: decoupling Floating and layout formats is good. If the reader function should be in lyxtexclass or being a free function is a nother matter, but it should not be coupled with Floating. (if avoidable) -- Lgb