From: Jürgen Spitzmüller Date: Thu, 16 Apr 2009 07:20:16 +0000 (+0000) Subject: * Converter.cpp: tell the converters that we are using pLaTeX. X-Git-Tag: 2.0.0~6828 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=a86337e83f0f9812b51fe5131a996337e58caa85;p=lyx.git * 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 --- diff --git a/src/Converter.cpp b/src/Converter.cpp index cd174826f0..a970faf38d 100644 --- a/src/Converter.cpp +++ b/src/Converter.cpp @@ -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