%%
%% This is file `holtxdoc.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% holtxdoc.dtx  (with options: `package')
%% 
%% This is a generated file.
%% 
%% Project: holtxdoc
%% Version: 2011/02/04 v0.21
%% 
%% Copyright (C) 1999-2011 by
%%    Heiko Oberdiek <heiko.oberdiek at googlemail.com>
%% 
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
%% version 1.3c of this license or (at your option) any later
%% version. This version of this license is in
%%    http://www.latex-project.org/lppl/lppl-1-3c.txt
%% and the latest version of this license is in
%%    http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of
%% LaTeX version 2005/12/01 or later.
%% 
%% This work has the LPPL maintenance status "maintained".
%% 
%% This Current Maintainer of this work is Heiko Oberdiek.
%% 
%% This work consists of the main source file holtxdoc.dtx
%% and the derived files
%%    holtxdoc.sty, holtxdoc.pdf, holtxdoc.ins, holtxdoc.drv.
%% 
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{holtxdoc}%
  [2011/02/04 v0.21 Private additional ltxdoc support (HO)]
\PassOptionsToPackage{pdfencoding=auto}{hyperref}
\RequirePackage[numbered]{hypdoc}[2010/03/26]
\RequirePackage{hyperref}[2010/03/30]
\RequirePackage{pdftexcmds}[2010/04/01]
\RequirePackage{ltxcmds}[2010/03/09]
\RequirePackage{hologo}[2010/04/24]
\RequirePackage{array}
\def\hld@info#1{%
  \PackageInfo{holtxdoc}{#1\@gobble}%
}
\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}%
}
\@ifpackagelater{hyperref}{2009/11/27}{%
  \newcommand*{\HistVersion}[1]{%
    \subsection*{[#1]}% hash-ok
    \addcontentsline{toc}{subsection}{[#1]}% hash-ok
    \def\HistLabel##1{%
      \begingroup
        \protected@edef\@currentlabel{[#1]}% hash-ok
        \label{##1}%
      \endgroup
    }%
  }%
}{%
  \newcommand*{\HistVersion}[1]{%
    \subsection*{%
      \phantomsection
      \addcontentsline{toc}{subsection}{[#1]}% hash-ok
      [#1]% hash-ok
    }%
    \def\HistLabel##1{%
      \begingroup
        \protected@edef\@currentlabel{[#1]}% hash-ok
        \label{##1}%
      \endgroup
    }%
  }%
}
\newenvironment{History}{%
  \StartHistory
  \def\Version##1{%
    \HistVersion{##1}%
    \itemize
  }%
  \let\endVersion\enditemize
  \raggedright
}{}
\newcommand{\URL}[2]{%
  \begingroup
    \def\link{\href{#2}}%
    #1%
  \endgroup
  \footnote{Url: \url{#2}}%
}
\newcommand*{\NameEmail}[2]{%
  \expandafter\hld@NameEmail\expandafter{#2}{#1}%
}
\def\hld@NameEmail#1#2{%
  \expandafter\hld@@NameEmail\expandafter{#2}{#1}%
}
\def\hld@@NameEmail#1#2{%
  \ifx\\#1#2\\%
    \hld@warn{%
      Command \string\NameEmail\space without name and email%
    }%
  \else
    \ifx\\#1\\%
      \href{mailto:#2}{\nolinkurl{#2}}%
    \else
      #1%
      \ifx\\#2\\%
      \else
        \footnote{%
          #1's email address: %
          \href{mailto:#2}{\nolinkurl{#2}}%
        }%
      \fi
    \fi
  \fi
}
\newcommand*{\Package}[1]{\texttt{#1}}
\newcommand*{\File}[1]{\texttt{#1}}
\newcommand*{\Verb}[1]{\texttt{#1}}
\newcommand*{\CS}[1]{\texttt{\expandafter\@gobble\string\\#1}}
\newcommand*{\CTAN}[1]{%
  \href{ftp://ftp.ctan.org/tex-archive/#1}{\nolinkurl{CTAN:#1}}%
}
\newcommand*{\Newsgroup}[1]{%
  \href{http://groups.google.com/group/#1/topics}{\nolinkurl{news:#1}}%
}
\newcommand*{\xpackage}[1]{\textsf{#1}}
\newcommand*{\xmodule}[1]{\textsf{#1}}
\newcommand*{\xclass}[1]{\textsf{#1}}
\newcommand*{\xoption}[1]{\textsf{#1}}
\newcommand*{\xfile}[1]{\texttt{#1}}
\newcommand*{\xext}[1]{\texttt{.#1}}
\newcommand*{\xemail}[1]{%
  \textless\texttt{#1}\textgreater%
}
\newcommand*{\xnewsgroup}[1]{%
  \href{news:#1}{\nolinkurl{#1}}%
}
\newenvironment{declcs}[1]{%
  \par
  \addvspace{4.5ex plus 1ex}%
  \vskip -\parskip
  \noindent
  \hspace{-\leftmargini}%
  \def\M##1{\texttt{\{}\meta{##1}\texttt{\}}}%
  \def\*{\unskip\,\texttt{*}}%
  \begin{tabular}{|l|}%
    \hline
    \expandafter\SpecialUsageIndex\csname #1\endcsname
    \cs{#1}%
}{%
    \\%
    \hline
  \end{tabular}%
  \nobreak
  \par
  \nobreak
  \vspace{2.3ex}%
  \vskip -\parskip
  \noindent
  \ignorespacesafterend
}
\def\eTeX{\hologo{eTeX}}
\def\pdfTeX{\hologo{pdfTeX}}
\def\pdfLaTeX{\hologo{pdfLaTeX}}
\def\LuaTeX{\hologo{LuaTeX}}
\def\LuaLaTeX{\hologo{LuaLaTeX}}
\def\XeTeX{\hologo{XeTeX}}
\def\XeLaTeX{\hologo{XeLaTeX}}
\def\plainTeX{\hologo{plainTeX}}
\providecommand*{\teTeX}{te\TeX}
\providecommand*{\mikTeX}{mik\TeX}
\providecommand*{\MakeIndex}{\textsl{MakeIndex}}
\providecommand*{\docstrip}{\textsf{docstrip}}
\providecommand*{\iniTeX}{\mbox{ini-\TeX}}
\providecommand*{\VTeX}{V\TeX}
\CodelineIndex
\EnableCrossrefs
\setcounter{IndexColumns}{2}
\DoNotIndex{\begingroup,\endgroup,\bgroup,\egroup}
\DoNotIndex{\def,\edef,\xdef,\global,\long,\let}
\DoNotIndex{\expandafter,\noexpand,\string}
\DoNotIndex{\else,\fi,\or}
\DoNotIndex{\relax}
\IndexPrologue{%
  \section*{Index}%
  \markboth{Index}{Index}%
  Numbers written in italic refer to the page %
  where the corresponding entry is described; %
  numbers underlined refer to the %
  \ifcodeline@index
    code line of the %
  \fi
  definition; plain numbers refer to the %
  \ifcodeline@index
    code lines %
  \else
    pages %
  \fi
  where the entry is used.%
}
\addtolength{\textheight}{\headheight}
\addtolength{\textheight}{\headsep}
\setlength{\headheight}{0pt}
\setlength{\headsep}{0pt}
\addtolength{\topmargin}{-10mm}
\addtolength{\textheight}{20mm}
\endinput
%%
%% End of file `holtxdoc.sty'.
