On Sat, Dec 08, 2001 at 05:38:28PM +0100, Lars Gullik Bjønnes wrote: > | I think that this patch is wrong: The old code of insertErtContents is > | correct, but the problem is that the wrong font is passed to it when the > | method is called. > > I am not sure that I agree. > > | Consider the attached lyx file. The latex output should be abc in bold. > | With the new code, the b is not bold (it was OK in the old code). > > The "correct" solution will be somewhat bigger since we then must > enlarge the ert_comp with a font, and set this font in the appropriate > places.
The attached patch does that, and it works correctly with both Herbert's example, and my example (though there are still cases it won't work).
patch.gz
Description: GNU Zip compressed data