// 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.