From: Juergen Spitzmueller Date: Sun, 16 Sep 2018 08:34:01 +0000 (+0200) Subject: Fix copy-paste error. X-Git-Tag: 2.3.2~88 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=b5892e58f02307108832f8846afdda49c3e4750a;p=features.git Fix copy-paste error. (cherry picked from commit 305d449a47bf54d4f8ec594b0d1a2b5cf070c30b) --- diff --git a/lib/lyx2lyx/lyx_2_1.py b/lib/lyx2lyx/lyx_2_1.py index f56d3adbc8..6e7d8266ba 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 1d6f7f4e78..77f72af598 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