Open suxpert opened 3 years ago
How to reproduce:
\documentclass{scrbook} \usepackage[heading=true]{ctex} \usepackage{makeidx} \makeindex \begin{document} ctex\index{ctex} \printindex \end{document}
Then
latexmk -xelatex
will fail generating pdf file with error:
./main.ind:1: LaTeX Error: Float(s) lost. ... l.1 \begin{theindex}
Use ctexheading gives the same error.
ctexheading
It's OK if I use imakeidx, but it seems that koma-script works better with makeidx.
imakeidx
makeidx
Environments: TeXlive in kali linux (wsl2), with ctex version 2.5.5, koma-script version 3.28.
How to reproduce:
Then
will fail generating pdf file with error:
Use
ctexheading
gives the same error.It's OK if I use
imakeidx
, but it seems that koma-script works better withmakeidx
.Environments: TeXlive in kali linux (wsl2), with ctex version 2.5.5, koma-script version 3.28.