Seite 1 von 1

tocbibind not recommended

Verfasst: Di 8. Aug 2023, 18:12
von 000Fite
Hallo zusammen,

für folgendes Minimalbeispiel erhalte ich die Meldung, dass tocbibind nicht empfohlen wird.
Weiß jemand, wieso das so ist und wie man die Warning wegbekommt?
%Dokumentklasse
\documentclass[twoside,a4paper,11pt]{scrreprt}

%Literatur
\usepackage[nottoc,notlot,notlof]{tocbibind}

% ============= Beginning of the Document =============

\begin{document}

Text

\end{document}

Viele Grüße
000Fite

Re: tocbibind not recommended

Verfasst: Di 8. Aug 2023, 18:19
von Stefan Kottwitz
Hi Fite,

die ganze Meldung ist ja diese:
Class scrreprt Warning: Usage of package `tocbibind' together
(scrreprt) with a KOMA-Script class is not recommended.
(scrreprt) I'd suggest to use options like `listof=totoc'
(scrreprt) or `bibliography=totoc', or commands like
(scrreprt) `\setuptoc{toc}{totoc}' instead of this package,
(scrreprt) because it breaks several KOMA-Script features of
(scrreprt) the list of figures, list of tables, bibliography,
(scrreprt) index and the running head.
Der Autor von KOMA-Script weist hier darauf hin, dass Klassen-Features verwendet werden sollten, um das gleiche zu erreichen wie mit tocbibind. Sogar sehr ausführlich.

Du kriegst es weg, wenn Du es weglässt und stattdessen KOMA-Script-Einstellungen verwendest.

Stefan