]> git.lyx.org Git - lyx.git/blobdiff - lib/lyx2lyx/lyx_0_08.py
Don't use widest label for numerical citations.
[lyx.git] / lib / lyx2lyx / lyx_0_08.py
index 7b39460ccb76f25ffde84143053d9a684c4939e4..cb31eace514eb4cfab83ad05c26a9ee32f2ad95a 100644 (file)
 #
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  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  = []