- language: Kurmanji is since 2009 also supported by babel; no fileformat change necessary because Kurmanji is already covered by fileformat 432

- tex2lyx/Preamble.cpp: babel support for Kurmanji and remove comment residues of ArmTeX whose support was removed by fileformat 433
This commit is contained in:
Uwe Stöhr 2012-06-23 18:56:10 +02:00
parent 7a103ba6d7
commit d37bb54e7b
2 changed files with 9 additions and 12 deletions

View File

@ -542,12 +542,13 @@ Language korean
Requires CJK Requires CJK
End End
# not supported by babel
Language kurmanji Language kurmanji
GuiName "Kurmanji" GuiName "Kurmanji"
BabelName kurmanji
PolyglossiaName kurmanji PolyglossiaName kurmanji
Encoding utf8 Encoding utf8
LangCode kmr LangCode kmr
AsBabelOptions true
End End
# not supported by babel # not supported by babel

View File

@ -44,16 +44,12 @@ Preamble preamble;
namespace { namespace {
//add this to known_languages when updating to lyxformat 266:
// "armenian" (needs special handling since not supported by standard babel)
//add these to known_languages when updating to lyxformat 268: //add these to known_languages when updating to lyxformat 268:
//"chinese-simplified", "chinese-traditional", "japanese", "korean" //"chinese-simplified", "chinese-traditional", "japanese", "korean"
// Both changes require first that support for non-babel languages (CJK, // This requires first that support for CJK languages is added: bug #4377.
// armtex) is added.
/** /**
* known babel language names (including synonyms) * known babel language names (including synonyms)
* not in standard babel: arabic, arabtex, armenian, belarusian, serbian-latin, thai * not in standard babel: arabic, arabtex, armenian, belarusian, serbian-latin, thai
* not yet supported by LyX: kurmanji
* please keep this in sync with known_coded_languages line by line! * please keep this in sync with known_coded_languages line by line!
*/ */
const char * const known_languages[] = {"acadian", "afrikaans", "albanian", const char * const known_languages[] = {"acadian", "afrikaans", "albanian",
@ -63,9 +59,9 @@ const char * const known_languages[] = {"acadian", "afrikaans", "albanian",
"dutch", "english", "esperanto", "estonian", "farsi", "finnish", "francais", "dutch", "english", "esperanto", "estonian", "farsi", "finnish", "francais",
"french", "frenchb", "frenchle", "frenchpro", "galician", "german", "germanb", "french", "frenchb", "frenchle", "frenchpro", "galician", "german", "germanb",
"greek", "hebrew", "hungarian", "icelandic", "indon", "indonesian", "interlingua", "greek", "hebrew", "hungarian", "icelandic", "indon", "indonesian", "interlingua",
"irish", "italian", "kazakh", "latin", "latvian", "lithuanian", "lowersorbian", "irish", "italian", "kazakh", "kurmanji", "latin", "latvian", "lithuanian",
"lsorbian", "magyar", "malay", "meyalu", "mongolian", "naustrian", "newzealand", "lowersorbian", "lsorbian", "magyar", "malay", "meyalu", "mongolian", "naustrian",
"ngerman", "ngermanb", "norsk", "nynorsk", "polutonikogreek", "polish", "newzealand", "ngerman", "ngermanb", "norsk", "nynorsk", "polutonikogreek", "polish",
"portuges", "portuguese", "romanian", "russian", "russianb", "samin", "portuges", "portuguese", "romanian", "russian", "russianb", "samin",
"scottish", "serbian", "serbian-latin", "slovak", "slovene", "spanish", "scottish", "serbian", "serbian-latin", "slovak", "slovene", "spanish",
"swedish", "thai", "turkish", "turkmen", "ukraineb", "ukrainian", "swedish", "thai", "turkish", "turkmen", "ukraineb", "ukrainian",
@ -83,9 +79,9 @@ const char * const known_coded_languages[] = {"french", "afrikaans", "albanian",
"dutch", "english", "esperanto", "estonian", "farsi", "finnish", "french", "dutch", "english", "esperanto", "estonian", "farsi", "finnish", "french",
"french", "french", "french", "french", "galician", "german", "german", "french", "french", "french", "french", "galician", "german", "german",
"greek", "hebrew", "magyar", "icelandic", "bahasa", "bahasa", "interlingua", "greek", "hebrew", "magyar", "icelandic", "bahasa", "bahasa", "interlingua",
"irish", "italian", "kazakh", "latin", "latvian", "lithuanian", "lowersorbian", "irish", "italian", "kazakh", "kurmanji", "latin", "latvian", "lithuanian",
"lowersorbian", "magyar", "bahasam", "bahasam", "mongolian", "naustrian", "newzealand", "lowersorbian", "lowersorbian", "magyar", "bahasam", "bahasam", "mongolian", "naustrian",
"ngerman", "ngerman", "norsk", "nynorsk", "polutonikogreek", "polish", "newzealand", "ngerman", "ngerman", "norsk", "nynorsk", "polutonikogreek", "polish",
"portuguese", "portuguese", "romanian", "russian", "russian", "samin", "portuguese", "portuguese", "romanian", "russian", "russian", "samin",
"scottish", "serbian", "serbian-latin", "slovak", "slovene", "spanish", "scottish", "serbian", "serbian-latin", "slovak", "slovene", "spanish",
"swedish", "thai", "turkish", "turkmen", "ukrainian", "ukrainian", "swedish", "thai", "turkish", "turkmen", "ukrainian", "ukrainian",