diff options
author | Karl Berry <karl@freefriends.org> | 2006-08-27 22:38:54 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-08-27 22:38:54 +0000 |
commit | 2607d53137ede06e9780342b225218743e100bb4 (patch) | |
tree | c6c88c805dd21a5bbb6ad6f26d3d53c517f4b866 /Master/texmf-dist/tex/latex/oberdiek/holtxdoc.sty | |
parent | fb0d58de45c0fc32bab09a839c186de46f75628e (diff) |
oberdiek update from tds zip (28aug06)
git-svn-id: svn://tug.org/texlive/trunk@2054 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/holtxdoc.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/oberdiek/holtxdoc.sty | 162 |
1 files changed, 162 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/holtxdoc.sty b/Master/texmf-dist/tex/latex/oberdiek/holtxdoc.sty new file mode 100644 index 00000000000..b40a108ba63 --- /dev/null +++ b/Master/texmf-dist/tex/latex/oberdiek/holtxdoc.sty @@ -0,0 +1,162 @@ +%% +%% 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. +%% +%% Copyright (C) 1999-2006 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. 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}% + [2006/06/02 v0.7 Private additional ltxdoc support (HO)] +\RequirePackage[numbered]{hypdoc} +\RequirePackage{array} +\def\hld@info#1{% + \PackageInfo{holtxdoc}{#1\@gobble}% +} +\def\hld@warn#1{% + \PackageWarningNoLine{holtxdoc}{#1}% +} +\newcommand*{\StartHistory}{% + \section{History}% +} +\newcommand*{\HistVersion}[1]{% + \subsection*{% + \phantomsection + \addcontentsline{toc}{subsection}{[#1]}% + [#1]% + }% + \def\HistLabel##1{% + \begingroup + \edef\x{[#1]}% + \let\@currentlabel\x + \label{##1}% + \endgroup + }% +} +\newenvironment{History}{% + \StartHistory + \def\Version##1{% + \HistVersion{##1}% + \itemize + }% + \let\endVersion\enditemize +}{} +\newcommand{\URL}[2]{% + #1\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}{\nolinkurl{news:#1}}% +} +\newcommand*{\xpackage}[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]{\texttt{#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 +} +\providecommand*{\eTeX}{\mbox{$\varepsilon$-\TeX}} +\providecommand*{\pdfTeX}{pdf\TeX} +\providecommand*{\pdfLaTeX}{pdf\LaTeX} +\providecommand*{\teTeX}{te\TeX} +\providecommand*{\mikTeX}{mik\TeX} +\providecommand*{\MakeIndex}{\textsl{MakeIndex}} +\providecommand*{\docstrip}{\textsf{docstrip}} +\providecommand*{\plainTeX}{\mbox{plain-\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} +\addtolength{\textheight}{\headheight} +\addtolength{\textheight}{\headsep} +\setlength{\headheight}{0pt} +\setlength{\headsep}{0pt} +\addtolength{\topmargin}{-10mm} +\addtolength{\textheight}{20mm} +\endinput +%% +%% End of file `holtxdoc.sty'. |