mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
latex_lang should not have a babel language
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19302 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7982ee6cef
commit
2ee5c3a1fb
@ -33,14 +33,14 @@ Language const * english_language;
|
|||||||
Language const * default_language;
|
Language const * default_language;
|
||||||
Language ignore_lang("ignore", "ignore", "Ignore", false, "", 0, "ignore", "");
|
Language ignore_lang("ignore", "ignore", "Ignore", false, "", 0, "ignore", "");
|
||||||
Language const * ignore_language = &ignore_lang;
|
Language const * ignore_language = &ignore_lang;
|
||||||
Language latex_lang("latex", "latex", "Latex", false, "", 0, "latex", "");
|
Language latex_lang("latex", "", "Latex", false, "", 0, "latex", "");
|
||||||
Language const * latex_language = &latex_lang;
|
Language const * latex_language = &latex_lang;
|
||||||
|
|
||||||
|
|
||||||
void Languages::read(support::FileName const & filename)
|
void Languages::read(support::FileName const & filename)
|
||||||
{
|
{
|
||||||
// We need to set the encoding of latex_lang
|
// We need to set the encoding of latex_lang
|
||||||
latex_lang = Language("latex", "latex", "Latex", false, "iso8859-1",
|
latex_lang = Language("latex", "", "Latex", false, "iso8859-1",
|
||||||
encodings.getFromLyXName("iso8859-1"),
|
encodings.getFromLyXName("iso8859-1"),
|
||||||
"latex", "");
|
"latex", "");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user