docs: pdfdocs: Fix typo in CJK-language specific font settings
authorAkira Yokosawa <akiyks@gmail.com>
Sun, 29 Aug 2021 02:06:16 +0000 (11:06 +0900)
committerJonathan Corbet <corbet@lwn.net>
Mon, 6 Sep 2021 22:53:39 +0000 (16:53 -0600)
There were typos in the fallback definitions of dummy LaTeX macros
for systems without CJK fonts.
They cause build errors in "make pdfdocs" on such systems.
Fix them.

Fixes: e291ff6f5a03 ("docs: pdfdocs: Add CJK-language-specific font settings")
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
Link: https://lore.kernel.org/r/ad7615a5-f8fa-2bc3-de6b-7ed49d458964@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/conf.py

index 75650f6..948a97d 100644 (file)
@@ -463,8 +463,8 @@ latex_elements['preamble']  += '''
        \\newcommand{\\kerneldocEndTC}{}
        \\newcommand{\\kerneldocBeginKR}{}
        \\newcommand{\\kerneldocEndKR}{}
-       \\newcommand{\\kerneldocBeginSC}{}
-       \\newcommand{\\kerneldocEndKR}{}
+       \\newcommand{\\kerneldocBeginJP}{}
+       \\newcommand{\\kerneldocEndJP}{}
     }
 '''