summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tocvsec2/tocvsec2.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/tocvsec2/tocvsec2.sty')
-rw-r--r--Master/texmf-dist/tex/latex/tocvsec2/tocvsec2.sty7
1 files changed, 4 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/tocvsec2/tocvsec2.sty b/Master/texmf-dist/tex/latex/tocvsec2/tocvsec2.sty
index aca4ff7dbfc..be19c89994d 100644
--- a/Master/texmf-dist/tex/latex/tocvsec2/tocvsec2.sty
+++ b/Master/texmf-dist/tex/latex/tocvsec2/tocvsec2.sty
@@ -10,6 +10,7 @@
%% Author: Peter Wilson, Herries Press
%% Maintainer: Will Robertson (will dot robertson at latex-project dot org)
%% Copyright 1998 -- 2004 Peter R. Wilson
+%% Copyright 2010 Will Robertson
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -21,8 +22,8 @@
%%
%% This work consists of the files listed in the README file.
%% -----------------------------------------------------------------
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{tocvsec2}[2009/09/04 v1.2a variable ToC section entries]
+\ProvidesPackage{tocvsec2}
+ [2010/02/27 v1.2b variable ToC section entries]
\RequirePackage{ifthen}
\newif\ift@cchapter
\t@cchapterfalse
@@ -106,7 +107,7 @@
}
\newcommand{\maxtocdepth}[1]{
\@setseccntt@c{#1}{tocdepth}}
-\newcommand{\setsecnumdepth}[1]{\leavevmode%
+\newcommand{\setsecnumdepth}[1]{%
\@setseccntt@c{#1}{secnumdepth}}
\newcommand{\maxsecnumdepth}[1]{%
\@setseccntt@c{#1}{secnumdepth}}