From c90e656d9d28e61c5970601150a03d2cc54aebe8 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Fri, 9 Dec 2022 09:12:23 +0100 Subject: [PATCH] Fix cut and paste error --- lib/lyx2lyx/lyx_2_4.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lyx2lyx/lyx_2_4.py b/lib/lyx2lyx/lyx_2_4.py index 024480f175..e75cdbf2c4 100644 --- a/lib/lyx2lyx/lyx_2_4.py +++ b/lib/lyx2lyx/lyx_2_4.py @@ -3061,7 +3061,7 @@ def convert_Semibolds(document): else: # We need to use this regex since split() does not handle quote protection ttopts = re.findall(r'[^"\s]\S*|".+?"', document.header[x]) - document.header[x] = "\\font_typewriter_opts \"semibold, " + sfopts[1].strip('"') + "\"" + document.header[x] = "\\font_typewriter_opts \"semibold, " + ttopts[1].strip('"') + "\"" def convert_NotoRegulars(document):