Typos? Thinkos?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36092 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2010-11-04 21:40:01 +00:00
parent 0a7e9018e5
commit 27f4623b57

View File

@ -1779,12 +1779,14 @@ def revert_mathdots(document):
usedots = int(val) usedots = int(val)
except: except:
document.warning("Invalid \\use_mathdots value: " + val) document.warning("Invalid \\use_mathdots value: " + val)
# probably usedots has not been changed, but be safe.
usedots = 1
if mathdots == 0: if usedots == 0:
# do not load case # do not load case
return return
if mathdots == 2: if usedots == 2:
# force load case # force load case
add_to_preamble(["% lyx2lyx mathdots addition", "\\usepackage{mathdots}"]) add_to_preamble(["% lyx2lyx mathdots addition", "\\usepackage{mathdots}"])
return return