]> git.lyx.org Git - features.git/commitdiff
Fix bug 6140. Patch due to gmatht.
authorRichard Heck <rgheck@comcast.net>
Thu, 13 Aug 2009 19:17:41 +0000 (19:17 +0000)
committerRichard Heck <rgheck@comcast.net>
Thu, 13 Aug 2009 19:17:41 +0000 (19:17 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31018 a592a061-630c-0410-9148-cb99ea01b6c8

lib/scripts/layout2layout.py

index edc7db2c1c321444bc8c195f24789c49109a0e4d..9584f8c4542461e511a2f4f46ce8c4b821251997 100644 (file)
@@ -161,7 +161,7 @@ def convert(lines):
     re_End = re.compile(r'^(\s*)(End)(\s*)$', re.IGNORECASE)
     re_Provides = re.compile(r'^(\s*)Provides(\S+)(\s+)(\S+)', re.IGNORECASE)
     re_CharStyle = re.compile(r'^(\s*)CharStyle(\s+)(\S+)$', re.IGNORECASE)
-    re_AMSMaths = re.compile(r'^\s*Input amsmaths.inc\s*')
+    re_AMSMaths = re.compile(r'^\s*Input ams(?:math|def)s.inc\s*')
     re_AMSMathsPlain = re.compile(r'^\s*Input amsmaths-plain.inc\s*')
     re_AMSMathsSeq = re.compile(r'^\s*Input amsmaths-seq.inc\s*')
     re_TocLevel = re.compile(r'^(\s*)(TocLevel)(\s+)(\S+)', re.IGNORECASE)