diff options
author | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-07-09 20:14:17 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-07-17 11:57:51 +0200 |
commit | 24889dad3d9e7c9e22f5be46d9ae7b8ca92cc1cc (patch) | |
tree | 860655ff2cbb621ed042d09ed551431693d0f280 | |
parent | docs: pdf: add all Documentation/*/index.rst to PDF output (diff) | |
download | linux-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.py | 4 |
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} + ''' } |