scripts: sphinx-pre-install: add required ctex dependency
authorMauro Carvalho Chehab <mchehab@kernel.org>
Mon, 3 Jan 2022 21:01:57 +0000 (22:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jan 2022 09:54:36 +0000 (10:54 +0100)
commit 7baab965896eaeea60a54b8fe742feea2f79060f upstream.

After a change meant to fix support for oriental characters
(Chinese, Japanese, Korean), ctex stylesheet is now a requirement
for PDF output.

Reported-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Link: https://lore.kernel.org/r/165aa6167f21e3892a6e308688c93c756e94f4e0.1641243581.git.mchehab@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
scripts/sphinx-pre-install

index 828a861..eb1cc35 100755 (executable)
@@ -76,6 +76,7 @@ my %texlive = (
        'ucs.sty'            => 'texlive-ucs',
        'upquote.sty'        => 'texlive-upquote',
        'wrapfig.sty'        => 'texlive-wrapfig',
+       'ctexhook.sty'       => 'texlive-ctex',
 );
 
 #