#include "debug.h"
#include "format.h"
#include "gettext.h"
+#include "language.h"
#include "LaTeX.h"
#include "frontends/Alert.h"
}
OutputParams runparams;
runparams.flavor = getFlavor(edgepath);
-
string path = OnlyPath(from_file);
Path p(path);
{
buffer.busy(true);
buffer.message(_("Running LaTeX..."));
+
+ runparams.document_language = buffer.params().language->babel();
// do the LaTeX run(s)
string name = buffer.getLatexName();