From d75457604fa5c15ac87c7e3d68aa85a4169d1749 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Sat, 30 Jun 2012 15:44:55 +0200 Subject: [PATCH] tex2lyx: remove LyX 2.1-only languages Preamble.cpp: - newzealand and australian are only supported by LyX 2.1 - update a comment --- src/tex2lyx/Preamble.cpp | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/tex2lyx/Preamble.cpp b/src/tex2lyx/Preamble.cpp index da4a50fffe..6c3e28446a 100644 --- a/src/tex2lyx/Preamble.cpp +++ b/src/tex2lyx/Preamble.cpp @@ -44,12 +44,16 @@ Preamble preamble; namespace { -// "chinese-simplified", "chinese-traditional", "japanese-cjk", "korean" -// cannot be supported because it is impossible to determine the correct document -// language if CJK is used. +//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: +//"chinese-simplified", "chinese-traditional", "japanese", "korean" +// Both changes require first that support for non-babel languages (CJK, +// armtex) is added. /** * known babel language names (including synonyms) * 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! */ const char * const known_languages[] = {"acadian", "afrikaans", "albanian", @@ -102,7 +106,7 @@ const char * const polyglossia_languages[] = { "lsorbian", "serbian", "vietnamese", "bulgarian", "galician", "magyar", "slovak", "welsh", "catalan", "german", "malayalam", "slovenian", "coptic", "greek", "marathi", "spanish", -"american", "ancient", "british", "monotonic", +"american", "ancient", "australian", "british", "monotonic", "newzealand", "polytonic", 0}; /** @@ -120,7 +124,7 @@ const char * const coded_polyglossia_languages[] = { "lowersorbian", "serbian", "vietnamese", "bulgarian", "galician", "magyar", "slovak", "welsh", "catalan", "ngerman", "malayalam", "slovene", "coptic", "greek", "marathi", "spanish", -"american", "ancientgreek", "british", "greek", +"american", "ancientgreek", "australian", "british", "greek", "newzealand", "polutonikogreek", 0}; /// languages with english quotes (.lyx names) -- 2.39.5