]> git.lyx.org Git - lyx.git/blobdiff - src/exporter.C
multicol; small stuff
[lyx.git] / src / exporter.C
index c82a0aa9b8d63d2f4da421594ff85b5501818bbe..098f24979709833f0b653843ff515ba0e9450ec2 100644 (file)
 
 #include <config.h>
 
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
 #include <algorithm>
 
 #include "exporter.h"
@@ -86,7 +82,7 @@ bool Exporter::Export(Buffer * buffer, string const & format,
        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
@@ -108,6 +104,7 @@ bool Exporter::Export(Buffer * buffer, string const & format,
        return true;
 }
 
+
 bool Exporter::Export(Buffer * buffer, string const & format,
                      bool put_in_tempdir)
 {
@@ -115,6 +112,7 @@ bool Exporter::Export(Buffer * buffer, string const & format,
        return Export(buffer, format, put_in_tempdir, result_file);
 }
 
+
 bool Exporter::Preview(Buffer * buffer, string const & format)
 {
        string result_file;
@@ -163,6 +161,7 @@ string const Exporter::BufferFormat(Buffer const * buffer)
                return "latex";
 }
 
+
 vector<string> const Exporter::Backends(Buffer const * buffer)
 {
        vector<string> v;