mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
Increase tex2lyx output format to 297.
297: new name for upper sorbian language, new languages albanian and lower sorbian (actually lower sorbias was (incorrectly) already recognized) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36945 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ac85b252cb
commit
ec22820cbf
@ -56,11 +56,11 @@ namespace {
|
||||
//"chinese-simplified", "chinese-traditional", "japanese", "korean"
|
||||
// Both changes require first that support for non-babel languages (CJK,
|
||||
// armtex) is added.
|
||||
const char * const known_languages[] = { "afrikaans", "american", "arabic",
|
||||
"arabtex", "austrian", "bahasa", "basque", "belarusian", "brazil", "brazilian",
|
||||
"breton", "british", "bulgarian", "canadian", "canadien", "catalan",
|
||||
"croatian", "czech", "danish", "dutch", "english", "esperanto", "estonian",
|
||||
"finnish", "francais", "french", "frenchb", "frenchle", "frenchpro",
|
||||
const char * const known_languages[] = { "afrikaans", "albanian", "american",
|
||||
"arabic", "arabtex", "austrian", "bahasa", "basque", "belarusian", "brazil",
|
||||
"brazilian", "breton", "british", "bulgarian", "canadian", "canadien",
|
||||
"catalan", "croatian", "czech", "danish", "dutch", "english", "esperanto",
|
||||
"estonian", "finnish", "francais", "french", "frenchb", "frenchle", "frenchpro",
|
||||
"galician", "german", "germanb", "greek", "hebrew", "icelandic", "irish",
|
||||
"italian", "kazakh", "latvian", "lithuanian", "lsorbian", "magyar",
|
||||
"naustrian", "ngerman", "ngermanb", "norsk", "nynorsk", "polish", "portuges",
|
||||
@ -191,6 +191,10 @@ string babel2lyx(string language)
|
||||
return "arabic_arabtex";
|
||||
if (language == "arabic")
|
||||
return "arabic_arabi";
|
||||
if (language == "lsorbian")
|
||||
return "lowersorbian";
|
||||
if (language == "usorbian")
|
||||
return "uppersorbian";
|
||||
return language;
|
||||
}
|
||||
|
||||
|
@ -114,7 +114,7 @@ extern CommandMap known_math_environments;
|
||||
///
|
||||
extern bool noweb_mode;
|
||||
/// LyX format that is created by tex2lyx
|
||||
int const LYX_FORMAT = 296;
|
||||
int const LYX_FORMAT = 297;
|
||||
|
||||
/// path of the master .tex file
|
||||
extern std::string getMasterFilePath();
|
||||
|
Loading…
Reference in New Issue
Block a user