This patch fixes a problem I was having with errors being reported in the wrong places.
Ben.
--- lyx-devel-orig/src/ChangeLog Tue Dec 11 15:23:26 2001 +++ lyx-devel/src/ChangeLog Tue Dec 11 17:51:12 2001 @@ -1,3 +1,9 @@ +2001-12-11 Ben Stanley <[EMAIL PROTECTED]> + + * paragraph.C: fixed missing line number count + when exporting Environments to LaTeX file + * buffer.C: added informational message for checking line numbers. + 2001-12-06 John Levon <[EMAIL PROTECTED]> * lyx_cb.C: another bv->text misuse, from insert label --- lyx-devel-orig/src/buffer.C Tue Dec 11 15:23:26 2001 +++ lyx-devel/src/buffer.C Tue Dec 11 17:02:45 2001 @@ -2449,6 +2449,7 @@ } lyxerr[Debug::INFO] << "Finished making latex file." << endl; + lyxerr[Debug::INFO] << "Row count was " << texrow.rows()-1 << "." << endl; } --- lyx-devel-orig/src/paragraph.C Thu Dec 6 10:58:14 2001 +++ lyx-devel/src/paragraph.C Tue Dec 11 17:46:06 2001 @@ -1830,6 +1830,7 @@ if (style.isEnvironment()) { os << "\\end{" << style.latexname() << "}\n"; + texrow.newline(); } lyxerr[Debug::LATEX] << "TeXEnvironment...done " << par << endl;