diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2000-06-11 19:22:39 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2000-06-11 19:22:39 (GMT) |
commit | 93737357fcce05f46d2db771293d746ea4b79acc (patch) | |
tree | a213e1477917c43abbeeac764fe4d2846e726728 /src/latexgen.cpp | |
parent | 4bdaaa8da9bee65b5cda2e60a55f95d948feba88 (diff) | |
download | Doxygen-93737357fcce05f46d2db771293d746ea4b79acc.zip Doxygen-93737357fcce05f46d2db771293d746ea4b79acc.tar.gz Doxygen-93737357fcce05f46d2db771293d746ea4b79acc.tar.bz2 |
Release-1.1.4-20000611
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r-- | src/latexgen.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp index 028cb66..036abe4 100644 --- a/src/latexgen.cpp +++ b/src/latexgen.cpp @@ -958,7 +958,7 @@ void LatexGenerator::writeSection(const char *lab,const char *title,bool sub) } } -void LatexGenerator::writeSectionRef(const char *fileName,const char *lab, +void LatexGenerator::writeSectionRef(const char *,const char *lab, const char *text) { if (text && Config::pdfHyperFlag) @@ -1010,6 +1010,7 @@ void LatexGenerator::docify(const char *str) { static bool isJapanese = theTranslator->latexBabelPackage()=="a4j"; static bool isRussian = theTranslator->latexBabelPackage()=="russian"; + static bool isGerman = theTranslator->latexBabelPackage()=="german"; if (str) { const unsigned char *p=(const unsigned char *)str; @@ -1058,6 +1059,12 @@ void LatexGenerator::docify(const char *str) else { t << "$\\backslash$"; } break; + case '"': if (isGerman) // " has a special meaning if German + // - Thomas Vesper + { t << "\\char`\\\""; } + else + { t << (char)c; } + break; default: if (isJapanese) @@ -1127,7 +1134,7 @@ void LatexGenerator::docify(const char *str) case 219: t << "\\^{U}"; break; case 220: t << "\\\"{U}"; break; case 221: t << "\\'{Y}"; break; - case 223: t << "\"s "; break; // assumes german package + case 223: t << "\\ss "; break; case 224: t << "\\`{a}"; break; case 225: t << "\\'{a}"; break; case 226: t << "\\^{a}"; break; |