]> git.lyx.org Git - lyx.git/blobdiff - src/Converter.cpp
Norwegian Intro.lyx: - fix image paths to make it compilable
[lyx.git] / src / Converter.cpp
index cd174826f0e19ee359ab2f52a713b525b71da3fd..7c71cff525b188dd0ebe882c1975cd1513c1e7ef 100644 (file)
@@ -325,6 +325,11 @@ bool Converters::convert(Buffer const * buffer,
        // used anyway.
        OutputParams runparams(buffer ? &buffer->params().encoding() : 0);
        runparams.flavor = getFlavor(edgepath);
+       
+       runparams.use_indices = buffer->params().use_indices;
+
+       if (buffer)
+               runparams.use_japanese = buffer->bufferFormat() == "platex";
 
        // Some converters (e.g. lilypond) can only output files to the
        // current directory, so we need to change the current directory.