]> git.lyx.org Git - lyx.git/commitdiff
Fixup graphics height conversion when special is non-empty
authorJuergen Spitzmueller <spitz@lyx.org>
Thu, 17 Sep 2020 06:43:04 +0000 (08:43 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Thu, 17 Sep 2020 06:43:04 +0000 (08:43 +0200)
lib/lyx2lyx/lyx_2_4.py

index b36ad1ea49dc5b0a47f35c1648fedf26cf72e9d0..e1a8e6abe5b07f3a9d7375ba9fadb64403b14f96 100644 (file)
@@ -3606,7 +3606,7 @@ def convert_totalheight(document):
                     unit = relative_heights[unit]
                 if k != -1:
                     if special != "":
-                        val = val + "," + special
+                        val = val + unit + "," + special
                     document.body[k] = "\tspecial " + "height=" + val
                 else:
                     document.body.insert(kk + 1, "\tspecial height=" + val + unit)