256 5ˆl–ßi~”T¾R( Å+Œ»q¡)‹Fÿ�þBg á ä)$¿ŸÂ ƒh¹ÁÀ¿256 Aˆl–äY>””ÔD¨ J �…LZ7ÿ�þC+Í4³e‘Ë#%Äóà „ŸâÂ_ˆI|¥�+$¾ÂÁ?÷% ====================================================================== % tocbasic-en.tex % Copyright (c) Markus Kohm, 2002-2022 % % This file is part of the LaTeX2e KOMA-Script bundle. % % This work may be distributed and/or modified under the conditions of % the LaTeX Project Public License, version 1.3c of the license. % The latest version of this license is in % http://www.latex-project.org/lppl.txt % and version 1.3c or later is part of all distributions of LaTeX % version 2005/12/01 or later and of this work. % % This work has the LPPL maintenance status "author-maintained". % % The Current Maintainer and author of this work is Markus Kohm. % % This work consists of all files listed in MANIFEST.md. % ====================================================================== % % Package tocbasic for Package and Class Authors % Maintained by Markus Kohm % % ====================================================================== \KOMAProvidesFile{tocbasic-en.tex} [$Date: 2022-07-17 12:36:46 +0200 (So, 17. Jul 2022) $ KOMA-Script guide (package tocbasic)] \translator{Markus Kohm\and Arndt Schubert\and Karl Hagen} \chapter{Managing Content Lists with \Package{tocbasic}} \labelbase{tocbasic} \BeginIndexGroup% \BeginIndex{Package}{tocbasic}% \BeginIndex{}{table of contents}% \BeginIndex{}{content list}% \BeginIndex{}{file>extension}% The main purpose of the \Package{tocbasic} package is to give authors of packages and classes the ability to create their own tables or lists of content, content lists for short, similar to the list of figures and the list of tables, allowing classes and other packages some control over these lists. The \Package{tocbasic} package also delegates control of the language-dependent parts of these content lists to the \Package{babel}\IndexPackage{babel} package (see \cite{package:babel}). Using \Package{tocbasic} relieves package and class authors from the burden of implementing such features themselves. As a minor side effect, the package can also be used to define new floating environments, or floating environments like non-floating environments for reference objects. For more details, after you read about the basic commands in the next four sections, see the example in \autoref{sec:tocbasic.example}, which is compactly summarized in \autoref{sec:tocbasic.declarenewtoc}. \KOMAScript{} itself uses \Package{tocbasic} not only for the table of contents but also for the already mentioned lists of figures and tables. \section{Basic Commands} \label{sec:tocbasic.basics} The basic commands are primarily used to handle a list of all known file extensions\textnote{file extension, content lists} that represent a table or list of contents. We call these auxiliary files\Index{auxiliary file}\footnote{The term \emph{auxiliary file} here refers not to the main \File{aux} file but to the other internal files used indirectly via the \File{aux} file, e.\,g. the \File{toc} file, the \File{lof} file, or the \File{lot} file.} TOC files\textnote{TOC file}\Index[indexmain]{TOC file} regardless of the file extension that is actually used. Entries to such files are typically written using \Macro{addtocontents}\important{\Macro{addtocontents}, \DescRef{\LabelBase.cmd.addxcontentsline}}, or \DescRef{\LabelBase.cmd.addxcontentsline}. There are also commands to perform actions on all of these file extensions. Additionally, there are commands to set or unset features for the file associated with a given extension. Typically an file extension also has an owner\textnote{file owner}. This owner may be a class or package, or an identifier of a category that the author of the class or package using \Package{tocbasic} has chosen independently. For example, \KOMAScript{} uses the category \texttt{float} as owner for the \File{lof} and \File{lot} file extensions that are associated with the list of figures and list of tabl