[LyX/master] Fixup graphics height conversion when special is non-empty
Juergen Spitzmueller
spitz at lyx.org
Thu Sep 17 06:16:29 UTC 2020
commit 40159fd2ab5918503260d7cab05cb7dc2b19e635
Author: Juergen Spitzmueller <spitz at lyx.org>
Date: Thu Sep 17 08:43:04 2020 +0200
Fixup graphics height conversion when special is non-empty
---
lib/lyx2lyx/lyx_2_4.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/lyx2lyx/lyx_2_4.py b/lib/lyx2lyx/lyx_2_4.py
index b36ad1e..e1a8e6a 100644
--- a/lib/lyx2lyx/lyx_2_4.py
+++ b/lib/lyx2lyx/lyx_2_4.py
@@ -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)
More information about the lyx-cvs
mailing list