Bo schrieb: >> - Corrected parsing of the Listings settings. When the following setting was >> parsed: 'backgroundcolor=\color{red}'; the last brace wasn't counted, which >> lead to the conversion errors and the '\n' error (solving part of bug 4884). > > How about a title 'Error caused by brace ( } )' ? I mean non-paired > brace in parameters. I guess this was why I counted {} only for > outside braces.
Vincent what about this? When this is not a problem, your patch can go in. >> - I replaced twice from_ascii into from_utf8, to be able to specify a title >> with non-ascii characters without causing LyX to crash (as discussed in bug >> 5221). > > Does listings package accept such a non-ascii title? Yes. regards Uwe