summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/latex-tds/tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/latex-tds/tex')
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/ams.drv152
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/babel.tex71
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/doc_lppl.tex50
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/docstrip.cfg36
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/errata.cfg48
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/greek-usage.tex35
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/hyperref.cfg32
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/ltnews.cfg37
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/ltnews.tex132
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/ltxcheck.drv27
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/ltxdoc.cfg63
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/ltxguide.cfg57
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/manual.cfg43
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/psnfss2e.drv41
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/tdsguide.cfg38
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/tools-overview.cls114
-rw-r--r--Master/texmf-dist/source/latex/latex-tds/tex/tools.tex111
17 files changed, 1087 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/ams.drv b/Master/texmf-dist/source/latex/latex-tds/tex/ams.drv
new file mode 100644
index 00000000000..3720eaada9b
--- /dev/null
+++ b/Master/texmf-dist/source/latex/latex-tds/tex/ams.drv
@@ -0,0 +1,152 @@
+% ams.drv
+% 2006/06/02 v1.0 Driver file for amslatex documentation files
+% Copyright 2006 Heiko Oberdiek.
+%
+% This file is part of project `latex-tds'.
+%
+% It 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.3c 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 Maintainer of this work is Heiko Oberdiek.
+%
+% See `readme.txt' for a list of all files belonging to the
+% project `latex-tds' and additional information.
+%
+\NeedsTeXFormat{LaTeX2e}
+\makeatletter
+
+%%% Paper size
+\@for\reserved@a:=article,report,book,amsdtx,amsart\do{%
+ \PassOptionsToClass{a4paper}{\reserved@a}%
+}
+
+%%% Skip for cite-xa (unsupported)
+\begingroup
+ \edef\x{\jobname}%
+ \def\y{cite-xa}%
+ \@onelevel@sanitize\y
+\expandafter\endgroup
+\ifx\x\y
+ \expandafter\@firstofone
+\else
+ \expandafter\@gobble
+\fi
+{%
+ \input{\jobname.tex}%
+ \endinput
+}
+
+%%% Patch \documentclass
+\let\PATCH@ORG@documentclass\documentclass
+\renewcommand*{\documentclass}[2][]{%
+ \let\documentclass\PATCH@ORG@documentclass
+ \begingroup
+ \toks@{\documentclass}%
+ \def\x{#1}%
+ \ifx\x\@empty
+ \else
+ \toks@\expandafter{\the\toks@[{#1}]}%
+ \fi
+ \toks@\expandafter{\the\toks@{#2}}%
+ \PATCH@documentclass
+}
+\newcommand*{\PATCH@documentclass}[1][]{%
+ \def\x{#1}%
+ \ifx\x\@empty
+ \else
+ \toks@\expandafter{\the\toks@[#1]}%
+ \fi
+ \expandafter\endgroup
+ \the\toks@
+ %
+ % page layout
+ \addtolength{\topmargin}{-10mm}%
+ \addtolength{\textheight}{20mm}%
+ %
+ %%% Add hyperref support
+ \PassOptionsToPackage{hyperref}{draft=false}%
+ \IfFileExists{\jobname.dtx}{%
+ \RequirePackage{hypdoc}[2006/06/01]%
+ }{}{}%
+ \usepackage[pdfusetitle]{hyperref}%
+ \hypersetup{
+ draft=false,
+ colorlinks,
+ bookmarksnumbered,
+ }%
+ \pdfstringdefDisableCommands{%
+ \def\BibTeX{BibTeX}%
+ \let\pkg\@firstofone
+ \let\cls\@firstofone
+ \let\opt\@firstofone
+ \let\fld\@firstofone
+ \let\ntt\relax
+ \let\fn\@firstofone
+ \let\env\@firstofone
+ \def\cn{\textbackslash}%
+ \def\begend##1{%
+ \textbackslash begin\{##1\} \dots\space
+ \textbackslash end\{##1\}%
+ }%
+ \def\and{, }%
+ \def\linebreak[##1]{}%
+ }%
+}
+
+%%% Patch for cite-xh.tex
+\begingroup
+ \edef\x{\jobname}%
+ \def\y{cite-xh}%
+ \@onelevel@sanitize\y
+\expandafter\endgroup
+\ifx\x\y
+ \PassOptionsToPackage{%
+ colorlinks,citecolor=red,pagebackref,hypertexnames=false,hypertexnames%
+ }{hyperref}%
+\fi
+
+%%% Patch theindex for amsldoc.tex
+\begingroup
+ \edef\x{\jobname}%
+ \def\y{amsldoc}%
+ \@onelevel@sanitize\y
+\expandafter\endgroup
+\ifx\x\y
+\else
+ \expandafter\@gobbletwo
+\fi
+\AtBeginDocument{%
+ \let\PATCH@ORG@theindex\theindex
+ \def\theindex{%
+ \let\endtheindex\relax
+ \end{theindex}%
+ \let\theindex\PATCH@ORG@theindex
+ \InputIfFileExists{\jobname.ind}{}{}%
+ \end{document}%
+ }%
+}
+
+\makeatother
+
+%%% Load document source file
+\InputIfFileExists{\jobname.tex}{%
+ \typeout{* Document source: \jobname.tex}%
+}{%
+ \InputIfFileExists{\jobname.dtx}{%
+ \typeout{* Document source: \jobname.dtx}%
+ \AtBeginDocument{\CodelineIndex}%
+ \AtEndDocument{\PrintIndex}%
+ }{%
+ \PackageError{ams.drv}{%
+ Cannot find document source
+ }{\csname @ehc\endcsname}%
+ }%
+}
+\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/babel.tex b/Master/texmf-dist/source/latex/latex-tds/tex/babel.tex
new file mode 100644
index 00000000000..ff3059fa099
--- /dev/null
+++ b/Master/texmf-dist/source/latex/latex-tds/tex/babel.tex
@@ -0,0 +1,71 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesFile{babel.tex}%
+ [2006/06/02 v1.0 Driver file for babel.drv (HO)]
+%
+% Copyright 2006 Heiko Oberdiek
+%
+% This file is part of project `latex-tds'.
+%
+% It 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.3c 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 Maintainer of this work is Heiko Oberdiek.
+%
+% See `readme.txt' for a list of all files belonging to the
+% project `latex-tds' and additional information.
+%
+\makeatletter
+
+% There are a lot of unnumbered sections `References'
+% among numbered sections. That looks too poor.
+\PassOptionsToPackage{numbered}{hypdoc}
+
+% The first environment `thebibliography' belongs to babel.dtx,
+% but the following are part of the other language definition files.
+% Thus we must move the \section to the \subsection level here.
+\newif\if@FirstBib
+\@FirstBibtrue
+\AtBeginDocument{%
+ \let\Saved@TheBibliography\thebibliography
+ \let\thebibliography\New@TheBibliography
+}
+\def\New@TheBibliography{%
+ \if@FirstBib
+ \global\@FirstBibfalse
+ \else
+ \def\section{\subsection}%
+ \fi
+ \Saved@TheBibliography
+}
+
+% Add bookmark for `Change History'
+\AtBeginDocument{%
+ \let\Saved@TheGlossary\theglossary
+ \let\theglossary\New@TheGlossary
+}
+\def\New@TheGlossary{%
+ \clearpage
+ \pdfbookmark[1]{Change History}{gloss}%
+ \Saved@TheGlossary
+}
+
+% Index not numbered
+\AtBeginDocument{%
+ \let\Saved@TheIndex\theindex
+ \let\theindex\New@TheIndex
+}
+\def\New@TheIndex{%
+ \csname HD@numberedfalse\endcsname
+ \Saved@TheIndex
+}
+\makeatother
+
+\input{babel.drv}
+\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/doc_lppl.tex b/Master/texmf-dist/source/latex/latex-tds/tex/doc_lppl.tex
new file mode 100644
index 00000000000..3c8d9cd8e35
--- /dev/null
+++ b/Master/texmf-dist/source/latex/latex-tds/tex/doc_lppl.tex
@@ -0,0 +1,50 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesFile{doc_lppl.tex}
+ [2006/06/02 v1.0 Master file for lppl.tex (HO)]
+%
+% Copyright 2006 Heiko Oberdiek
+%
+% This file is part of project `latex-tds'.
+%
+% It 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.3c 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 Maintainer of this work is Heiko Oberdiek.
+%
+% See `readme.txt' for a list of all files belonging to the
+% project `latex-tds' and additional information.
+%
+\documentclass[a4paper,11pt]{article}
+
+\usepackage[
+ ignoreall,
+ vmargin=1in
+]{geometry}
+
+\usepackage[colorlinks]{hyperref}
+\hypersetup{
+ pdftitle={The LaTeX Project Public License},
+ bookmarksopen,
+ bookmarksopenlevel=3,
+}
+
+\let\LPPLicense\begingroup
+\let\endLPPLicense\endgroup
+
+\newcommand*{\LPPLsection}{\section}
+\newcommand*{\LPPLsubsection}{\subsection}
+\newcommand*{\LPPLsubsubsection}{\subsubsection}
+\newcommand*{\LPPLparagraph}{\paragraph}
+
+\setcounter{secnumdepth}{0}
+
+\begin{document}
+\input{lppl}
+\end{document}
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/docstrip.cfg b/Master/texmf-dist/source/latex/latex-tds/tex/docstrip.cfg
new file mode 100644
index 00000000000..0b6d48c4366
--- /dev/null
+++ b/Master/texmf-dist/source/latex/latex-tds/tex/docstrip.cfg
@@ -0,0 +1,36 @@
+% docstrip.cfg
+% 2006/06/02 v1.0
+% Copyright 2006 Heiko Oberdiek
+%
+% Configuration file for `docstrip' that enables the TDS installation
+% feature and automatically creates missing directories.
+%
+% This file is part of project `latex-tds'.
+%
+% It 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.3c 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 Maintainer of this work is Heiko Oberdiek.
+%
+% See `readme.txt' for a list of all files belonging to the
+% project `latex-tds' and additional information.
+%
+\BaseDirectory{texmf}
+\UseTDS
+
+\def\shell#{\immediate\write18}
+\def\mkdir#1{\shell{mkdir -p #1}}
+
+\let\saved@usedir\usedir
+\def\usedir#1{%
+ \mkdir{\basedir#1}%
+ \saved@usedir{#1}%
+}
+\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/errata.cfg b/Master/texmf-dist/source/latex/latex-tds/tex/errata.cfg
new file mode 100644
index 00000000000..ed7f481a76f
--- /dev/null
+++ b/Master/texmf-dist/source/latex/latex-tds/tex/errata.cfg
@@ -0,0 +1,48 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesFile{errata.cfg}%
+ [2006/06/02 v1.0 latex-tds: errata.cls configuration (HO)]
+%
+% Copyright 2006 Heiko Oberdiek
+%
+% This file is part of project `latex-tds'.
+%
+% It 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.3c 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 Maintainer of this work is Heiko Oberdiek.
+%
+% See `readme.txt' for a list of all files belonging to the
+% project `latex-tds' and additional information.
+%
+\AtEndOfClass{%
+ \RequirePackage{hyperref}%
+ \newcounter{unique}
+ \renewcommand\CHAPTER[1]{%
+ \endgobble
+ &\\[4pt]%
+ \noalign{%
+ \stepcounter{unique}%
+ \pdfbookmark[0]{#1}{ch-\number\value{unique}}%
+ }%
+ \multicolumn{4}{l}{\framebox[10cm][l]{\textbf{\normalsize\strut#1}}} \\%
+ }
+ \let\SAVEDerratatitle\erratatitle
+ \renewcommand{\erratatitle}[1]{%
+ \hypersetup{%
+ pdftitle={#1}%
+ }%
+ \SAVEDerratatitle{#1}%
+ }%
+ \hypersetup{%
+ pdfsubject={Errata list}%
+ }%
+ \showallerrors
+}
+\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/greek-usage.tex b/Master/texmf-dist/source/latex/latex-tds/tex/greek-usage.tex
new file mode 100644
index 00000000000..b1ce41f91b6
--- /dev/null
+++ b/Master/texmf-dist/source/latex/latex-tds/tex/greek-usage.tex
@@ -0,0 +1,35 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesFile{greek-usage.tex}
+ [2006/06/02 v1.0 Driver file for babel/usage.tex (HO)]
+%
+% Copyright 2006 Heiko Oberdiek
+%
+% This file is part of project `latex-tds'.
+%
+% It 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.3c 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 Maintainer of this work is Heiko Oberdiek.
+%
+% See `readme.txt' for a list of all files belonging to the
+% project `latex-tds' and additional information.
+%
+\let\SavedDocumentclass\documentclass
+\def\documentclass[#1]#2{%
+ \SavedDocumentclass[{#1}]{#2}%
+ \usepackage[
+ colorlinks,
+ pdfusetitle,
+ bookmarksnumbered
+ ]{hyperref}
+}
+\def\show#1{}
+\input{usage}
+\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/hyperref.cfg b/Master/texmf-dist/source/latex/latex-tds/tex/hyperref.cfg
new file mode 100644
index 00000000000..cc649d15442
--- /dev/null
+++ b/Master/texmf-dist/source/latex/latex-tds/tex/hyperref.cfg
@@ -0,0 +1,32 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesFile{hyperref.cfg}%
+ [2006/06/02 v1.0 latex-tds: hyperref.sty configuration (HO)]
+%
+% Copyright 2006 Heiko Oberdiek
+%
+% This file is part of project `latex-tds'.
+%
+% It 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.3c 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 Maintainer of this work is Heiko Oberdiek.
+%
+% See `readme.txt' for a list of all files belonging to the
+% project `latex-tds' and additional information.
+%
+\AtEndOfPackage{%
+ \RequirePackage{hypdestopt}%
+ % patch for varioref (psnfss2e.drv)
+ \let\HyperrefRefstepcounter\refstepcounter
+ \AtBeginDocument{%
+ \let\refstepcounter\HyperrefRefstepcounter
+ }%
+}
+\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/ltnews.cfg b/Master/texmf-dist/source/latex/latex-tds/tex/ltnews.cfg
new file mode 100644
index 00000000000..d13853d4859
--- /dev/null
+++ b/Master/texmf-dist/source/latex/latex-tds/tex/ltnews.cfg
@@ -0,0 +1,37 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesFile{ltnews.cfg}%
+ [2006/06/02 v1.0 latex-tds: ltnews.cls configuration (HO)]
+%
+% Copyright 2006 Heiko Oberdiek
+%
+% This file is part of project `latex-tds'.
+%
+% It 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.3c 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 Maintainer of this work is Heiko Oberdiek.
+%
+% See `readme.txt' for a list of all files belonging to the
+% project `latex-tds' and additional information.
+%
+\begingroup\expandafter\expandafter\expandafter\endgroup
+\expandafter\ifx\csname pdfinfo\endcsname\relax
+\else
+ \AtBeginDocument{%
+ \pdfinfo{%
+ /Subject(%
+ Issue \@issue, \@month\space\@year
+ )%
+ /Creator(LaTeX)%
+ }%
+ \newtoks\pdfinfo
+ }%
+\fi
+\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/ltnews.tex b/Master/texmf-dist/source/latex/latex-tds/tex/ltnews.tex
new file mode 100644
index 00000000000..2cdacedff2a
--- /dev/null
+++ b/Master/texmf-dist/source/latex/latex-tds/tex/ltnews.tex
@@ -0,0 +1,132 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesFile{ltnews.tex}%
+ [2006/06/02 v1.0 Master file for ltnews*.tex (HO)]
+%
+% Copyright 2006 Heiko Oberdiek
+%
+% This file is part of project `latex-tds'.
+%
+% It 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.3c 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 Maintainer of this work is Heiko Oberdiek.
+%
+% See `readme.txt' for a list of all files belonging to the
+% project `latex-tds' and additional information.
+%
+\providecommand*{\lastissue}{17}
+
+\RequirePackage{ifpdf}
+\ifpdf
+ % overwrite nasty stuff of ltnews.cfg
+ % (use of hyperref for this would also support other drivers)
+ \pdfinfo{%
+ /Title(LaTeX News)%
+ /Subject(Issues 1--\lastissue)%
+ /Author(The LaTeX Project)%
+ /Creator(LaTeX)%
+ }
+ \newtoks\pdfinfo
+\else
+ \AtBeginDocument{%
+ \hypersetup{%
+ pdftitle={LaTeX News},%
+ pdfsubject={Issues 1\textendash\lastissue},%
+ pdfauthor={The LaTeX Project},%
+ pdfcreator={LaTeX}%
+ }%
+ }%
+\fi
+
+\documentclass{ltnews}
+
+\RequirePackage{hyperref}
+\hypersetup{colorlinks}
+
+\makeatletter
+
+\newcounter{issue}
+\renewcommand*{\theissue}{%
+ \ifnum\value{issue}<10 0\fi
+ \number\value{issue}%
+}
+
+\newcommand*{\MonthJune}{06}
+\newcommand*{\MonthDecember}{12}
+\newcommand*{\printissue}{%
+ Issue %
+ \texorpdfstring{\number\value{issue}}{\theissue}, %
+ \texorpdfstring{\@month\space\@year}{\@year/\@nameuse{Month\@month}}%
+}
+\let\l@part\l@section
+\let\l@section\l@subsection
+\let\l@subsection\l@subsubsection
+\let\l@subsubsection\l@paragraph
+\let\l@paragraph\l@subparagraph
+
+\newcommand*{\makefirsttitle}{%
+ \twocolumn[{%
+ \parbox[t][4\baselineskip]{\textwidth}{%
+ \@titlefont\@title, Issues 1--\lastissue
+ }%
+ }]%
+}
+
+% table of contents with underlined links
+\iffalse % disable if option colorlinks is used
+\@ifpackagelater{hyperref}{2006/06/01}{%
+ \newcommand*{\saved@tableofcontents}{}%
+ \let\saved@tableofcontents\tableofcontents
+ \renewcommand*{\tableofcontents}{%
+ \begingroup
+ \hypersetup{pdfborderstyle={/S/U/W 1}}%
+ \saved@tableofcontents
+ \endgroup
+ }%
+}{}
+\fi
+\makeatother
+
+\begin{document}
+
+%%% Title and Table of Contents
+
+\makefirsttitle
+\pdfbookmark[0]{\contentsname}{toc}
+\tableofcontents
+\clearpage
+
+%%% Issues
+
+\begingroup
+ \renewcommand*{\documentclass}[2][]{%
+ \setcounter{footnote}{0}%
+ \gobbleopt
+ }%
+ \newcommand*{\gobbleopt}[1][]{}%
+ \renewenvironment{document}{%
+ \clearpage
+ \pdfbookmark[0]{\printissue}{issue\theissue}%
+ \begingroup
+ \let\WriteBookmarks\relax
+ \phantomsection
+ \addcontentsline{toc}{part}{\printissue}%
+ \endgroup
+ }{%
+ \clearpage
+ }%
+ \loop
+ \ifnum\value{issue}<\lastissue
+ \stepcounter{issue}%
+ \input{ltnews\theissue}%
+ \repeat
+\endgroup
+
+\end{document}
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/ltxcheck.drv b/Master/texmf-dist/source/latex/latex-tds/tex/ltxcheck.drv
new file mode 100644
index 00000000000..c4a4c155aa3
--- /dev/null
+++ b/Master/texmf-dist/source/latex/latex-tds/tex/ltxcheck.drv
@@ -0,0 +1,27 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesFile{ltxcheck.drv}%
+ [2006/06/02 v1.0 Driver file for ltxcheck.tex (HO)]
+%
+% Copyright 2006 Heiko Oberdiek
+%
+% This file is part of project `latex-tds'.
+%
+% It 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.3c 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 Maintainer of this work is Heiko Oberdiek.
+%
+% See `readme.txt' for a list of all files belonging to the
+% project `latex-tds' and additional information.
+%
+\documentclass{ltxdoc}
+\begin{document}
+\DocInput{ltxcheck.tex}
+\end{document}
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/ltxdoc.cfg b/Master/texmf-dist/source/latex/latex-tds/tex/ltxdoc.cfg
new file mode 100644
index 00000000000..342218ba4c5
--- /dev/null
+++ b/Master/texmf-dist/source/latex/latex-tds/tex/ltxdoc.cfg
@@ -0,0 +1,63 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesFile{ltxdoc.cfg}%
+ [2006/06/02 latex-tds: ltxdoc.cls configuration (HO)]
+%
+% Copyright 2006 Heiko Oberdiek
+%
+% This file is part of project `latex-tds'.
+%
+% It 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.3c 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 Maintainer of this work is Heiko Oberdiek.
+%
+% See `readme.txt' for a list of all files belonging to the
+% project `latex-tds' and additional information.
+%
+\PassOptionsToClass{a4paper}{article}
+\AtEndOfClass{%
+ \RequirePackage{hypdoc}%
+ \pdfstringdefDisableCommands{%
+ \let\env\relax % longtable.dtx
+ \let\mytt\relax % tabularx.dtx
+ }%
+ \addtolength{\topmargin}{-10mm}%
+ \addtolength{\textheight}{20mm}%
+ % Depending on the page style, the head or foot area
+ % are put into the text area.
+ % Usually the page style is the default "plain".
+ % tools/verbatim.dtx uses "myheadings".
+ \def\string@plain{plain}%
+ \def\string@myheadings{myheadings}%
+ \def\current@pagestyle{plain}%
+ \let\ltxdoc@cfg@pagestyle\pagestyle
+ \def\pagestyle#1{%
+ \def\current@pagestyle{#1}%
+ \ltxdoc@cfg@pagestyle{#1}%
+ }%
+ \let\ltxdoc@cfg@document\document
+ \def\document{%
+ \ifx\current@pagestyle\string@plain
+ \addtolength{\textheight}{\headheight}%
+ \addtolength{\textheight}{\headsep}%
+ \setlength{\headheight}{0pt}%
+ \setlength{\headsep}{0pt}%
+ \global\textheight\textheight
+ \global\headheight\headheight
+ \global\headsep\headsep
+ \fi
+ \ifx\current@pagestyle\string@myheadings
+ \addtolength{\textheight}{\footskip}%
+ \global\textheight\textheight
+ \fi
+ \ltxdoc@cfg@document
+ }%
+}
+\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/ltxguide.cfg b/Master/texmf-dist/source/latex/latex-tds/tex/ltxguide.cfg
new file mode 100644
index 00000000000..2996a7a1561
--- /dev/null
+++ b/Master/texmf-dist/source/latex/latex-tds/tex/ltxguide.cfg
@@ -0,0 +1,57 @@
+\ProvidesFile{ltxguide.cfg}%
+ [2006/04/27 v1.0 latex-tds: ltxguide.cls configuration (HO)]
+%
+% Copyright 2006 Heiko Oberdiek
+%
+% This file is part of project `latex-tds'.
+%
+% It 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.3c 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 Maintainer of this work is Heiko Oberdiek.
+%
+% See `readme.txt' for a list of all files belonging to the
+% project `latex-tds' and additional information.
+%
+\PassOptionsToClass{a4paper}{article}
+\AtEndOfClass{%
+ \RequirePackage{hypdoc}%
+ \pdfstringdefDisableCommands{%
+ \let\package\relax % grfguide.tex
+ }%
+ \addtolength{\textheight}{\headheight}%
+ \addtolength{\textheight}{\headsep}%
+ \setlength{\headheight}{0pt}%
+ \setlength{\headsep}{0pt}%
+ \begingroup
+ \edef\x{\jobname}%
+ \edef\y{\detokenize{encguide}}%
+ \expandafter\endgroup
+ \ifx\x\y
+ % encguide already enlarges \textheight
+ \addtolength{\topmargin}{-\baselineskip}%
+ \else
+ \addtolength{\topmargin}{-10mm}%
+ \addtolength{\textheight}{20mm}%
+ \fi
+}
+% Patch for grfguide.tex
+\AtBeginDocument{%
+ \@ifundefined{DeclareGraphicsExtensions}{%
+ }{%
+ \DeclareGraphicsExtensions{.pdf}%
+ \GPT@fix
+ \let\GPT@fix\relax
+ \define@key{Gin}{bb}{%
+ \setkeys{Gin}{viewport=15 10 35 45}%
+ }%
+ }%
+}
+\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/manual.cfg b/Master/texmf-dist/source/latex/latex-tds/tex/manual.cfg
new file mode 100644
index 00000000000..e508a715000
--- /dev/null
+++ b/Master/texmf-dist/source/latex/latex-tds/tex/manual.cfg
@@ -0,0 +1,43 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesFile{manual.cfg}%
+ [2006/06/02 v1.0 latex-tds: manual.err configuration (HO)]
+%
+% Copyright 2006 Heiko Oberdiek
+%
+% This file is part of project `latex-tds'.
+%
+% It 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.3c 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 Maintainer of this work is Heiko Oberdiek.
+%
+% See `readme.txt' for a list of all files belonging to the
+% project `latex-tds' and additional information.
+%
+\usepackage[pdfusetitle]{hyperref}
+\setcounter{secnumdepth}{0}
+\makeatletter
+\let\SAVED@subsection\subsection
+\let\SAVED@subsubsection\subsubsection
+\renewcommand*{\subsection}{%
+ \@ifstar\ERR@subsection\ERR@subsection
+}
+\newcommand*{\ERR@subsection}[1]{%
+ \SAVED@subsection{%
+ \texorpdfstring{#1}{%
+ \ERR@strip #1\@nil
+ }%
+ }%
+}
+\def\ERR@strip Error#1 Corrected in the #2\@nil{#2}
+\renewcommand*{\subsubsection}{%
+ \@ifstar\SAVED@subsubsection\SAVED@subsubsection
+}
+\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/psnfss2e.drv b/Master/texmf-dist/source/latex/latex-tds/tex/psnfss2e.drv
new file mode 100644
index 00000000000..9bb35d805e3
--- /dev/null
+++ b/Master/texmf-dist/source/latex/latex-tds/tex/psnfss2e.drv
@@ -0,0 +1,41 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesFile{psnfss2e.drv}%
+ [2006/08/17 v1.1 Driver file for psnfss2e.tex (HO)]
+%
+% Copyright 2006 Heiko Oberdiek
+%
+% This file is part of project `latex-tds'.
+%
+% It 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.3c 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 Maintainer of this work is Heiko Oberdiek.
+%
+% See `readme.txt' for a list of all files belonging to the
+% project `latex-tds' and additional information.
+%
+\RequirePackage[patch]{kvoptions}[2006/08/17]
+\PassOptionsToPackage{colorlinks=false,pdfborder={0 0 0}}{hyperref}
+\AtBeginDocument{%
+ \utopiatrue
+}
+\let\SavedDocumentclass\documentclass
+\def\documentclass[#1]#2[#3]{%
+ \let\documentclass\SavedDocumentclass
+ \documentclass[{#1}]{#2}[{#3}]%
+ \addtolength{\textheight}{\headheight}%
+ \addtolength{\textheight}{\headsep}%
+ \setlength{\headheight}{0pt}%
+ \setlength{\headsep}{0pt}%
+ \addtolength{\textheight}{20mm}%
+ \addtolength{\topmargin}{-10mm}%
+}
+\input{\jobname.tex}
+\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/tdsguide.cfg b/Master/texmf-dist/source/latex/latex-tds/tex/tdsguide.cfg
new file mode 100644
index 00000000000..cda0dd334ba
--- /dev/null
+++ b/Master/texmf-dist/source/latex/latex-tds/tex/tdsguide.cfg
@@ -0,0 +1,38 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesFile{tdsguide.cfg}%
+ [2006/08/17 v1.0 latex-tds: tdsguide.cls configuration (HO)]
+\PassOptionsToClass{a4paper}{article}
+\AtEndOfClass{%
+ \RequirePackage[
+ colorlinks,
+ bookmarksnumbered,
+ ]{hyperref}%
+ \let\SavedUrl\url
+ \def\url|#1|{%
+ \SavedUrl{#1}%
+ }%
+ \providecommand*{\appref}[1]{%
+ \hyperref[{#1}]{Appendix~\ref*{#1}}%
+ }%
+ \providecommand*{\secref}[1]{%
+ \hyperref[{#1}]{Section~\ref*{#1}}%
+ }%
+ \pdfstringdefDisableCommands{%
+ \let\abbr\@firstofone
+ \def\BibTeX{BibTeX}%
+ }%
+ \hypersetup{%
+ pdfauthor={Karl Berry},
+ pdftitle={A Directory Structure for TeX Files (TDS)},
+ pdfsubject={TUG Working Group on a TeX Directory Structure (TWG-TDS)},
+ }%
+ \addtolength{\topmargin}{-10mm}%
+ \addtolength{\textheight}{20mm}%
+ \let\saved@maketitle\@maketitle
+ \def\@maketitle{%
+ \null
+ \kern10mm\relax
+ \saved@maketitle
+ }%
+}
+\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/tools-overview.cls b/Master/texmf-dist/source/latex/latex-tds/tex/tools-overview.cls
new file mode 100644
index 00000000000..55c23ee943c
--- /dev/null
+++ b/Master/texmf-dist/source/latex/latex-tds/tex/tools-overview.cls
@@ -0,0 +1,114 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{tools-overview}
+ [2006/06/02 Overview for packages of latex/tools]
+%
+% Copyright 2006 Heiko Oberdiek
+%
+% This file is part of project `latex-tds'.
+%
+% It 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.3c 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 Maintainer of this work is Heiko Oberdiek.
+%
+% See `readme.txt' for a list of all files belonging to the
+% project `latex-tds' and additional information.
+%
+\nofiles
+\LoadClass[a4paper,12pt]{article}
+
+% page layout
+\RequirePackage[
+ ignoreall,
+ hmargin=1in,
+ vmargin={.75in,1in},
+]{geometry}
+
+\pagestyle{empty}
+
+\RequirePackage{calc}[2005/08/06]
+
+\RequirePackage{hyperref}
+\hypersetup{
+ colorlinks,
+ filecolor=blue,
+ pdftitle={LaTeX's Tools Bundle},
+ pdfsubject={Overview},
+ pdfauthor={Heiko Oberdiek},
+ pdfcreator={Project `latex-tds'},
+}
+\title{Contents of \LaTeX's Tools Bundle}
+
+\let\TO@document\document
+\let\TO@enddocument\enddocument
+\def\document{%
+ \TO@document
+ \maketitle
+ \toks@={}%
+ \setlength{\maxlen}{0pt}%
+}
+\newlength{\maxlen}
+\def\enddocument{%
+ \begin{list}{}{%
+ \setlength{\leftmargin}{\maxlen + \labelsep}%
+ \setlength{\labelwidth}{\maxlen}%
+ \setlength{\partopsep}{0pt}%
+ }%
+ \the\toks@
+ \end{list}%
+ \TO@enddocument
+}
+\newcommand{\entry}[2]{%
+ \outline{#1}%
+ \toks@\expandafter{%
+ \the\toks@
+ \item[%
+ \href{file:#1.pdf}{\printpackage{#1}}%
+ \hfill
+ ]%
+ #2%
+ }%
+ \setlength{\maxlen}{%
+ \maxof{\maxlen}{\widthof{\printpackage{#1}}}%
+ }%
+ \global\maxlen\maxlen
+}
+\newcommand*{\printpackage}[1]{%
+ \textbf{\large #1:}%
+}
+\newcommand*{\outline}[1]{%
+ \pdfoutline
+ attr {/C[0 0 1]}
+ user {%
+ <<%
+ /S/GoToR%
+ /F(#1.pdf)%
+ /NewWindow true%
+ /D[0/XYZ null null null]%
+ >>%
+ }%
+ {[#1]}\relax
+}
+\renewcommand*{\maketitle}{%
+ \begingroup
+ \par
+ \centering
+ \bfseries
+ \LARGE
+ \@title
+ \par
+ \endgroup
+ \vspace{2em}%
+}
+
+\providecommand*{\cs}[1]{%
+ \texttt{\textbackslash#1}%
+}
+\endinput
diff --git a/Master/texmf-dist/source/latex/latex-tds/tex/tools.tex b/Master/texmf-dist/source/latex/latex-tds/tex/tools.tex
new file mode 100644
index 00000000000..777093c5b56
--- /dev/null
+++ b/Master/texmf-dist/source/latex/latex-tds/tex/tools.tex
@@ -0,0 +1,111 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesFile{tools.tex}%
+ [2006/08/28 Tools overview (HO)]
+% Copyright 2006 Heiko Oberdiek
+%
+% This file is part of project `latex-tds'.
+%
+% It 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.3c 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 Maintainer of this work is Heiko Oberdiek.
+%
+% See `readme.txt' for a list of all files belonging to the
+% project `latex-tds' and additional information.
+%
+\documentclass{tools-overview}
+\begin{document}
+\entry{afterpage}{%
+ Place text after the current page.
+}%
+\entry{array}{%
+ Extended versions of the environments array, tabular and tabular*.
+}%
+\entry{bm}{%
+ Access bold math symbols.
+}%
+\entry{calc}{%
+ Infix arithmetic expresions. Contributed to the distribution by
+ Kresten Krab Thorup and Frank Jensen.
+}%
+\entry{dcolumn}{%
+ Alignment on \emph{decimal points} in tabular entries. Requires array.
+}%
+\entry{delarray}{%
+ Adds \emph{large delimiters} around arrays. Requires array.
+}%
+\entry{enumerate}{%
+ Extended version of the enumerate environment.
+}%
+\entry{fileerr}{%
+ Suite of small files which may be used to control \TeX{}'s
+ missing file error loop.
+}%
+\entry{fontsmpl}{%
+ Package and test file for producing \emph{font samples}
+}%
+\entry{ftnright}{%
+ Place footnotes in the right hand column in two-column mode.
+}%
+\entry{hhline}{%
+ Finer control over horizontal rules in tables. Requires array.
+}%
+\entry{indentfirst}{%
+ Indent the first paragraph of sections etc.
+}%
+\entry{layout}{%
+ Produces an overview of the layout of the current document.
+}%
+\entry{longtable}{%
+ Multipage tables. (Does not require array, but uses the extended
+ features if both are loaded.)
+}%
+\entry{multicol}{%
+ Typeset text in columns, with the length of the final columns
+ \emph{balanced}.
+}%
+\entry{rawfonts}{%
+ Preload fonts under the old internal font names of \LaTeX{}2.09.
+ Not recomended for new packages, but may help when updating old
+ files.
+}%
+\entry{showkeys}{%
+ Draft mode showing the \emph{keys} used by \cs{label}, \cs{ref}, \cs{cite} etc.
+}%
+\entry{somedefs}{%
+ Selective handling of package options. (Used in rawfonts.sty.)
+}%
+\entry{tabularx}{%
+ Defines tabularx environment (similar to tabular*) but modifies
+ column widths, not inter-column space, to achieve a desired
+ table width.
+}%
+\entry{theorem}{%
+ Flexible definition of \emph{theorem-like} environments.
+}%
+\entry{trace}{%
+ The package helps to suppress and to control the amount of tracing
+ output (\cs{tracingall}) by taming calc and making NFSS less noisy.
+}%
+\entry{varioref}{%
+ \emph{Smart} handling of page references.
+}%
+\entry{verbatim}{%
+ Flexible version of verbatim environment.
+}%
+\entry{xr}{%
+ eXternall References. Extend \cs{ref} to access \cs{label} commands in
+ other documents.
+}%
+\entry{xspace}{%
+ Smart space command that avoids the common mistake of missing
+ spaces after command names.
+}%
+\end{document}