diff options
author | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-07-09 21:14:17 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-07-17 12:57:51 +0300 |
commit | 24889dad3d9e7c9e22f5be46d9ae7b8ca92cc1cc (patch) | |
tree | 860655ff2cbb621ed042d09ed551431693d0f280 | |
parent | 9d42afbe6bd4ce6d424159715e4abf3ea3ddb789 (diff) | |
download | linux-24889dad3d9e7c9e22f5be46d9ae7b8ca92cc1cc.tar.xz |
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} + ''' } |