Hi,
        today while reviewing old packages I found a bug in lyx2lyx where it 
does not 
work convert documents with a "default" language.

        The change happened in 1.1.6 and we have the corresponding 
transformation, 
the problem is that now we try to find the document encoding before 
converting the document.

        The easiest solution (after some thought) is to a "default" language 
that 
defaults to latin1 as its encoding.

        I propose to apply this for both trunk and 1.5.3. May I Jürgen? 
-- 
José Abílio
Index: lyx2lyx_lang.py
===================================================================
--- lyx2lyx_lang.py	(revision 21518)
+++ lyx2lyx_lang.py	(working copy)
@@ -28,6 +28,7 @@
  'croatian': ['croatian', 'Croatian', 'false', 'iso8859-2', 'hr_HR', ''],
  'czech': ['czech', 'Czech', 'false', 'iso8859-2', 'cs_CZ', ''],
  'danish': ['danish', 'Danish', 'false', 'iso8859-1', 'da_DK', ''],
+ 'default': ['default', 'default', 'false', 'iso8859-1', 'C', ''],
  'dutch': ['dutch', 'Dutch', 'false', 'iso8859-1', 'nl_NL', ''],
  'english': ['english', 'English', 'false', 'iso8859-1', 'en_US', ''],
  'esperanto': ['esperanto', 'Esperanto', 'false', 'iso8859-3', 'eo', ''],

Reply via email to