summaryrefslogtreecommitdiffstats
path: root/documentation/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/conf.py')
-rw-r--r--documentation/conf.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/documentation/conf.py b/documentation/conf.py
index 9e87df0564..c7dd4e03fc 100644
--- a/documentation/conf.py
+++ b/documentation/conf.py
@@ -158,9 +158,14 @@ html_last_updated_fmt = '%b %d, %Y'
158# Remove the trailing 'dot' in section numbers 158# Remove the trailing 'dot' in section numbers
159html_secnumber_suffix = " " 159html_secnumber_suffix = " "
160 160
161# We need XeTeX to process special unicode character, sometimes the contributor
162# list from the release note contains those.
163# See https://docs.readthedocs.io/en/stable/guides/pdf-non-ascii-languages.html.
164latex_engine = 'xelatex'
165latex_use_xindy = False
161latex_elements = { 166latex_elements = {
162 'passoptionstopackages': '\\PassOptionsToPackage{bookmarksdepth=5}{hyperref}', 167 'passoptionstopackages': '\\PassOptionsToPackage{bookmarksdepth=5}{hyperref}',
163 'preamble': '\\setcounter{tocdepth}{2}', 168 'preamble': '\\usepackage[UTF8]{ctex}\n\\setcounter{tocdepth}{2}',
164} 169}
165 170
166# Make the EPUB builder prefer PNG to SVG because of issues rendering Inkscape SVG 171# Make the EPUB builder prefer PNG to SVG because of issues rendering Inkscape SVG