>>>>> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:

Georg> Jean-Marc Lasgouttes wrote:
>> Georg, I think we should add these as optargs in revtex4.layout.
>> Then the question is whether tex2lyx is able to honor this and
>> create optarg insets.

Georg> Yes, tex2lyx does create optarg insets if the style allows
Georg> optional arguments.

So we only need to fix revtex4.layout, right?

Georg> You are right. That means that an invalid .lyx file was
Georg> generated if the document contained a dotless i or dotless j.

Yes.

Georg> The attached patch (this time actually tested) fixes that and
Georg> outputs exactly what InsetLatexAccent::write does. You should
Georg> never trust existing code to do the right thing ;-(

Why does the code output \\i, whereas the snippet above the patch for
accents uses \n\\i?

Georg> I guess the two patches combined are now really a candidate for
Georg> 1.4?

Yes.

JMarc

Reply via email to