On Sun, Sep 27, 2020 at 09:24:37PM +0200, Enrico Forestieri wrote: > > I think the attached patch > is what is missing.
Sorry, there was a colon missing in the "if" line. Corrected patch attached. -- Enrico
diff --git a/lib/scripts/layout2layout.py b/lib/scripts/layout2layout.py index 74119bb678..50b02e79a1 100644 --- a/lib/scripts/layout2layout.py +++ b/lib/scripts/layout2layout.py @@ -538,6 +538,11 @@ def convert(lines, end_format): i += 1 continue + if 82 <= format <= 84: + # nothing to do. + i += 1 + continue + if format == 81: match = re.compile(b'^(\\s*Header\\s+)("?\\w+"?)', re.IGNORECASE).match(lines[i]) if match:
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel