From ccdf8ba7019cae64b4daab101f1825f14b88773b Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Sat, 17 Aug 2024 16:55:23 +0200 Subject: [PATCH] another lyx2lyx fix for index --- lib/lyx2lyx/lyx_2_5.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/lyx2lyx/lyx_2_5.py b/lib/lyx2lyx/lyx_2_5.py index c93a3bfc21..e3de465948 100644 --- a/lib/lyx2lyx/lyx_2_5.py +++ b/lib/lyx2lyx/lyx_2_5.py @@ -661,8 +661,6 @@ def convert_index_sc(document): line = document.body[k] chunks = line.split(ec) repl = [] - if line[0] == ec: - repl = put_cmd_in_ert(ec) chunks_len = len(chunks)-1 for ch in chunks[:-1]: repl += [ch]