On Fri, Aug 16, 2002 at 05:09:41PM +0100, Angus Leeming wrote:

> +             if (style->latexparam() == "void") {
> +                     InsetShortTitle * it = shortTitleInset(*this);
> +                     if (it != 0)
> +                             it->latexOptionals(buf, os, false, false);
> +             }

Wouldn't it be more general to call latexOptionals on every InsetShortTitle
inset in the paragraph ?
This will allow support for commands that can have more than one optional
argument.

Also, I think it would be better to call the inset InsetOptiobal.

Reply via email to