X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2FPreamble.cpp;h=96df0a0f70cc1f540dfab76d7933acd9aa481b23;hb=0d6c64a4eb0a3b6f1e27ba7fd342bf5cff0314a8;hp=7d6a07c9747bef089b174e51e18065fec1fe3e53;hpb=87c00f33837460e10a8bfec093eb681d2fa4d3f8;p=lyx.git diff --git a/src/tex2lyx/Preamble.cpp b/src/tex2lyx/Preamble.cpp index 7d6a07c974..96df0a0f70 100644 --- a/src/tex2lyx/Preamble.cpp +++ b/src/tex2lyx/Preamble.cpp @@ -533,7 +533,7 @@ Preamble::Preamble() : one_language(true), explicit_babel(false), h_pdf_pdfusetitle = "0"; //h_pdf_pagemode; //h_pdf_quoted_options; - h_quotes_language = "english"; + h_quotes_style = "english"; h_secnumdepth = "3"; h_shortcut[0] = "idx"; h_spacing = "single"; @@ -1079,22 +1079,22 @@ bool Preamble::writeLyXHeader(ostream & os, bool subdoc, string const & outfiled // (quotes for kazakh and interlingua are unknown) // danish if (is_known(h_language, known_danish_quotes_languages)) - h_quotes_language = "danish"; + h_quotes_style = "danish"; // french else if (is_known(h_language, known_french_quotes_languages)) - h_quotes_language = "french"; + h_quotes_style = "french"; // german else if (is_known(h_language, known_german_quotes_languages)) - h_quotes_language = "german"; + h_quotes_style = "german"; // polish else if (is_known(h_language, known_polish_quotes_languages)) - h_quotes_language = "polish"; + h_quotes_style = "polish"; // swedish else if (is_known(h_language, known_swedish_quotes_languages)) - h_quotes_language = "swedish"; + h_quotes_style = "swedish"; //english else if (is_known(h_language, known_english_quotes_languages)) - h_quotes_language = "english"; + h_quotes_style = "english"; if (contains(h_float_placement, "H")) registerAutomaticallyLoadedPackage("float"); @@ -1253,7 +1253,7 @@ bool Preamble::writeLyXHeader(ostream & os, bool subdoc, string const & outfiled os << "\\defskip " << h_defskip << "\n"; else os << "\\paragraph_indentation " << h_paragraph_indentation << "\n"; - os << "\\quotes_language " << h_quotes_language << "\n" + os << "\\quotes_style " << h_quotes_style << "\n" << "\\papercolumns " << h_papercolumns << "\n" << "\\papersides " << h_papersides << "\n" << "\\paperpagestyle " << h_paperpagestyle << "\n";