The upstream encoding needs to be updated after this routine
(see comment in OutputParams.h:183ff.)

(cherry picked from commit 2d95f8fc16)
This commit is contained in:
Juergen Spitzmueller 2024-05-16 07:33:29 +02:00
parent 8edc87b681
commit 8f65ae16e1

View File

@ -494,6 +494,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;
}