X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flyx2lyx%2Flyx_0_08.py;h=0186decbf2c08a872e0cc230d93a1c59152ea374;hb=9fd8a869616cad617d0db8b022119c35855ea39d;hp=62dce8377361c2f832699bc9bc045ac65d92239a;hpb=695bfd88ed8f02e35c4a31664ed5a2b9f135cf72;p=lyx.git diff --git a/lib/lyx2lyx/lyx_0_08.py b/lib/lyx2lyx/lyx_0_08.py index 62dce83773..0186decbf2 100644 --- a/lib/lyx2lyx/lyx_0_08.py +++ b/lib/lyx2lyx/lyx_0_08.py @@ -18,8 +18,14 @@ """ Convert files to the file format generated by lyx 0.8""" +def add_inputencoding(document): + " Add the input encoding, latin1" + document.header.append('\\inputencoding latin1') + document.inputencoding = "latin1" + + supported_versions = ["0.8.%d" % i for i in range(7)] + ["0.8"] -convert = [[210, []]] +convert = [[210, [add_inputencoding]]] revert = []