commit c71ccb5e999595ce3e508cf26f5f1a5934519462
Author: Juergen Spitzmueller <[email protected]>
Date:   Mon Aug 4 16:17:35 2025 +0200

    Add missing \end_layout in revert_rotfloat (lyx_2_3.py)
---
 lib/lyx2lyx/lyx_2_3.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/lyx2lyx/lyx_2_3.py b/lib/lyx2lyx/lyx_2_3.py
index f08b581b7d..dac4567dc7 100644
--- a/lib/lyx2lyx/lyx_2_3.py
+++ b/lib/lyx2lyx/lyx_2_3.py
@@ -2078,7 +2078,7 @@ def revert_rotfloat(document):
             )
             document.body[i - 3 : i + 2] = put_cmd_in_ert(
                 "\\begin{sideways" + fType + star + "}[" + placement + "]"
-            )
+            ) + ["\\end_layout"]
             add_to_preamble(document, ["\\usepackage{rotfloat}"])
 
         i = i + 1
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to