On Mon, Sep 22, 2003 at 12:12:46PM +0000, Angus Leeming spake thusly: > > On Monday 22 September 2003 10:37 am, Martin Vermeer wrote: > > On Sun, Sep 21, 2003 at 10:42:04PM +0000, Angus Leeming spake thusly: > > > Returning to nit-picking mode: > > > > Do I infer correctly that > > discussion-in-principle-whether-this-is-a-good-idea-at-all-mode has > > been turned off? > > Support for new stuff is always a good idea. Especially since pretty well > everybody else is just involved in endless refactoring of existing code ;-)
The only potential problem with that is that complexity gets added in a way that complicates the job of the refactorers. I don't think it is endless BTW... a lot has been done already. Ideally the code base should be in the same state that, e.g., this insets stuff, or the require/validate mechanism is already in, i.e. an ordinary mortal can add features by just carefully reading the source and adding in his own pieces of the puzzle. In the kernel that's still some way to go :-( > AFAICS you are our major inovator; I'm not going to try and stop that ;-) It's the only thing I have the skills for... what that tells about the state of the kernel you don't want to know. > > Anyway, new version. Only the ControlBox/FormBox stuff still missing, > > but should be trivial. > > I wonder if it would be cleaner to have an enum of supported types, rather > than these tests for "Boxed", "Oval Box" etc. Note that there is a rather > elegant Translator template that facilitates writing/reading of the enum > to/from file. See insetgraphicsParams.C for an example usage. See > graphics/GraphicsTypes.C for code that initialises it. Hmmm. Should not be too hard. But let's first get it working the oldfashioned way... About the LaTeX stuff here BTW I noticed one unfortunate thing. If you try to redefine fboxsep in the preamble, it ends up after the fboxwidth definition... should I make that rather a newcommand? Then it is called from the inset insertion point i.e. after fboxsep has been redefined. LaTeX gurus...? > You want a challenge? I hate it when you smile like that... > Then what about a WYSIWYG way of displaying these boxes? Sure... later. - Martin
pgp00000.pgp
Description: PGP signature