]> git.lyx.org Git - lyx.git/commitdiff
Amend 207eaeee9071cb
authorJuergen Spitzmueller <spitz@lyx.org>
Thu, 16 May 2024 05:33:29 +0000 (07:33 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Thu, 16 May 2024 05:33:29 +0000 (07:33 +0200)
The upstream encoding needs to be updated after this routine
(see comment in OutputParams.h:183ff.)

src/output_latex.cpp

index 8ea5502e1c9ea6156c33eedb03afad56ecd7502c..49dbd2d07a8722a9d8485615faf0d329d5df48d4 100644 (file)
@@ -495,6 +495,9 @@ void TeXEnvironment(Buffer const & buf, Text const & text,
 
        if (pit != runparams.par_end)
                LYXERR(Debug::OUTFILE, "TeXEnvironment for paragraph " << par_begin << " done.");
+
+       // set upstream encoding
+       runparams_in.encoding = runparams.encoding;
 }