From a86337e83f0f9812b51fe5131a996337e58caa85 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Thu, 16 Apr 2009 07:20:16 +0000 Subject: [PATCH] * 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 --- src/Converter.cpp | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.5