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>
This commit is contained in:
parent
7eb368cc31
commit
35382965bd
1 changed files with 1 additions and 0 deletions
|
@ -426,6 +426,7 @@ latex_elements['preamble'] += '''
|
||||||
\\renewcommand{\\CJKrmdefault}{KRserif}%
|
\\renewcommand{\\CJKrmdefault}{KRserif}%
|
||||||
\\renewcommand{\\CJKsfdefault}{KRsans}%
|
\\renewcommand{\\CJKsfdefault}{KRsans}%
|
||||||
\\renewcommand{\\CJKttdefault}{KRmono}%
|
\\renewcommand{\\CJKttdefault}{KRmono}%
|
||||||
|
\\xeCJKsetup{CJKspace = true} % For inter-phrase space
|
||||||
}
|
}
|
||||||
\\newcommand{\\kerneldocEndKR}{\\endgroup}
|
\\newcommand{\\kerneldocEndKR}{\\endgroup}
|
||||||
\\newcommand{\\kerneldocBeginJP}{%
|
\\newcommand{\\kerneldocBeginJP}{%
|
||||||
|
|
Loading…
Add table
Reference in a new issue