Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
A small math fix
  • Loading branch information
Klaus Thoden committed May 31, 2018
1 parent 36d0bb8 commit 49146d0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion eoatex2imxml.py
@@ -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"
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 49146d0

Please sign in to comment.