]> git.lyx.org Git - features.git/commitdiff
tex2lyx comment corrections
authorUwe Stöhr <uwestoehr@lyx.org>
Sun, 24 Jun 2012 12:39:57 +0000 (14:39 +0200)
committerUwe Stöhr <uwestoehr@lyx.org>
Sun, 24 Jun 2012 12:39:57 +0000 (14:39 +0200)
tex2lyx/Preamble.cpp, tex2lyx/text.cpp: add info about CJK languages

src/tex2lyx/Preamble.cpp
src/tex2lyx/text.cpp

index 2f2499b842ece42f07cd26033d2ee7d5ee499287..2331721f35dbd4d47fc2c441918c28374b470534 100644 (file)
@@ -44,9 +44,10 @@ Preamble preamble;
 
 namespace {
 
-//add these to known_languages when updating to lyxformat 268:
-//"chinese-simplified", "chinese-traditional", "japanese", "korean"
-// This requires first that support for CJK languages is added: bug #4377.
+// "chinese-simplified", "chinese-traditional", "japanese-cjk", "korean"
+// cannot be supported because it is impossible to determine the correct document
+// language if CJK is used.
+// FIXME: missing support for "japanese" (non-CJK)
 /**
  * known babel language names (including synonyms)
  * not in standard babel: arabic, arabtex, armenian, belarusian, serbian-latin, thai
index add0541b8f69a572fa6694cd196dbe3245fd9c60..8ebed0f53f3a0e227f8adab73772ad7aa73cb186 100644 (file)
@@ -159,7 +159,7 @@ const char * const supported_CJK_encodings[] = {
 "EUC-JP", "KS", "GB", "UTF8", 0};
 
 /**
- * the same as supported_CJK_encodings with .lyx names
+ * the same as supported_CJK_encodings with their corresponding LyX language name
  * please keep this in sync with supported_CJK_encodings line by line!
  */
 const char * const coded_supported_CJK_encodings[] = {