summaryrefslogtreecommitdiffstats
path: root/Documentation/conf.py
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-07-09 15:14:17 -0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-07-17 06:57:51 -0300
commit24889dad3d9e7c9e22f5be46d9ae7b8ca92cc1cc (patch)
tree860655ff2cbb621ed042d09ed551431693d0f280 /Documentation/conf.py
parent9d42afbe6bd4ce6d424159715e4abf3ea3ddb789 (diff)
downloadlinux-24889dad3d9e7c9e22f5be46d9ae7b8ca92cc1cc.tar.gz
linux-24889dad3d9e7c9e22f5be46d9ae7b8ca92cc1cc.tar.bz2
linux-24889dad3d9e7c9e22f5be46d9ae7b8ca92cc1cc.zip
docs: conf.py: add CJK package needed by translations
In order to be able to output Asian symbols with XeLaTeX, we need the xeCJK package, and a default font for CJK symbols. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'Documentation/conf.py')
-rw-r--r--Documentation/conf.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/conf.py b/Documentation/conf.py
index 13b5f711bddf..fa0a42b47e62 100644
--- a/Documentation/conf.py
+++ b/Documentation/conf.py
@@ -277,6 +277,10 @@ latex_elements = {
\\setromanfont{DejaVu Serif}
\\setmonofont{DejaVu Sans Mono}
+ % This is needed for translations
+ \\usepackage{xeCJK}
+ \\setCJKmainfont{Noto Sans CJK SC}
+
'''
}