]> git.lyx.org Git - lyx.git/blobdiff - lib/lyx2lyx/lyx_0_08.py
Spots from Abdel
[lyx.git] / lib / lyx2lyx / lyx_0_08.py
index 62dce8377361c2f832699bc9bc045ac65d92239a..0186decbf2c08a872e0cc230d93a1c59152ea374 100644 (file)
 
 """ 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  = []