Jean-Marc Lasgouttes wrote:
Uwe Stöhr <[EMAIL PROTECTED]> writes:
-int InsetNewline::latex(Buffer const &, odocstream &,
+int InsetNewline::latex(Buffer const &, odocstream & os,
OutputParams const &) const
{
- lyxerr << "Eek, calling InsetNewline::latex !" << endl;
+ os << from_ascii(getCmdName()) << '\n';
return 0;
}
I am not very happy about this part. The error code you just removed
indicated that the output of newlines was not done through this latex
method and that the situation is not very clear right now. I am
surprised that it does not ring a bell for you.
I have looked up this code and the situation in
Paragraph::Private::latexInset seems to be very fishy indeed. Part of
the code for newlines has been kept and part has been removed... No
latex is output, but texrow.newline is still invoked. \\protect is
invoked there and is thus separated from the rest of the latex code.
It is a mess and extending the code without trying to at least
mitigate the mess is not a good thing...
Before you accuse me of something else this warning was there before
I've cleaned up this mess a bit.
Abdel.