Ozgur Ugras BARAN wrote:

> It is so rare that, It is fantastic not to be wrong.  :))
> 
> then it should work well for the case \command[][]{}

The fact that InsetCommand stores its parameters in LaTeX-like syntax in LyX
files is a historical mistake, so I would rather avoid to extend this even
further.
If you feel brave enough you could develop a new syntax for InsetCommand and
use that, e.g. something like

param name value
optparam name value

where each parameter is specified as a name, value pair in the LyX file.
I can perfectly understand if you don't want to do that, but it would be
very welcome.

> any comments on backporting this feature to lyx 1.4.x ?? it shouldn't
> take too much time for me..

That is not possible unfortunately, because it is a file format change, and
file format changes are not allowed in 1.4. You can of course still
backport it for private use if you are accepting the fact that your files
will be incompatible with official LyX versions.


Georg

Reply via email to