[PATCH] Fix Cyrillic keyboard map files
Jürgen Spitzmüller
spitz at lyx.org
Thu Sep 17 12:50:00 UTC 2020
Am Donnerstag, den 17.09.2020, 15:35 +0300 schrieb Yuriy Skalko:
> +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")
I guess this also replaces files with those names (modified copies) in
the user directory or in custom paths. Only references to the map files
shipped with LyX should be replaced.
Jürgen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200917/b3af2e60/attachment.asc>
More information about the lyx-devel
mailing list