Ozgur Ugras BARAN wrote:

> Well, I didn't like the way to store LaTeX commands, either. I am not
> sure that I am brave enough to (or capable of) develop that part, but
> I can give it a try.

Great!

> However, in my incredibly humble opinion, the syntax should be based
> on a markup language (preferably XML), which is planned for lyx-1.6.x,
> I guess.

Yes, that is the plan.

> An intermediate format for insets may increase confusion, 
> therefore.

I don't think so.

> But of course this development may also ease the migration to XML in
> the transition from lyx-1.5 to 1.6, since inset syntax becomes more
> structured.

Exactly. The part that will actually output the parameters to file and read
them back is very easy to change to XML. I expect that most of the work
will be needed to design and implement a better interface for the users of
InsetCommandParams to get and set the parameters.

> If you still think the new insetCommand syntax is necessary, I can
> code it (don't know how long it takes). For the moment, nomencl
> implementation needs a slighly enhanced version of InsetCommandParams.

OK, then I suggest we proceed like this:

You change InsetCommandParams to support a name,value pair interface for
parameters and send it to the list for review. When it is OK you can change
the existing insets to use the new interface. After that Jose or I create
the necessary lyx2lyx conversion methods, and we put it in.
Then we put the nomencl support in.
This order has the advantage that the lyx2lyx changes will be a bit easier.


Georg

Reply via email to