]> 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 7b39460ccb76f25ffde84143053d9a684c4939e4..0186decbf2c08a872e0cc230d93a1c59152ea374 100644 (file)
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
-""" Convert files generated by lyx 0.8"""
+""" Convert files to the file format generated by lyx 0.8"""
 
-convert = [[210, []]]
+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, [add_inputencoding]]]
 revert  = []