aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/conf.py
diff options
context:
space:
mode:
authorAkira Yokosawa <akiyks@gmail.com>2021-08-09 10:19:24 +0900
committerJonathan Corbet <corbet@lwn.net>2021-08-12 09:13:32 -0600
commit35382965bdd2feeedd0f2fe326c89db2007149bb (patch)
tree31984cecb687f09d2e5dece328e69611fa335dfd /Documentation/conf.py
parentdocs: pdfdocs: Choose Serif font as CJK mainfont if possible (diff)
downloadlinux-dev-35382965bdd2feeedd0f2fe326c89db2007149bb.tar.xz
linux-dev-35382965bdd2feeedd0f2fe326c89db2007149bb.zip
docs: pdfdocs: Preserve inter-phrase space in Korean translations
In Korean typesetting, inter-phrase spaces in Hangul text have a similar role as the the inter-word spaces in Latin text. They can be preserved by the \xeCJKsetup{CJKspace=true} option. Signed-off-by: Akira Yokosawa <akiyks@gmail.com> Link: https://lore.kernel.org/r/68de2e52-e6d1-3f01-c097-15ba7b28a319@gmail.com Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/conf.py')
-rw-r--r--Documentation/conf.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/conf.py b/Documentation/conf.py
index 980be06df723..2ccfe4442acc 100644
--- a/Documentation/conf.py
+++ b/Documentation/conf.py
@@ -426,6 +426,7 @@ latex_elements['preamble'] += '''
\\renewcommand{\\CJKrmdefault}{KRserif}%
\\renewcommand{\\CJKsfdefault}{KRsans}%
\\renewcommand{\\CJKttdefault}{KRmono}%
+ \\xeCJKsetup{CJKspace = true} % For inter-phrase space
}
\\newcommand{\\kerneldocEndKR}{\\endgroup}
\\newcommand{\\kerneldocBeginJP}{%