namespace {
-int const LYX_FORMAT = 245;
+int const LYX_FORMAT = 248;
} // namespace anon
return false;
}
ostringstream command;
- command << "python " << quoteName(lyx2lyx)
+ command << os::python() << ' ' << quoteName(lyx2lyx)
<< " -t " << convert<string>(LYX_FORMAT)
<< " -o " << quoteName(tmpfile) << ' '
<< quoteName(filename);
bool dispatched = true;
switch (func.action) {
- case LFUN_EXPORT: {
+ case LFUN_BUFFER_EXPORT: {
bool const tmp = Exporter::Export(this, func.argument, false);
if (result)
*result = tmp;
BOOST_ASSERT(from);
BOOST_ASSERT(to);
- lyxerr << "Changing Language!" << endl;
-
// Take care of l10n/i18n
updateDocLang(to);