summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-07-09 20:14:17 +0200
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-07-17 11:57:51 +0200
commit24889dad3d9e7c9e22f5be46d9ae7b8ca92cc1cc (patch)
tree860655ff2cbb621ed042d09ed551431693d0f280
parentdocs: pdf: add all Documentation/*/index.rst to PDF output (diff)
downloadlinux-24889dad3d9e7c9e22f5be46d9ae7b8ca92cc1cc.tar.xz
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>
-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}
+
'''
}