]> git.lyx.org Git - lyx.git/commitdiff
* Converter.cpp: tell the converters that we are using pLaTeX.
authorJürgen Spitzmüller <spitz@lyx.org>
Thu, 16 Apr 2009 07:20:16 +0000 (07:20 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Thu, 16 Apr 2009 07:20:16 +0000 (07:20 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29254 a592a061-630c-0410-9148-cb99ea01b6c8

src/Converter.cpp

index cd174826f0e19ee359ab2f52a713b525b71da3fd..a970faf38de2587cb7fb8f7a038ff2454b2ba75c 100644 (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