commit 2d95f8fc160d6ecc63acb81ffac16a99339083b2
Author: Juergen Spitzmueller <sp...@lyx.org>
Date:   Thu May 16 07:33:29 2024 +0200

    Amend 207eaeee9071cb
    
    The upstream encoding needs to be updated after this routine
    (see comment in OutputParams.h:183ff.)
---
 src/output_latex.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/output_latex.cpp b/src/output_latex.cpp
index 8ea5502e1c..49dbd2d07a 100644
--- a/src/output_latex.cpp
+++ b/src/output_latex.cpp
@@ -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;
 }
 
 
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to