docs: pdfdocs: One-half spacing for CJK translations
authorAkira Yokosawa <akiyks@gmail.com>
Mon, 9 Aug 2021 01:23:57 +0000 (10:23 +0900)
committerJonathan Corbet <corbet@lwn.net>
Thu, 12 Aug 2021 15:13:32 +0000 (09:13 -0600)
commit77abc2c230b101fd35af739bf89a4430ddcfea62
treee886814a954794c3b4c8bf88e57fefc3e1c7ffca
parenta90dad8f610a5d14ce1292ac6c7c84b43252afe9
docs: pdfdocs: One-half spacing for CJK translations

CJK documents are much easier to read with a wider baseline stretch.
Applying onehalfspacing option of "setspace" package looks reasonable.

Note: \usepackage{setspace} needs to be before that of hyperref in the
preamble.
The 'extrapackages' key (available since Sphinx 2.3) is for this purpose.
For systems with Sphinx < 2.3, dummy commands of \onehalfspacing and
\singlespacing are provided instead.
One-half spacing is not effective in LaTeX sources generated by such
revisions of Sphinx.

Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
Link: https://lore.kernel.org/r/547a1f1c-0bb5-20a7-ea0e-951bfc3c3925@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/conf.py
Documentation/translations/ja_JP/howto.rst
Documentation/translations/ko_KR/howto.rst