Richard Heck <[EMAIL PROTECTED]> writes: > The attached patch accomplishes the first part of the plan discussed > here earlier, under InsetCommand[Params], the goal being to > disentangle the type of an inset from the (LaTeX) command it > represents. This patch reworks how InsetCommands are represented in > LyX files, laying the foundation for some further re-working on > InsetCommandParams, some of which is indicated in FIXMEs in the patch. > Comments are welcome.
I like it. How do you see the relation to InsetLayout? I know this concerns another family of insets, but I do not like the use of capitalized identifiers in one case, and lowercase in the other. So, what does Inset::name() returns for your new insetcommands? Is this what is used by the factory? Note that InsetCommand could easily make use of the InsetLayout machinery for the purpose of on-screen display. JMarc