]> git.lyx.org Git - lyx.git/blobdiff - src/Converter.cpp
Track change of label name
[lyx.git] / src / Converter.cpp
index 4dab2413dbd408495af5fd3d3f6bab7f6556750c..d5686f666da5a6a2152b7188333d0137ad2e97f8 100644 (file)
@@ -486,6 +486,7 @@ Converters::RetVal Converters::convert(Buffer const * buffer,
                runparams.index_command = (bp.index_command == "default") ?
                        string() : bp.index_command;
                runparams.document_language = bp.language->babel();
+               runparams.xindy_language = bp.language->xindy();
                // Some macros rely on font encoding
                runparams.main_fontenc = bp.main_font_encoding();
                runparams.only_childbibs = !bp.useBiblatex()
@@ -862,7 +863,7 @@ Converters::RetVal Converters::runLaTeX(Buffer const & buffer, string const & co
        string const name = buffer.latexName();
        LaTeX latex(command, runparams, FileName(makeAbsPath(name)),
                    buffer.filePath(), buffer.layoutPos(),
-                   buffer.isClone(), buffer.lastPreviewError());
+                   buffer.isClone(), buffer.freshStartRequired());
        TeXErrors terr;
        // The connection closes itself at the end of the scope when latex is
        // destroyed. One cannot close (and destroy) buffer while the converter is