summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/koma-script/tocstyle.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/koma-script/tocstyle.dtx')
-rw-r--r--Master/texmf-dist/source/latex/koma-script/tocstyle.dtx46
1 files changed, 20 insertions, 26 deletions
diff --git a/Master/texmf-dist/source/latex/koma-script/tocstyle.dtx b/Master/texmf-dist/source/latex/koma-script/tocstyle.dtx
index 66fd8729da8..eda5188828e 100644
--- a/Master/texmf-dist/source/latex/koma-script/tocstyle.dtx
+++ b/Master/texmf-dist/source/latex/koma-script/tocstyle.dtx
@@ -1,8 +1,8 @@
-% \CheckSum{1886}
+% \CheckSum{1867}
% \iffalse meta-comment
% ======================================================================
% tocstyle.dtx
-% Copyright (c) Markus Kohm, 2007-2016
+% Copyright (c) Markus Kohm, 2007-2017
%
% This file is part of the LaTeX2e KOMA-Script bundle.
%
@@ -29,7 +29,7 @@
% at least three times.
% ----------------------------------------------------------------------
% tocstyle.dtx
-% Copyright (c) Markus Kohm, 2007-2016
+% Copyright (c) Markus Kohm, 2007-2017
%
% Diese Datei ist Teil des LaTeX2e KOMA-Script-Pakets.
%
@@ -75,7 +75,7 @@
% Right brace \} Tilde \~}
%
% \iffalse
-%%% From File: $Id: tocstyle.dtx 2428 2016-04-12 10:31:07Z kohm $
+%%% From File: $Id: tocstyle.dtx 2600 2017-02-23 12:07:58Z kohm $
%<*dtx>
% \fi
\def\LaTeXformat{LaTeX2e}
@@ -104,7 +104,7 @@
\preamble
-Copyright (c) 2007-2016 by Markus Kohm <komascript(at)gmx.info>
+Copyright (c) 2007-2017 by Markus Kohm <komascript(at)gmx.info>
This file was generated from file(s) of the KOMA-Script bundle.
---------------------------------------------------------------
@@ -199,7 +199,7 @@ THERE IS NO SUPPORT, IF YOU USE THIS PACKAGE!
%<driver>\ProvidesFile{tocstyle.drv}
%<doc>\ProvidesFile{tocstyle.tex}
%<*dtx|package|driver|doc>
- [2016/04/12 v0.2h-alpha KOMA-Script package (versatile toc styles)]
+ [2017/02/23 v0.2i-alpha KOMA-Script package (versatile toc styles)]
%</dtx|package|driver|doc>
%<*driver>
\documentclass{scrdoc}
@@ -2196,6 +2196,15 @@ usefull to define your own toc styles.
% \changes{v0.2e}{2013/08/11}{usage of new font elements of \KOMAScript\space
% at \texttt{KOMAlike}}
%
+% \begin{macro}{\ext@toc}
+% \changes{v0.2i}{2017/02/23}{use indirect extensions}
+% From version 0.2i the indirect extension for the auxiliary file of the
+% table of contents is used like the KOMA-Script classes do.
+% \begin{macrocode}
+\providecommand*{\ext@toc}{toc}
+% \end{macrocode}
+% \end{macro}
+%
% \begin{macrocode}
\newtocstyle{standard}{%
\settocfeature{dothook}{\normalfont}%
@@ -2209,10 +2218,7 @@ usefull to define your own toc styles.
\settocfeature[1]{entryvskip}{1em\@plus\p@}%
\settocfeature[1]{leaders}{\hfill}%
\settocfeature[1]{entryhook}{%
- \begingroup
- \edef\@tempa{toc}%
- \ifx\tocstyleAliasTOC\@tempa\aftergroup\bfseries\fi
- \endgroup
+ \ifx\tocstyleAliasTOC\ext@toc\bfseries\fi
}%
\fi
}
@@ -2232,20 +2238,10 @@ usefull to define your own toc styles.
\settocfeature[1]{entryvskip}{1em\@plus\p@}%
\settocfeature[1]{leaders}{\hfill}%
\settocfeature[1]{entryhook}{%
- \begingroup
- \edef\@tempa{toc}%
- \ifx\tocstyleAliasTOC\@tempa
- \aftergroup\sffamily\aftergroup\bfseries
- \fi
- \endgroup
+ \ifx\tocstyleAliasTOC\ext@toc\sffamily\bfseries\fi
}%
\settocfeature[1]{pagenumberhook}{%
- \begingroup
- \edef\@tempa{toc}%
- \ifx\tocstyleAliasTOC\@tempa
- \aftergroup\sffamily\aftergroup\bfseries
- \fi
- \endgroup
+ \ifx\tocstyleAliasTOC\ext@toc\sffamily\bfseries\fi
}%
\fi
}
@@ -2265,8 +2261,7 @@ usefull to define your own toc styles.
\settocfeature[1]{leaders}{\hfill}%
\settocfeature[1]{entryhook}{%
\begingroup
- \edef\@tempa{toc}%
- \ifx\tocstyleAliasTOC\@tempa
+ \ifx\tocstyleAliasTOC\ext@toc
\def\@tempa{\endgroup\usekomafont{sectionentry}}%
\else
\let\@tempa\endgroup
@@ -2275,8 +2270,7 @@ usefull to define your own toc styles.
}%
\settocfeature[1]{pagenumberhook}{%
\begingroup
- \edef\@tempa{toc}%
- \ifx\tocstyleAliasTOC\@tempa
+ \ifx\tocstyleAliasTOC\ext@toc
\def\@tempa{\endgroup\usekomafont{sectionentrypagenumber}}%
\else
\let\@tempa\endgroup