On 2011-02-01, Jürgen Spitzmüller wrote: > Jürgen Spitzmüller wrote: >> This problem occurs probably in many if not all optional arguments. LyX >> could try to prevent this, so you could file a report on our tracker.
> I noted that we already do this in the OptArg inset where we embrace content > if we find a ] character. A simple check with LyX 1.6 showed that all [ and ] characters are enclosed like {[} and {]} in the LaTeX source - in normal text/enumerations/... as well as in the "short title". > Should we just do the same in the subfloat argument? AFAIK, the only place [ and ] are generally save is inside \url or \href. If this escaping is missing in subfloats, this is a bug. Günter