lyx2lyx/lyx_2_0.py: backport r39383 to branch

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39392 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2011-07-31 02:07:16 +00:00
parent 39703b8032
commit 6487aeb026
2 changed files with 7 additions and 3 deletions

View File

@ -1839,7 +1839,7 @@ def revert_mathdots(document):
mathdots = find_token(document.header, "\\use_mathdots" , 0)
if mathdots == -1:
document.warning("No \\usemathdots line. Assuming auto.")
document.warning("No \\use_mathdots line. Assuming auto.")
else:
val = get_value(document.header, "\\use_mathdots", mathdots)
del document.header[mathdots]
@ -1855,7 +1855,7 @@ def revert_mathdots(document):
return
if usedots == 2:
# force load case
add_to_preamble(["\\usepackage{mathdots}"])
add_to_preamble(document, ["\\usepackage{mathdots}"])
return
# so we are in the auto case. we want to load mathdots if \iddots is used.
@ -2531,7 +2531,7 @@ convert = [[346, []],
[410, []],
[411, [convert_langpack]],
[412, []],
[413, []],
[413, []]
]
revert = [[412, [revert_html_css_as_file]],

View File

@ -161,6 +161,10 @@ What's new
- Fix output of unicode math from within child documents (bug 7682).
- Fix bug when exporting documents containing the command/character
"\iddots" in math to LyX 1.6.x.
* USER INTERFACE
- Fixed crash relating to outliner and mouse movement.