* Converter.cpp: tell the converters that we are using pLaTeX.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29254 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2009-04-16 07:20:16 +00:00
parent bdc31723cc
commit a86337e83f

View File

@ -326,6 +326,9 @@ bool Converters::convert(Buffer const * buffer,
OutputParams runparams(buffer ? &buffer->params().encoding() : 0);
runparams.flavor = getFlavor(edgepath);
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.
// This has the added benefit that all other files that may be