diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/holtxdoc.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/oberdiek/holtxdoc.dtx | 47 |
1 files changed, 32 insertions, 15 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/holtxdoc.dtx b/Master/texmf-dist/source/latex/oberdiek/holtxdoc.dtx index 1a7c1eeb2c8..1e045270539 100644 --- a/Master/texmf-dist/source/latex/oberdiek/holtxdoc.dtx +++ b/Master/texmf-dist/source/latex/oberdiek/holtxdoc.dtx @@ -66,7 +66,7 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: holtxdoc 2009/08/07 v0.12 Private additional ltxdoc support (HO)} +\Msg{* Package: holtxdoc 2009/12/02 v0.13 Private additional ltxdoc support (HO)} \Msg{************************************************************************} \keepsilent @@ -132,7 +132,7 @@ and the derived files %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{holtxdoc.drv}% - [2009/08/07 v0.12 Private additional ltxdoc support (HO)]% + [2009/12/02 v0.13 Private additional ltxdoc support (HO)]% \documentclass{ltxdoc} \usepackage{holtxdoc}[2008/08/11] \begin{document} @@ -141,7 +141,7 @@ and the derived files %</driver> % \fi % -% \CheckSum{283} +% \CheckSum{292} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -162,7 +162,7 @@ and the derived files % \GetFileInfo{holtxdoc.drv} % % \title{The \xpackage{holtxdoc} package} -% \date{2009/08/07 v0.12} +% \date{2009/12/02 v0.13} % \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}} % % \maketitle @@ -202,7 +202,7 @@ and the derived files % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{holtxdoc}% - [2009/08/07 v0.12 Private additional ltxdoc support (HO)] + [2009/12/02 v0.13 Private additional ltxdoc support (HO)] % \end{macrocode} % % \begin{macrocode} @@ -227,18 +227,30 @@ and the derived files \newcommand*{\StartHistory}{% \section{History}% } -\newcommand*{\HistVersion}[1]{% - \subsection*{% - \phantomsection +\@ifpackagelater{hyperref}{2009/11/27}{% + \newcommand*{\HistVersion}[1]{% + \subsection*{[#1]}% hash-ok \addcontentsline{toc}{subsection}{[#1]}% hash-ok - [#1]% hash-ok + \def\HistLabel##1{% + \begingroup + \edef\@currentlabel{[#1]}% hash-ok + \label{##1}% + \endgroup + }% }% - \def\HistLabel##1{% - \begingroup - \edef\x{[#1]}% hash-ok - \let\@currentlabel\x - \label{##1}% - \endgroup +}{% + \newcommand*{\HistVersion}[1]{% + \subsection*{% + \phantomsection + \addcontentsline{toc}{subsection}{[#1]}% hash-ok + [#1]% hash-ok + }% + \def\HistLabel##1{% + \begingroup + \edef\@currentlabel{[#1]}% hash-ok + \label{##1}% + \endgroup + }% }% } \newenvironment{History}{% @@ -647,6 +659,11 @@ and the derived files % \item % \cs{xmodule} added. % \end{Version} +% \begin{Version}{2009/12/02 v0.13} +% \item +% Anchor hack for unnumbered subsections is removed for +% \xpackage{hyperref} $\ge$ 2009/11/27 6.79k. +% \end{Version} % \end{History} % % \PrintIndex |