diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/holtxdoc.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/oberdiek/holtxdoc.sty | 40 |
1 files changed, 38 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/holtxdoc.sty b/Master/texmf-dist/tex/latex/oberdiek/holtxdoc.sty index 34f834ef380..204f8e23a96 100644 --- a/Master/texmf-dist/tex/latex/oberdiek/holtxdoc.sty +++ b/Master/texmf-dist/tex/latex/oberdiek/holtxdoc.sty @@ -31,8 +31,10 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{holtxdoc}% - [2010/03/10 v0.15 Private additional ltxdoc support (HO)] -\RequirePackage[numbered]{hypdoc} + [2010/04/03 v0.16 Private additional ltxdoc support (HO)] +\RequirePackage[numbered]{hypdoc}[2010/03/26] +\RequirePackage{pdftexcmds}[2010/04/01] +\RequirePackage{ltxcmds}[2010/03/09] \RequirePackage{array} \def\hld@info#1{% \PackageInfo{holtxdoc}{#1\@gobble}% @@ -40,6 +42,40 @@ \def\hld@warn#1{% \PackageWarningNoLine{holtxdoc}{#1}% } +\ltx@IfUndefined{pdf@filemoddate}{% +}{% + \edef\hld@temp{\pdf@filemoddate{\jobname.dtx}}% + \ifx\hld@temp\ltx@empty + \else + \begingroup + \def\x#1:#2#3#4#5#6#7#8#9{% + \year=#2#3#4#5\relax + \month=#6#7\relax + \day=#8#9\relax + \y + }% + \def\y#1#2#3#4#5\@nil{% + \time=#1#2\relax + \multiply\time by 60\relax + \advance\time#3#4\relax + }% + \expandafter\x\hld@temp\@nil + \edef\x{\endgroup + \year=\the\year\relax + \month=\the\month\relax + \day=\the\day\relax + \time=\the\time\relax + }% + \x + \edef\hld@temp{% + \noexpand\hypersetup{% + pdfcreationdate=\hld@temp,% + pdfmoddate=\hld@temp + }% + }% + \hld@temp + \fi +} \newcommand*{\StartHistory}{% \section{History}% } |