diff options
author | Karl Berry <karl@freefriends.org> | 2019-10-13 21:40:52 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-10-13 21:40:52 +0000 |
commit | ed8702df3768e21a3ef87a2eec9ca8341aad9b7a (patch) | |
tree | d2eb8a06d685acdcb364d57efb2334dbd3b2914d /Master/texmf-dist/tex/latex/koma-script/tocstyle.sty | |
parent | 4b6c2d7660365ff9963bcecf7a802e8060eb1bbc (diff) |
koma-script (13oct19)
git-svn-id: svn://tug.org/texlive/trunk@52369 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/koma-script/tocstyle.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/koma-script/tocstyle.sty | 53 |
1 files changed, 31 insertions, 22 deletions
diff --git a/Master/texmf-dist/tex/latex/koma-script/tocstyle.sty b/Master/texmf-dist/tex/latex/koma-script/tocstyle.sty index 13ce7adbe4f..e6adcb7539f 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-2017 by Markus Kohm <komascript(at)gmx.info> +%% Copyright (c) 2007-2019 by Markus Kohm <komascript(at)gmx.info> %% %% This file was generated from file(s) of the KOMA-Script bundle. %% --------------------------------------------------------------- @@ -27,32 +27,20 @@ %% `tocstyle.dtx' and `scrlogo.dtx'. You may however distribute the files %% `tocstyle.dtx' and `scrlogo.dtx' without this file. %% -%% If this file is a beta version, you are not allowed to distribute it. -%% -%% English and German manuals are part of KOMA-Script bundle. -%% ---------------------------------------------------------- -%% %% The english manual is in `tocstyle.dtx', too. %% -%% The KOMA-Script bundle (but not this file) was based upon the LaTeX2.09 -%% Script family created by Frank Neukam 1993 and the LaTeX2e standard -%% classes created by The LaTeX3 Project 1994-1996. +%% THIS IS AN OBSOLETE PACKAGE! YOU SHOULD NOT USE IT! %% -%% THIS IS AN ALPHA VERSION! -%% USAGE OF THIS VERSION IS ON YOUR OWN RISK! -%% EVERYTHING MAY HAPPEN! -%% EVERYTHING MAY CHANGE IN FUTURE! -%% THERE IS NO SUPPORT, IF YOU USE THIS PACKAGE! -%% -%%% From File: $Id: tocstyle.dtx 2600 2017-02-23 12:07:58Z kohm $ +%%% From File: $Id: tocstyle.dtx 3249 2019-10-09 11:35:26Z kohm $ \NeedsTeXFormat{LaTeX2e}[1995/06/01] \ProvidesPackage{tocstyle} - [2017/02/23 v0.2i-alpha KOMA-Script package (versatile toc styles)] + [2019/10/09 v0.2j-alpha deprecated package (versatile toc styles)] \PackageWarningNoLine{tocstyle}{% - THIS IS AN ALPHA VERSION!\MessageBreak + THIS IS A DEPRECATED ALPHA VERSION!\MessageBreak USAGE OF THIS VERSION IS ON YOUR OWN RISK!\MessageBreak EVERYTHING MAY HAPPEN!\MessageBreak - EVERYTHING MAY CHANGE IN FUTURE!\MessageBreak + THE PACKAGE IS FROZEN WITH ALL IT'S BUGS!\MessageBreak + IT WILL BE REMOVED FROM KOMA-SCRIPT SOON!\MessageBreak THERE IS NO SUPPORT, IF YOU USE THIS PACKAGE!\MessageBreak Maybe it would be better, not to load this package% } @@ -255,9 +243,11 @@ \fi \nobreak \ifx\tocstyle@feature@pagenumberbox\relax - \hb@xt@\@pnumwidth{\hfil\tocstyle@feature@pagenumberhook #5}% + \hb@xt@\@pnumwidth{\hfil\tocstyle@feature@pagenumberhook #5% + \kern-\p@\kern\p@}% \else - \tocstyle@feature@pagenumberbox{\tocstyle@feature@pagenumberhook #5}% + \tocstyle@feature@pagenumberbox{\tocstyle@feature@pagenumberhook #5% + \kern-\p@\kern\p@}% \fi \par }% @@ -459,7 +449,26 @@ \par}% \fi}% \ifx\@dottedtocline\@tempa\else - \tocstyle@macrochangewarning\@dottedtocline + \def\@tempa#1#2#3#4#5{% + \ifnum #1>\c@tocdepth \else + \vskip \z@ \@plus.2\p@ + {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip + \parindent #2\relax\@afterindenttrue + \interlinepenalty\@M + \leavevmode + \@tempdima #3\relax + \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip + {#4}\nobreak + \leaders\hbox{$\m@th + \mkern \@dotsep mu\hbox{.}\mkern \@dotsep + mu$}\hfill + \nobreak + \hb@xt@\@pnumwidth{\hfil \normalfont \normalcolor #5\kern-\p@\kern\p@}% + \par}% + \fi}% + \ifx\@dottedtocline\@tempa\else + \tocstyle@macrochangewarning\@dottedtocline + \fi \fi \let\tocstyle@saved@dottedtocline\@dottedtocline \def\@tempa#1{\hb@xt@\@tempdima{#1\autodot\hfil}}% |