summaryrefslogtreecommitdiffstats
path: root/src/translator_cn.h
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-04-09 12:30:49 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-04-09 12:30:49 (GMT)
commit66a728cdcf50baeef45f78a1180c5ce86fe734af (patch)
treeb528a3cee502c5e5a4805a194479f927cc6a8c7f /src/translator_cn.h
parent7e2fcd305c8c9377aa958a3d812cc31bc81c0e32 (diff)
downloadDoxygen-66a728cdcf50baeef45f78a1180c5ce86fe734af.zip
Doxygen-66a728cdcf50baeef45f78a1180c5ce86fe734af.tar.gz
Doxygen-66a728cdcf50baeef45f78a1180c5ce86fe734af.tar.bz2
Improvement LaTeX output
For a number of languages the output in LaTeX has been improved so the regular documentation can be generated (automatically) in LaTeX / PDF as well.
Diffstat (limited to 'src/translator_cn.h')
-rw-r--r--src/translator_cn.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/translator_cn.h b/src/translator_cn.h
index fc0cf3c..e53f31d 100644
--- a/src/translator_cn.h
+++ b/src/translator_cn.h
@@ -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.
*/