[PATCH] docs: pdfdocs: Fix typo in CJK-language specific font settings

From: Akira Yokosawa
Date: Sat Aug 28 2021 - 22:06:47 EST


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@xxxxxxxxx>
---
Hi Jon,

I thought I had tested the v4 patch on a container image
without any CJK fonts, but apparently I had not.

These typos affect "make pdfdocs" of all the English documents
as well.
So, if this doesn't make the initial pull request for v5.15,
please consider sending it as an urgent pull request during
-rc stages of v5.15.

Apologies for the lack of test on my side.

Thanks, Akira
--
Documentation/conf.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/conf.py b/Documentation/conf.py
index 75650f6443af..948a97d6387d 100644
--- a/Documentation/conf.py
+++ b/Documentation/conf.py
@@ -463,8 +463,8 @@ latex_elements['preamble'] += '''
\\newcommand{\\kerneldocEndTC}{}
\\newcommand{\\kerneldocBeginKR}{}
\\newcommand{\\kerneldocEndKR}{}
- \\newcommand{\\kerneldocBeginSC}{}
- \\newcommand{\\kerneldocEndKR}{}
+ \\newcommand{\\kerneldocBeginJP}{}
+ \\newcommand{\\kerneldocEndJP}{}
}
'''

--
2.17.1