Re: [PATCH 1/1] scripts: sphinx-pre-install: add required ctex dependency

From: Jonathan Corbet
Date: Mon Jan 03 2022 - 17:46:35 EST


Mauro Carvalho Chehab <mchehab@xxxxxxxxxx> writes:

> 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@xxxxxx>
> Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
> ---
>
> See [PATCH 0/1] at: https://lore.kernel.org/all/cover.1641243581.git.mchehab@xxxxxxxxxx/
>
> scripts/sphinx-pre-install | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/scripts/sphinx-pre-install b/scripts/sphinx-pre-install
> index 288e86a9d1e5..46aaab414098 100755
> --- a/scripts/sphinx-pre-install
> +++ b/scripts/sphinx-pre-install
> @@ -78,6 +78,7 @@ my %texlive = (
> 'ucs.sty' => 'texlive-ucs',
> 'upquote.sty' => 'texlive-upquote',
> 'wrapfig.sty' => 'texlive-wrapfig',
> + 'ctexhook.sty' => 'texlive-ctex',
> );

I've applied this, thanks.

jon