diff options
author | albert-github <albert.tests@gmail.com> | 2018-07-12 12:19:00 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2018-07-12 12:19:00 (GMT) |
commit | 858d65a9cd7b9b7cf71da01098f47d583b3322f5 (patch) | |
tree | 965217503677442e224e80549bee3d0aea3a7857 /src/translator_cn.h | |
parent | 5b735d5118581e3bca686f79de341b8b2e76691f (diff) | |
parent | 56c60e84e6dd6d7e4e7774be24d1402782fd3230 (diff) | |
download | Doxygen-858d65a9cd7b9b7cf71da01098f47d583b3322f5.zip Doxygen-858d65a9cd7b9b7cf71da01098f47d583b3322f5.tar.gz Doxygen-858d65a9cd7b9b7cf71da01098f47d583b3322f5.tar.bz2 |
Merge branch 'feature/bug_tableofcontents_latex' of https://github.com/albert-github/doxygen into feature/bug_tableofcontents_latex
Diffstat (limited to 'src/translator_cn.h')
-rw-r--r-- | src/translator_cn.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/translator_cn.h b/src/translator_cn.h index fc0cf3c..0e559c1 100644 --- a/src/translator_cn.h +++ b/src/translator_cn.h @@ -24,7 +24,7 @@ */ #define CN_SPC " " -class TranslatorChinese : public Translator +class TranslatorChinese : public TranslatorAdapter_1_8_15 { public: /*! Used for identification of the language. The identification @@ -53,8 +53,20 @@ class TranslatorChinese : public Translator */ virtual QCString latexLanguageSupportCommand() { + return "\\usepackage{CJKutf8}\n"; + } + virtual QCString latexFontenc() + { return ""; } + virtual QCString latexDocumentPre() + { + return "\\begin{CJK}{UTF8}{min}\n"; + } + virtual QCString latexDocumentPost() + { + return "\\end{CJK}\n"; + } /*! used in the compound documentation before a list of related functions. */ |