diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-04-30 17:28:34 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-04-30 17:28:34 (GMT) |
commit | 3e8e2e531ac41a9d4729375151b6af6493a61fd7 (patch) | |
tree | e2fe643e6fc6aabac8311560e2258318c1dead5a /src/latexgen.cpp | |
parent | 9a1a3728724df58e6fc9196651f8e8c8f23f1e2d (diff) | |
download | Doxygen-3e8e2e531ac41a9d4729375151b6af6493a61fd7.zip Doxygen-3e8e2e531ac41a9d4729375151b6af6493a61fd7.tar.gz Doxygen-3e8e2e531ac41a9d4729375151b6af6493a61fd7.tar.bz2 |
Release-1.2.7
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r-- | src/latexgen.cpp | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp index 761845f..00f12e9 100644 --- a/src/latexgen.cpp +++ b/src/latexgen.cpp @@ -249,21 +249,10 @@ static void writeDefaultHeaderPart1(QTextStream &t) if (!sLanguageSupportCommand.isEmpty()) { - // The command is not empty. The language does - // not want to use the babel package. Use this - // command instead. + // The command is not empty. Put it to the output. + // if the command is empty, no output is needed. t << sLanguageSupportCommand; } - else - { - if (!theTranslator->latexBabelPackage().isEmpty()) - { - // The result of the LatexLanguageSupportCommand() - // is empty, which means that the language prefers - // the babel package, or no package is needed at all. - t << "\\usepackage[" << theTranslator->latexBabelPackage() << "]{babel}\n"; - } - } QStrList &extraPackages = Config_getList("EXTRA_PACKAGES"); const char *s=extraPackages.first(); @@ -280,7 +269,6 @@ static void writeDefaultHeaderPart1(QTextStream &t) "\\vspace*{7cm}\n" "\\begin{center}\n" "{\\Large "; - } static void writeDefaultHeaderPart2(QTextStream &t) |