commit 8f65ae16e14c7909aa122532b19422ff32d3446e
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.)
    
    (cherry picked from commit 2d95f8fc160d6ecc63acb81ffac16a99339083b2)
---
 src/output_latex.cpp | 3 +++
 1 file changed, 3 insertions(+)

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

Reply via email to