mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 09:14:19 +08:00
cee7db1b02
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
Fixes:
|
||
---|---|---|
.. | ||
automarkup.py | ||
cdomain.py | ||
kernel_abi.py | ||
kernel_feat.py | ||
kernel_include.py | ||
kerneldoc-preamble.sty | ||
kerneldoc.py | ||
kernellog.py | ||
kfigure.py | ||
load_config.py | ||
maintainers_include.py | ||
parallel-wrapper.sh | ||
parse-headers.pl | ||
requirements.txt | ||
rstFlatTable.py |