# Add ct_additions_underlined.
# No convergence necessary.
+# Incremented to format 32, by spitz
+# Add ct_markup_copied.
+# No convergence necessary.
+
+# Incremented to format 33, by sanda
+# Add \citation_search, \citation_search_pattern
+# and \citation_search_view.
+# No conversion necessary.
+
+# Incremented to format 34, by yuriy
+# Rename *.kmap files for Cyrillic languages
+
# NOTE: The format should also be updated in LYXRC.cpp and
# in configure.py.
return no_match
return (True, "")
+def rename_cyrillic_kmap_files(line):
+ line = line.lower()
+ if not (line.startswith("\\kbmap_primary ")
+ or line.startswith("\\kbmap_secondary ")):
+ return no_match
+ line = line.replace('"bg-bds-1251"', '"bulgarian"')
+ line = line.replace('"koi8-r"', '"russian"')
+ line = line.replace('"koi8-u"', '"ukrainian"')
+ return (True, line)
+
# End conversions for LyX 2.3 to 2.4
####################################
[ 28, [remove_date_insert_format]],
[ 29, [remove_use_pixmap_cache]],
[ 30, []],
- [ 31, []]
+ [ 31, []],
+ [ 32, []],
+ [ 33, []],
+ [ 34, [rename_cyrillic_kmap_files]]
]