commit b5892e58f02307108832f8846afdda49c3e4750a
Author: Juergen Spitzmueller <[email protected]>
Date: Sun Sep 16 10:34:01 2018 +0200
Fix copy-paste error.
(cherry picked from commit 305d449a47bf54d4f8ec594b0d1a2b5cf070c30b)
---
lib/lyx2lyx/lyx_2_1.py | 2 +-
status.23x | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/lib/lyx2lyx/lyx_2_1.py b/lib/lyx2lyx/lyx_2_1.py
index f56d3ad..6e7d826 100644
--- a/lib/lyx2lyx/lyx_2_1.py
+++ b/lib/lyx2lyx/lyx_2_1.py
@@ -3670,7 +3670,7 @@ def convert_captionlayouts(document):
document.body[j:j] = ["\\end_layout", "", "\\end_inset", "", ""]
document.body[i:i+1] = ["\\begin_layout %s" %
document.default_layout,
- "\\begin_inset Caption %s" %
caption_dict[val], "",
+ "\\begin_inset Caption %s" %
caption_dict[captype], "",
"\\begin_layout %s" %
document.default_layout]
i += 1
diff --git a/status.23x b/status.23x
index 1d6f7f4..77f72af 100644
--- a/status.23x
+++ b/status.23x
@@ -100,6 +100,8 @@ What's new
- Do not mark the import converters for Sweave and knitr as needauth.
+- Fix conversion of captions from LyX 2.0 documents.
+
* USER INTERFACE