Permalink
Browse files

A small math fix

  • Loading branch information...
kthoden committed May 31, 2018
1 parent 36d0bb8 commit 49146d0dbd45a811a6b6f409d31bb222bfaaeafa
Showing with 5 additions and 1 deletion.
  1. +5 −1 eoatex2imxml.py
View
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
# -*- coding: utf-8; mode: python -*-
-# Time-stamp: <2018-05-31 12:25:32 (kthoden)>
+# Time-stamp: <2018-05-31 15:40:12 (kthoden)>
# license?
__version__= "1.0"
@@ -762,6 +762,10 @@ def cleanup():
progress(intEOAineqnumber, len(xmlEOAineqs),"Processing EOAineq %s of %s." % (intEOAineqnumber, len(xmlEOAineqs)))
strSourceCode = os.linesep.join([s for s in strSourceCode.splitlines() if s])
+
+ # this occurred once in sources 11
+ strSourceCode = strSourceCode.replace(r"\@root", r"\root")
+
strTeXEquations = strTeXEquations + "$" + strSourceCode + "$\n\\newpage\n"
# Add intEOAineqRunningOrder : Filename to dictionary
strFilename = "EOAineq_" + str(intChapterNumber) + "_" + str(intEOAineqnumber)

0 comments on commit 49146d0

Please sign in to comment.