On Mon, Aug 19, 2002 at 01:59:35PM +0200, Jean-Marc Lasgouttes wrote: > > I want this one in too if only the use of LatexParam is removed. What > I want is something like > > LatexParamType == None || Short || Static > > None: no parameter > Short: specify parameter using a short title inset > Static: use the LatexParam string as parameter
Why impose such a restriction, which also complicated the code ? We can allow having both InsetOptional (short title) and LaTeXParam string e.g. \foo[a]{b}{c} where {b} in LatexParam, and [a] is short inset. I don't know if this is useful, but the code is simpler: We just need a boolean OptionalArgument tag in the layout file.