diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/bigfoot/suffix.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/bigfoot/suffix.dtx | 96 |
1 files changed, 40 insertions, 56 deletions
diff --git a/Master/texmf-dist/source/latex/bigfoot/suffix.dtx b/Master/texmf-dist/source/latex/bigfoot/suffix.dtx index 29be06d2107..04f2e9a868a 100644 --- a/Master/texmf-dist/source/latex/bigfoot/suffix.dtx +++ b/Master/texmf-dist/source/latex/bigfoot/suffix.dtx @@ -1,26 +1,25 @@ -%%\iffalse -%% suffix.dtx for defining variant commands. -%% Part of the critical bundle around bigfoot. -%% Copyright (C) 2004 David Kastrup +% \iffalse %% -%% This program is free software; you can redistribute it and/or modify -%% it under the terms of the GNU General Public License as published by -%% the Free Software Foundation; either version 2 of the License, or -%% (at your option) any later version. +%% perpage is part of the bigfoot bundle for critical typesetting +%% Copyright 2002, 03, 04, 05, 06 David Kastrup <dak@gnu.org> %% -%% This program is distributed in the hope that it will be useful, -%% but WITHOUT ANY WARRANTY; without even the implied warranty of -%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -%% GNU General Public License for more details. -%% -%% You should have received a copy of the GNU General Public License -%% along with this program; if not, write to the -%% Free Software Foundation, Inc., 59 Temple Place, Suite 330, -%% Boston, MA 02111-1307 USA -%%\fi -% \CheckSum{233} +% This program is free software; you can redistribute it and/or modify +% it under the terms of the GNU General Public License as published by +% the Free Software Foundation; either version 2 of the License, or +% (at your option) any later version. +% +% This program is distributed in the hope that it will be useful, +% but WITHOUT ANY WARRANTY; without even the implied warranty of +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +% GNU General Public License for more details. +% +% You should have received a copy of the GNU General Public License +% along with this program; if not, write to the Free Software +% Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +% \fi +% \CheckSum{206} % \GetFileInfo{suffix.sty} -% \author{David Kastrup\thanks{\href{mailto:dak@gnu.org}^^A +% \author{David Kastrup\thanks{\href{mailto:dak@gnu.org} % {Email: \texttt{dak@gnu.org}}}} % \title{The \texttt{suffix} Package\\Version \fileversion} % \date{\filedate} @@ -78,18 +77,29 @@ % |\csname|\cmd{\NoSuffixName}\meta{macro}|\endcsname| % \end{quote} % \StopEventually{} +% \section{The driver file for the documentation} +% Installation is done by |bigfoot.ins|, so look there for more +% information for that. Here comes the documentation driver. +% \begin{macrocode} +%<*driver> +\documentclass{ltxdoc} +\usepackage{hyperref} +\usepackage{suffix} +\begin{document} +\OnlyDescription +%<driver> \AlsoImplementation +\DocInput{suffix.dtx} +\end{document} +%</driver> +% \end{macrocode} % \section{Implementation} % First we announce the package and check for e\TeX~2. % \begin{macrocode} %<*style> -\def\next$#1:#2${#2} -{\catcode`\-\active \def-{.} - \xdef\reserved@a{\expandafter\@gobble\next$Name: $\@empty}} \def\next$#1: #2 #3${#2} -\ifx\reserved@a\@empty \gdef\reserved@a{CVS-\next$Revision: 1.2 $}\fi \edef\next{\noexpand - \ProvidesPackage{suffix}[\next$Date: 2004/02/19 19:49:21 $ - \reserved@a\space]} + \ProvidesPackage{suffix}[\next$Date: 2006/07/15 21:24:56 $ + \next$Revision: 1.5 $ Variant command support]} \next \ifcase\ifx\eTeXversion\@undefined \@ne\fi \ifnum\eTeXversion<\tw@ \@ne\fi\z@ @@ -100,8 +110,8 @@ % \end{macrocode} % \begin{macro}{\WithSuffix} % Then we define the \cmd{\WithSuffix} command. We use -% \cmd{\@temptokena} to collect prefixes and let \cmd{\WSF@global} to -% |\global| for global definitions. +% \cmd{\@temptokena} to collect prefixes and let \cmd{\WSF@global} +% to |\global| for global definitions. % % \begin{macrocode} \def\WithSuffix{\@temptokena{}\let\WSF@global\relax @@ -219,35 +229,9 @@ %</style> % \end{macrocode} %\end{macro} -% \section{Various driver files} -% The installer, in case it is missing. If it is to be used via -% |make|, we don't specify an installation path, since -% \begin{quote} -% |make install| -% \end{quote} -% is supposed to cater for the installation itself. -% \begin{macrocode} -%<installer> \input docstrip -%<installer&make> \askforoverwritefalse -%<installer> \generate{ -%<installer> \file{suffix.drv}{\from{suffix.dtx}{driver}} -%<installer&!make> \usedir{tex/latex/bigfoot} -%<installer> \file{suffix.sty}{\from{suffix.dtx}{style}} -%<installer> } -%<installer> \endbatchfile -% \end{macrocode} -% And here comes the documentation driver. -% \begin{macrocode} -%<driver> \documentclass{ltxdoc} -%<driver> \usepackage{hyperref} -%<driver> \usepackage{suffix} -%<driver> \begin{document} -%<driver> \DocInput{suffix.dtx} -%<driver> \end{document} -% \end{macrocode} -% \Finale{} +% \Finale % \endinput % Local Variables: -% mode: latex +% mode: doctex % TeX-master: "suffix.drv" % End: |