- lyxerr[Debug::LATEX] << "Run #" << count << endl;
- WriteStatus(minib, string(_("LaTeX run number ")) + tostr(count));
+ lyxerr[Debug::LATEX] << "Run #" << count << endl;
+ if (lfun) {
+ ostringstream str;
+ str << _("LaTeX run number") << ' ' << count;
+ lfun->Dispatch(LFUN_MESSAGE, str.str().c_str());
+ }
+
+
+ //WriteStatus(lfun, string(_("LaTeX run number ")) + tostr(count));