summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/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/source/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/source/latex/tocvsec2')
-rw-r--r--Master/texmf-dist/source/latex/tocvsec2/tocvsec2.dtx26
-rw-r--r--Master/texmf-dist/source/latex/tocvsec2/tocvsec2.ins2
2 files changed, 14 insertions, 14 deletions
diff --git a/Master/texmf-dist/source/latex/tocvsec2/tocvsec2.dtx b/Master/texmf-dist/source/latex/tocvsec2/tocvsec2.dtx
index 6dca1d6551a..244ad2750ef 100644
--- a/Master/texmf-dist/source/latex/tocvsec2/tocvsec2.dtx
+++ b/Master/texmf-dist/source/latex/tocvsec2/tocvsec2.dtx
@@ -4,6 +4,7 @@
% Author: Peter Wilson, Herries Press
% Maintainer: Will Robertson (will dot robertson at latex-project dot org)
% Copyright 1999--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
@@ -15,7 +16,14 @@
%
% This work consists of the files listed in the README file.
%
-%
+%
+%<*driver>
+\ProvidesFile{tocvsec2.dtx}
+%</driver>
+%<usc>\ProvidesPackage{tocvsec2}
+%<*usc>
+ [2010/02/27 v1.2b variable ToC section entries]
+%</usc>
%
%<*driver>
\documentclass{ltxdoc}
@@ -80,14 +88,7 @@
% \changes{v1.2a}{2009/09/04}{New maintainer (Will Robertson)}
%
% \def\dtxfile{tocvsec2.dtx}
-% \def\fileversion{v1.1}
-% \def\filedate{1999/01/24}
-% \def\fileversion{v1.1a}
-% \def\filedate{2004/05/10}
-% \def\fileversion{v1.2}
-% \def\filedate{2004/05/24}
-% \def\fileversion{v1.2a}
-% \def\filedate{2009/09/04}
+% \GetFileInfo{\dtxfile}
% \newcommand*{\Lpack}[1]{\textsf {#1}} ^^A typeset a package
% \newcommand*{\Lopt}[1]{\textsf {#1}} ^^A typeset an option
% \newcommand*{\file}[1]{\texttt {#1}} ^^A typeset a file
@@ -320,12 +321,8 @@
%
% \section{The package code} \label{sec:code}
%
-% Announce the name and version of the package, which requires
-% \LaTeXe{} and the \Lpack{stdclsdv} and \Lpack{ifthen} packages.
% \begin{macrocode}
%<*usc>
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{tocvsec2}[2009/09/04 v1.2a variable ToC section entries]
\RequirePackage{ifthen}
% \end{macrocode}
%
@@ -445,10 +442,11 @@
% \end{macro}
%
% \begin{macro}{\setsecnumdepth}
+% \changes{v1.2b}{2010/02/27}{Remove occasional extraneous vertical space}
% |\setsecnumdepth{|\meta{sec}|}| is the user command for setting
% \Lcount{secnumdepth} to the value corresponding to \meta{sec}.
% \begin{macrocode}
-\newcommand{\setsecnumdepth}[1]{\leavevmode%
+\newcommand{\setsecnumdepth}[1]{%
\@setseccntt@c{#1}{secnumdepth}}
% \end{macrocode}
% \end{macro}
diff --git a/Master/texmf-dist/source/latex/tocvsec2/tocvsec2.ins b/Master/texmf-dist/source/latex/tocvsec2/tocvsec2.ins
index 53e295ec98e..2b93abe5f89 100644
--- a/Master/texmf-dist/source/latex/tocvsec2/tocvsec2.ins
+++ b/Master/texmf-dist/source/latex/tocvsec2/tocvsec2.ins
@@ -2,6 +2,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
@@ -29,6 +30,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