Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | >>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | >>>>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | >> | Lars> | Lars> Do anyone have a problem with that? | >> | Lars> | I will not have time to finish the 'read floats from layout' | Lars> things | before this date. Now that everything is moved into | Lars> LyXTextClass, it | should not be difficult, in fact. So if | Lars> somebody is willing to finish | the work, I'd be grateful. | | Lars> Send me the patches and what you have done so far. | | I have commited what I have done already. What remains to be done is | to add a Floating::read(lyxlex) method. and handle that like | lyxlayout. A few details | | - have the code allow to re-define an existing Float (like layout)
Hmm... perhaps... but it will be easy to add later. | - add a CopyFloat tag This as well | - add a NoFLoat tag and this. | - to avoid upgrading problems, I think floats should be defined in a | stdfloats.inc file which is automatically included in | stdlayouts.inc. This way all textclasses will find it without any | change. Perhaps like this one:
stdfloats.inc
Description: Binary data
| A problem I have is that layouts are indexed by their name, while | floats are indexed by their latex name (figure instead of Figure"). So | maybe the syntax of layout files will be less uniform, but this is | not a big problem. I think I'll just ignore that problem. -- Lgb