]> git.lyx.org Git - features.git/commitdiff
lyx2lyx/lyx_2_0.py: backport r39383 to branch
authorUwe Stöhr <uwestoehr@web.de>
Sun, 31 Jul 2011 02:07:16 +0000 (02:07 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Sun, 31 Jul 2011 02:07:16 +0000 (02:07 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39392 a592a061-630c-0410-9148-cb99ea01b6c8

lib/lyx2lyx/lyx_2_0.py
status.20x

index 2854d7bec0f2dbd6a97627742a667f7e83141bee..01efc865764ff60c525a0a62a4f4f156ded454bf 100644 (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]],
index 653b91b6b970b7005e7600dd11874a916933619e..837c6a031a0cdb5311b8fe7468fb9b42c470bd00 100644 (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.