tex2lyx/preamble.cpp: support for

- polytonic Greek
- Mongolian
- Mexican Spanish

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37053 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2010-12-31 07:31:59 +00:00
parent 3403727940
commit 73cdd2547e

View File

@ -56,8 +56,6 @@ namespace {
//"chinese-simplified", "chinese-traditional", "japanese", "korean" //"chinese-simplified", "chinese-traditional", "japanese", "korean"
// Both changes require first that support for non-babel languages (CJK, // Both changes require first that support for non-babel languages (CJK,
// armtex) is added. // armtex) is added.
// add polutonikogreek for lyxformat 338
// add mongolian for lyxformat 342
// add turkmen for lyxformat 383 // add turkmen for lyxformat 383
const char * const known_languages[] = { "afrikaans", "albanian", "american", const char * const known_languages[] = { "afrikaans", "albanian", "american",
"arabic", "arabtex", "austrian", "bahasa", "bahasai", "bahasam", "basque", "arabic", "arabtex", "austrian", "bahasa", "bahasai", "bahasam", "basque",
@ -67,11 +65,11 @@ const char * const known_languages[] = { "afrikaans", "albanian", "american",
"frenchb", "frenchle", "frenchpro", "galician", "german", "germanb", "greek", "frenchb", "frenchle", "frenchpro", "galician", "german", "germanb", "greek",
"hebrew", "icelandic", "indon", "indonesian", "interlingua", "irish", "hebrew", "icelandic", "indon", "indonesian", "interlingua", "irish",
"italian", "kazakh", "latin", "latvian", "lithuanian", "lsorbian", "magyar", "italian", "kazakh", "latin", "latvian", "lithuanian", "lsorbian", "magyar",
"malay", "meyalu", "naustrian", "ngerman", "ngermanb", "norsk", "nynorsk", "malay", "meyalu", "mongolian", "naustrian", "ngerman", "ngermanb", "norsk",
"polish", "portuges", "portuguese", "romanian", "russian", "russianb", "nynorsk", "polutonikogreek", "polish", "portuges", "portuguese", "romanian",
"samin", "scottish", "serbian", "serbian-latin", "slovak", "slovene", "russian", "russianb", "samin", "scottish", "serbian", "serbian-latin",
"spanish", "swedish", "thai", "turkish", "ukraineb", "ukrainian", "slovak", "slovene", "spanish", "swedish", "thai", "turkish", "ukraineb",
"usorbian", "vietnam", "welsh", 0}; "ukrainian", "usorbian", "vietnam", "welsh", 0};
const char * const known_bahasa_languages[] = {"bahasa", "bahasai", const char * const known_bahasa_languages[] = {"bahasa", "bahasai",
"indon", "indonesian", 0}; "indon", "indonesian", 0};
@ -93,12 +91,11 @@ const char * const known_english_quotes_languages[] = {"american", "canadian",
"english", "esperanto", "hebrew", "irish", "scottish", "thai", 0}; "english", "esperanto", "hebrew", "irish", "scottish", "thai", 0};
//add this to known_french_quotes_languages when updating to //add this to known_french_quotes_languages when updating to
// - lyxformat 327: "spanish-mexico" //lyxformat 383: "turkmen"
// - lyxformat 338: "polutonikogreek"
// - lyxformat 383: "turkmen"
const char * const known_french_quotes_languages[] = {"albanian", "arabic", const char * const known_french_quotes_languages[] = {"albanian", "arabic",
"basque", "canadien", "catalan", "galician", "greek", "italian", "norsk", "basque", "canadien", "catalan", "galician", "greek", "italian", "norsk",
"nynorsk", "spanish", "turkish", "vietnam", 0}; "nynorsk", "polutonikogreek", "spanish", "spanish-mexico", "turkish",
"vietnam", 0};
const char * const known_german_quotes_languages[] = {"austrian", "bulgarian", const char * const known_german_quotes_languages[] = {"austrian", "bulgarian",
"czech", "icelandic", "lithuanian", "lsorbian", "naustrian", "serbian", "czech", "icelandic", "lithuanian", "lsorbian", "naustrian", "serbian",