ctex-kit icon indicating copy to clipboard operation
ctex-kit copied to clipboard

ctexheading is incompatible with koma-script documents

Open suxpert opened this issue 4 years ago • 0 comments

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.

suxpert avatar Mar 12 '21 08:03 suxpert