Re: [PATCH v2 3/3] docs: kerneldoc-preamble: Test xeCJK.sty before loading
From: Akira Yokosawa
Date: Tue Oct 18 2022 - 00:24:34 EST
On Mon, 8 Aug 2022 17:53:57 +0900, Akira Yokosawa wrote:
> On distros whose texlive packaging is fine-grained, texlive-xecjk
> can be installed/removed independently of other texlive packages.
> Conditionally loading xeCJK depending only on the existence of the
> "Noto Sans CJK SC" font might end up in xelatex error of
> "xeCJK.sty not found!".
>
> Improve the situation by testing existence of xeCJK.sty before
> loading it.
>
> This is useful on RHEL 9 and its clone distros where texlive-xecjk
> doesn't work at the moment due to a missing dependency [1].
> "make pdfdocs" for non-CJK contents should work after removing
> texlive-xecjk.
>
> Link: [1] https://bugzilla.redhat.com/show_bug.cgi?id=2086254
FWIW, this ticket was closed recently. It took five months. Whew...
Now EPEL 9 carries texlive-ctex and its dependencies.
It is now possible to build pdfdocs with CJK contents within the
confinement of RHEL 9 and its clones' packages as long as you are
OK with enabling EPEL 9.
Thanks, Akira
> Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx>
> Acked-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
[...]