FS#67856 - [texlive-core] Missing dependency `ctexhook.sty'

Attached to Project: Arch Linux
Opened by Al Gebra (cpuheater) - Wednesday, 09 September 2020, 08:55 GMT
Last edited by Antonio Rojas (arojas) - Monday, 29 May 2023, 13:10 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Rémy Oudompheng (remyoudompheng)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
`texlive-core` includes the package `/usr/share/texmf-dist/tex/xelatex/xecjk/xeCJK.sty`. This file contains the line `\RequirePackage { ctexhook }` which leads to `LaTeX Error: File `ctexhook.sty' not found.`.

Package versions in which the bug exists:

poppler 20.09.0-1
texlive-bin 2020.54586-5
texlive-core 2020.55416-1
texlive-latexextra 2020.55418-1

Package versions in which the bug does not exist:

poppler 0.88.0-1
texlive-bin 2019.51075-10
texlive-core 2019.52579-1
texlive-latexextra 2019.52575-1

Steps to reproduce:

1. In an empty folder, create `test.tex`:

```
\documentclass{article}
\usepackage{xeCJK}
\setCJKmainfont{HanaMinA} % requires the Arch Linux package "ttf-hanazono" to be installed
\begin{document}
Test
\end{document}
```

2. Run `xelatex test.tex`

3a. Expected output:

```
[...]
Output written on test.pdf (1 page).
Transcript written on test.log.
```

3b. Actual output:

```
This is XeTeX, Version 3.14159265-2.6-0.999992 (TeX Live 2020/Arch Linux) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
(./test.tex
LaTeX2e <2020-02-02> patch level 5
L3 programming layer <2020-06-03>
(/usr/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2019/12/20 v1.4l Standard LaTeX document class
(/usr/share/texmf-dist/tex/latex/base/size10.clo))
(/usr/share/texmf-dist/tex/xelatex/xecjk/xeCJK.sty
(/usr/share/texmf-dist/tex/latex/l3kernel/expl3.sty
(/usr/share/texmf-dist/tex/latex/l3backend/l3backend-xdvipdfmx.def))
(/usr/share/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty)
(/usr/share/texmf-dist/tex/latex/l3packages/xtemplate/xtemplate.sty)
(/usr/share/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
(/usr/share/texmf-dist/tex/latex/l3packages/xparse/xparse-generic.tex))

! LaTeX Error: File `ctexhook.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name:
```
This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 29 May 2023, 13:10 GMT
Reason for closing:  Fixed
Additional comments about closing:  Added optdepend in git commit ca104c3
Comment by NdV (eizanprime) - Tuesday, 15 September 2020, 22:27 GMT
I have the exact same bug, thank you for the writeup !
Comment by Joseph (charfoxt) - Saturday, 26 September 2020, 12:58 GMT
I had the same problem and did not encounter it in the past.
The problem seems to be fixed after installing the package "texlive-langchinese 2020.55162-1".
Comment by Joseph (charfoxt) - Sunday, 27 September 2020, 07:58 GMT

Loading...