Hi Allan!
Allan Rae wrote:
> This looks similar to a small problem with '\n' output when trying to do
> ERT \subtable in a float figure with minipages. Anyway, I know where it
> needs to be fixed but I haven't had time to figure out the new code with
> insets etc. to write the appropriate conditional.
> If you're interested you can have a go at LyXParagraph::TeXOnePar()
> at paragraph.C:1474
I still have the plain fix2 version. Found it there in line 2466 - I
hope it really is the same!?
> You might like to confirm this is the same '\n' that is causing you
> trouble by doing '\n' => "%LineNumber\n" and checking the output.
Did that. Indeed, one of the two blank lines would be gone then. The
other one remains, it comes from a few lines further down:
paragraph.C:2498
// we don't need it for the last paragraph!!!
if (next
#ifndef NEW_INSETS
&& !(footnoteflag != LyXParagraph::NO_FOOTNOTE && par &&
par->footnoteflag == LyXParagraph::NO_FOOTNOTE)
#endif
) {
----> // os << "\n";
texrow.newline();
}
> One day I'll get back to this...
Thanks :-)
Pit
--
Peter "Pit" Suetterlin http://www.uni-sw.gwdg.de/~pit
Universitaets-Sternwarte Goettingen
Tel.: +49 551 39-5048 [EMAIL PROTECTED]