From 21b74c37c7412dcdd996efaa9ae58dd4bba578b6 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 1 Mar 2010 19:13:33 +0000 Subject: tocvsec2 update (28feb10) git-svn-id: svn://tug.org/texlive/trunk@17266 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/source/latex/tocvsec2/tocvsec2.dtx | 26 ++++++++++------------ 1 file changed, 12 insertions(+), 14 deletions(-) (limited to 'Master/texmf-dist/source/latex/tocvsec2/tocvsec2.dtx') 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} +% +%\ProvidesPackage{tocvsec2} +%<*usc> + [2010/02/27 v1.2b variable ToC section entries] +% % %<*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} -- cgit v1.2.3