diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/base/ltxdoc.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/base/ltxdoc.dtx | 71 |
1 files changed, 63 insertions, 8 deletions
diff --git a/Master/texmf-dist/source/latex/base/ltxdoc.dtx b/Master/texmf-dist/source/latex/base/ltxdoc.dtx index ffe42ed4feb..c3ba6a64f8b 100644 --- a/Master/texmf-dist/source/latex/base/ltxdoc.dtx +++ b/Master/texmf-dist/source/latex/base/ltxdoc.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright 1993-2014 +% Copyright 1993-2015 % The LaTeX3 Project and any individual authors listed elsewhere % in this file. % @@ -30,7 +30,7 @@ % %<class>\NeedsTeXFormat{LaTeX2e} %<class>\ProvidesClass{ltxdoc} -%<class> [2014/09/29 v2.0u Standard LaTeX documentation class] +%<class> [2015/03/26 v2.0w Standard LaTeX documentation class] % %<*driver> \documentclass{ltxdoc} @@ -43,14 +43,15 @@ \date{\filedate} \author{David Carlisle} \begin{document} -\maketitle + \MaintainedByLaTeXTeam{latex} + \maketitle \DocInput{ltxdoc.dtx} \end{document} %</driver> % % \fi % -% \CheckSum{415} +% \CheckSum{472} % % \changes{v2.0i}{1994/04/29}{Update the documentation.} % \changes{v2.0s}{1998/08/17}{(RmS) Documentation fixes.} @@ -225,7 +226,7 @@ \DisableCrossrefs % \end{macrocode} % -% Increase the text width slightly so that width the standard fonts +% Increase the text width slightly so that with the standard fonts % 72 columns of code may appear in a |macrocode| environment. % \changes{v2.0c}{1994/03/15}{Set \cs{textwidth}.} % \begin{macrocode} @@ -256,7 +257,7 @@ % ``|\outer|'' nor is it possible to use it on conditionals such as % |\iftrue| or defined by |\newif|. % |\cs{foo}| also prints |\foo|, for those who prefer that -% syntax. (This second form can be used to record all type of commends so the +% syntax. (This second form can be used to record all types of command so the % above restrictions do not apply. % \begin{macro}{\cmd} % \changes{v2.0k}{1994/05/21}{New definition, so \cmd\{ works.} @@ -314,7 +315,7 @@ % \changes{v2.0e}{1994/03/18}{Use a fixed font.} % % Scan control names and put them in tt. -% will actually (incorrectly) scan past |\\| but this does not matter as +% Will actually (incorrectly) scan past |\\| but this does not matter as % this is almost never followed by a letter in practice. % (ie |\\foo|) would put |foo| in |\ttfamily|. % \begin{macrocode} @@ -424,7 +425,9 @@ \relax \clearpage \docincludeaux - \IfFileExists{#1.fdd}{\def\currentfile{#1.fdd}}{\def\currentfile{#1.dtx}}% + \IfFileExists{#1.fdd}% + {\def\currentfile{#1.fdd}}% + {\def\currentfile{#1.dtx}}% \ifnum\@auxout=\@partaux \@latexerr{\string\include\space cannot be nested}\@eha \else \@docinclude#1 \fi} @@ -513,6 +516,58 @@ % \end{macrocode} % \end{macro} % +% \begin{macro}{\MaintainedByLaTeXTeam} +% \changes{v2.0v}{2015/03/25}{macro added} +% \changes{v2.0w}{2015/03/25}{use display block not footnote text} +% Generate boilerplate reference to bug database. +% \begin{macrocode} +\def\MaintainedBy#1{\gdef\@maintainedby{#1}} +% \end{macrocode} +% +% \begin{macrocode} +\let\@maintainedby\@empty +% \end{macrocode} +% +% \begin{macrocode} +\def\MaintainedByLaTeXTeam#1{% +{\gdef\@maintainedby{% +This file is maintained by the \LaTeX{} Project team.\\% +Bug reports can be opened (category \texttt{#1}) at\\% +\url{http://latex-project.org/bugs.html}.}}} +% \end{macrocode} +% +% \begin{macrocode} +\def\@maketitle{% + \newpage + \null + \vskip 2em% + \begin{center}% + \let \footnote \thanks + {\LARGE \@title \par}% + \vskip 1.5em% + {\large + \lineskip .5em% + \begin{tabular}[t]{c}% + \@author + \end{tabular}\par}% + \vskip 1em% + {\large \@date}% + \ifx\@maintainedby\@empty + \else + \vskip 1em% + \fbox{\fbox{\begin{tabular}{@{}l@{}}\@maintainedby\end{tabular}}}% + \fi + \end{center}% + \par + \vskip 1.5em} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\url} +% \begin{macrocode} +\providecommand\url{\texttt} +% \end{macrocode} +% \end{macro} % % \begin{macrocode} \def\task#1#2{} |