mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 21:40:19 +00:00
Fix another thinko of mine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36000 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
efa0da26c8
commit
48ffa78c9a
@ -1386,12 +1386,14 @@ def convert_math_output(document):
|
||||
return
|
||||
rgx = re.compile(r'\\html_use_mathml\s+(\w+)')
|
||||
m = rgx.match(document.header[i])
|
||||
if rgx:
|
||||
newval = "0" # MathML
|
||||
val = m.group(1)
|
||||
if val != "true":
|
||||
newval = "2" # Images
|
||||
document.header[i] = "\\html_math_output " + newval
|
||||
newval = "0" # MathML
|
||||
if m:
|
||||
val = m.group(1)
|
||||
if val != "true":
|
||||
newval = "2" # Images
|
||||
else:
|
||||
document.warning("Can't match " + document.header[i])
|
||||
document.header[i] = "\\html_math_output " + newval
|
||||
|
||||
|
||||
def revert_math_output(document):
|
||||
|
Loading…
Reference in New Issue
Block a user