]> git.lyx.org Git - lyx.git/blobdiff - lib/lyx2lyx/lyx_2_1.py
Remove redundant \\end_layout in jss-article Code Chunk reversion.
[lyx.git] / lib / lyx2lyx / lyx_2_1.py
index c71f04667cb41d5e20a4a630d5dd4383901b5849..a61f9e995cd72010f8535ded1da5a11d75b61c10 100644 (file)
@@ -1440,6 +1440,10 @@ def revert_mdnomath(document):
                 document.header[i] = "\\font_roman %s" % mathdesign_dict[val]
 
 
+def convert_mathfonts(document):
+    document.header.insert(-1, "\\font_math auto")
+
+
 def convert_mdnomath(document):
     " Change mathdesign font name " 
 
@@ -4826,7 +4830,7 @@ convert = [
            [437, []],
            [438, []],
            [439, []],
-           [440, []],
+           [440, [convert_mathfonts]],
            [441, [convert_mdnomath]],
            [442, []],
            [443, []],