#include <config.h>
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
#include <algorithm>
#include "exporter.h"
else if (backend_format == format)
buffer->makeLaTeXFile(filename, string(), true);
else if (contains(buffer->filePath(), ' ')) {
- Alert::alert(_("Cannot run latex."),
+ Alert::alert(_("Cannot run LaTeX."),
_("The path to the lyx file cannot contain spaces."));
return false;
} else
return true;
}
+
bool Exporter::Export(Buffer * buffer, string const & format,
bool put_in_tempdir)
{
return Export(buffer, format, put_in_tempdir, result_file);
}
+
bool Exporter::Preview(Buffer * buffer, string const & format)
{
string result_file;
return "latex";
}
+
vector<string> const Exporter::Backends(Buffer const * buffer)
{
vector<string> v;