CTeX-org / ctex-kit

Macro Packages and Scripts for Chinese TeX users
972 stars 124 forks source link

ctexheading is incompatible with koma-script documents #563

Open suxpert opened 3 years ago

suxpert commented 3 years ago

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.