]> git.lyx.org Git - lyx.git/blobdiff - lib/lyx2lyx/lyxconvert_218.py
bare bones to convert 222
[lyx.git] / lib / lyx2lyx / lyxconvert_218.py
index 184146e7fc2907729e4d3aad21a7006fda63bd50..d193a09f4498882079126230b8a06be85e0815e7 100644 (file)
@@ -473,7 +473,7 @@ def change_listof(lines):
        i = find_token(lines, "\\begin_inset LatexCommand \\listof", i)
        if i == -1:
            break
-        type = lines[i][33:-3]
+        type = re.search(r"listof(\w*)", lines[i]).group(1)[:-1]
         lines[i] = "\\begin_inset FloatList "+type
         i = i+1