I'm using tocstyle
in my document:
% table of contents customizations:
\usepackage{tocstyle}
\usetocstyle{standard}
\settocfeature{raggedhook}{\raggedright}
\settocfeature{leaders}{\hfill}
Which gives me this warning:
Writing index file book.idx
(/usr/local/texlive/2020/texmf-dist/tex/latex/koma-script/tocstyle.sty
Package tocstyle Warning: THIS IS A DEPRECATED ALPHA VERSION!
(tocstyle) USAGE OF THIS VERSION IS ON YOUR OWN RISK!
(tocstyle) EVERYTHING MAY HAPPEN!
(tocstyle) THE PACKAGE IS FROZEN WITH ALL IT'S BUGS!
(tocstyle) IT WILL BE REMOVED FROM KOMA-SCRIPT SOON!
(tocstyle) THERE IS NO SUPPORT, IF YOU USE THIS PACKAGE!
(tocstyle) Maybe it would be better, not to load this package.
What should I use instead?
tocstyle
on its CTAN page, "tocbasic
andscrwfile
should be used instead".