diff --git a/doc/source/conf.py b/doc/source/conf.py index 4da35ed50c8a3685021e31f3e8fbeaa02cfdbdbc..daeb4f6d77c89dae5265f4394da631854c9c5898 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -56,4 +56,11 @@ html_theme = 'sphinx_rtd_theme' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] \ No newline at end of file +html_static_path = ['_static'] + +# -- Support Chinese ------------------------------------------------------- +latex_engine = 'xelatex' +latex_use_xindy = False +latex_elements = { + 'preamble': '\\usepackage[UTF8]{ctex}\n', +} \ No newline at end of file