On Sunday 06 August 2006 19:43, Jean-Marc Lasgouttes wrote: > >>>>> "Jose'" == Jose' Matos <[EMAIL PROTECTED]> writes: > > Jose'> Hi, the following patch adds support for a fictitious file > Jose'> format called 249 which has the property that file encoding is > Jose'> utf-8. > > @@ -0,0 +1,127 @@ > +lang = {'afrikaans': ['afrikaans', 'Afrikaans', 'false', 'iso8859-1', > 'af_ZA', ''], > > Do we want to replicate lib/language in lyx2lyx? This opens the door > to cut and paste errors...
Yes, we do for several reasons. We don't want to parse the same file over and over again. This file is generated from another python script that parses lib/languages and lib/encondings. > ... like this one: > > + 'bulgarian': ['bulgarian', > + 'Bulgarian', > + 'false', > + 'alse', > + 'cp1251', > + 'bg_BG', > + ''], I have fixed this bug. I will commit the script as well, when committing the changes. Just for reference both files follow attached. > JMarc -- José Abílio
generate_enconding_info.py
Description: application/python
lyx2lyx_lang.py
Description: application/python