summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tocvsec2
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-03-01 19:13:33 +0000
committerKarl Berry <karl@freefriends.org>2010-03-01 19:13:33 +0000
commit21b74c37c7412dcdd996efaa9ae58dd4bba578b6 (patch)
treea18f2ff39c671c6e6e542b3e12beb4bb0ab23ebc /Master/texmf-dist/tex/latex/tocvsec2
parent5ca2a83c6da7865a47faa12e1566c12dfc8c87ca (diff)
tocvsec2 update (28feb10)
git-svn-id: svn://tug.org/texlive/trunk@17266 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tocvsec2')
-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}}