You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
274 lines
6.8 KiB
274 lines
6.8 KiB
%%
|
|
%% 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: 2019/12/09 v0.30
|
|
%%
|
|
%% Copyright (C)
|
|
%% 1999-2012 Heiko Oberdiek
|
|
%% 2016-2019 Oberdiek Package Support Group
|
|
%%
|
|
%% 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
|
|
%% https://www.latex-project.org/lppl/lppl-1-3c.txt
|
|
%% and the latest version of this license is in
|
|
%% https://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".
|
|
%%
|
|
%% The Current Maintainers of this work are
|
|
%% Heiko Oberdiek and the Oberdiek Package Support Group
|
|
%% https://github.com/ho-tex/oberdiek/issues
|
|
%%
|
|
%%
|
|
%% 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}%
|
|
[2019/12/09 v0.30 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}[2011/11/22]
|
|
\RequirePackage{array}
|
|
\def\hld@info#1{%
|
|
\PackageInfo{holtxdoc}{#1\@gobble}%
|
|
}
|
|
\def\hld@warn#1{%
|
|
\PackageWarningNoLine{holtxdoc}{#1}%
|
|
}
|
|
\ifluatex
|
|
\RequirePackage{fontspec}[2011/09/18]%
|
|
\RequirePackage{unicode-math}[2011/09/19]%
|
|
\setmathfont{latinmodern-math.otf}%
|
|
\fi
|
|
\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
|
|
}
|
|
\providecommand*{\historyname}{History}
|
|
\newcommand*{\StartHistory}{%
|
|
\section{\historyname}%
|
|
}
|
|
\@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}%
|
|
\@ifnextchar\end{%
|
|
\let\endVersion\relax
|
|
}{%
|
|
\let\endVersion\enditemize
|
|
\itemize
|
|
}%
|
|
}%
|
|
\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*{\bibpackage}[4]{%
|
|
\bibitem{#1}
|
|
Package \xpackage{#1}, #2, #3.%
|
|
\ifx\\#4\\\else\space#4\fi\par
|
|
}
|
|
\newcommand*{\CTAN}[1]{%
|
|
\href{https://ctan.org/tex-archive/#1}{\nolinkurl{CTAN:#1}}%
|
|
}
|
|
\newcommand*{\CTANinstall}[1]{%
|
|
\href{http://mirrors.ctan.org/#1}{\nolinkurl{CTAN:#1}}%
|
|
}
|
|
\newcommand*{\CTANpkg}[1]{%
|
|
\href{http://ctan.org/pkg/#1}{\nolinkurl{CTAN:pkg/#1}}%
|
|
}
|
|
\newcommand*{\Newsgroup}[1]{%
|
|
\href{https://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}{\hologo{teTeX}}
|
|
\providecommand*{\mikTeX}{\hologo{MiKTeX}}
|
|
\providecommand*{\MakeIndex}{\textsl{MakeIndex}}
|
|
\providecommand*{\docstrip}{\textsf{docstrip}}
|
|
\providecommand*{\iniTeX}{\hologo{iniTeX}}
|
|
\providecommand*{\VTeX}{\hologo{VTeX}}
|
|
\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'.
|
|
|