ctex-kit
ctex-kit copied to clipboard
ctexheading is incompatible with koma-script documents
How to reproduce:
\documentclass{scrbook}
\usepackage[heading=true]{ctex}
\begin{document}
\tableofcontents
\end{document}
Then
latexmk -xelatex
output the following warnings:
Package ctex Warning: None of the standard document classes was loaded. ... Package ctex Warning: Oops! Command `\ps@headings' is NOT patchable.
Package ctex Warning: Oops! Command `\quotation' is NOT patchable.
Use ctexheading gives the similar warnings.
BTW, if the document contains TOC etc, their names (\contentsname et.al.) are still in English rather than in Chinese.
Environments: TeXlive in kali linux (wsl2), with ctex version 2.5.5, koma-script version 3.28.