summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/oberdiek/holtxdoc.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-12-11 01:07:09 +0000
committerKarl Berry <karl@freefriends.org>2009-12-11 01:07:09 +0000
commitc6ddbfa56ffeb39f08fef67b1f9fc97778cd70bd (patch)
treec3312443c40388c8eeb3f515454f9a2e666c15de /Master/texmf-dist/source/latex/oberdiek/holtxdoc.dtx
parent01aade3322bbb50b565fbb94ed1bade7a0726478 (diff)
oberdiek update (10dec09)
git-svn-id: svn://tug.org/texlive/trunk@16352 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/holtxdoc.dtx')
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/holtxdoc.dtx47
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