summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/koma-script/tocstyle.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/koma-script/tocstyle.sty')
-rw-r--r--Master/texmf-dist/tex/latex/koma-script/tocstyle.sty34
1 files changed, 10 insertions, 24 deletions
diff --git a/Master/texmf-dist/tex/latex/koma-script/tocstyle.sty b/Master/texmf-dist/tex/latex/koma-script/tocstyle.sty
index a5cb17da24e..807a7a86eb6 100644
--- a/Master/texmf-dist/tex/latex/koma-script/tocstyle.sty
+++ b/Master/texmf-dist/tex/latex/koma-script/tocstyle.sty
@@ -7,7 +7,7 @@
%% tocstyle.dtx (with options: `package,trace,tocstyle')
%% scrlogo.dtx (with options: `logo')
%%
-%% 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.
%% ---------------------------------------------------------------
@@ -44,10 +44,10 @@
%% EVERYTHING MAY CHANGE IN FUTURE!
%% THERE IS NO SUPPORT, IF YOU USE THIS PACKAGE!
%%
-%%% 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 $
\NeedsTeXFormat{LaTeX2e}[1995/06/01]
\ProvidesPackage{tocstyle}
- [2016/04/12 v0.2h-alpha KOMA-Script package (versatile toc styles)]
+ [2017/02/23 v0.2i-alpha KOMA-Script package (versatile toc styles)]
\PackageWarningNoLine{tocstyle}{%
THIS IS AN ALPHA VERSION!\MessageBreak
USAGE OF THIS VERSION IS ON YOUR OWN RISK!\MessageBreak
@@ -841,6 +841,7 @@
\fi
\endgroup
}
+\providecommand*{\ext@toc}{toc}
\newtocstyle{standard}{%
\settocfeature{dothook}{\normalfont}%
\settocfeature[-1]{entryhook}{\bfseries}%
@@ -853,10 +854,7 @@
\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
}
@@ -876,20 +874,10 @@
\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
}
@@ -909,8 +897,7 @@
\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
@@ -919,8 +906,7 @@
}%
\settocfeature[1]{pagenumberhook}{%
\begingroup
- \edef\@tempa{toc}%
- \ifx\tocstyleAliasTOC\@tempa
+ \ifx\tocstyleAliasTOC\ext@toc
\def\@tempa{\endgroup\usekomafont{sectionentrypagenumber}}%
\else
\let\@tempa\endgroup
@@ -954,7 +940,7 @@
}{%
\PackageInfo{tocstyle}{no tocstyle.cfg found}%
}
-%%% From File: $Id: scrlogo.dtx 1380 2013-10-01 15:31:55Z mjk $
+%%% From File: $Id: scrlogo.dtx 2592 2017-02-16 16:56:10Z kohm $
\@ifundefined{KOMAScript}{%
\DeclareRobustCommand{\KOMAScript}{\textsf{K\kern.05em O\kern.05em%
M\kern.05em A\kern.1em-\kern.1em Script}}}{}