docs: pdfdocs: Move CJK monospace font setting to main conf.py
authorAkira Yokosawa <akiyks@gmail.com>
Tue, 1 Feb 2022 00:05:40 +0000 (09:05 +0900)
committerJonathan Corbet <corbet@lwn.net>
Tue, 15 Feb 2022 23:35:54 +0000 (16:35 -0700)
commitb774cc46313b3d7c9139f29df67818a8b858c558
tree96ede0b9d09222516d48dbcd874c65c048cbbaf9
parent5d9158e3c762f0bf1753501d8e64eb6fe19dc437
docs: pdfdocs: Move CJK monospace font setting to main conf.py

As LaTeX macros for CJK font settings can have Latin-script font
settings as well, settings under Documentation/translations/ can
be moved to the main conf.py.

By this change, translations.pdf built by top-level "make pdfdocs"
can have properly aligned ascii-art diagrams except for Korean
ones.

For the reason of remaining misalignment in Korean diagrams, see
changelog of commit a90dad8f610a ("docs: pdfdocs: Add conf.py
local to translations for ascii-art alignment").

Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/eb87790a-03f4-9f29-c8a3-ef2c3e78ca18@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/conf.py
Documentation/translations/conf.py [deleted file]