From e8e9e5d812460c19d276d9449a1792e2b384eb20 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sun, 30 Jun 2013 10:44:21 +0100 Subject: [PATCH] Whitespace cleanup. --- Makefile.m4 | 4 ++-- at.dtx | 8 ++++---- cmtt.dtx | 2 +- configure.in | 4 ++-- crypto.dtx | 10 +++++----- exercise.dtx | 8 ++++---- mdwkey.dtx | 10 +++++----- mdwmath.dtx | 6 +++--- mdwtab.dtx | 18 +++++++++--------- mdwthm.dtx | 4 ++-- mdwtools.tex | 2 +- poetry.dtx | 4 ++-- slowbox.dtx | 14 +++++++------- sverb.dtx | 6 +++--- syntax.dtx | 14 +++++++------- 15 files changed, 57 insertions(+), 57 deletions(-) diff --git a/Makefile.m4 b/Makefile.m4 index 7712571..939f342 100644 --- a/Makefile.m4 +++ b/Makefile.m4 @@ -13,12 +13,12 @@ ## 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. -## +## ## mdwtools 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 mdwtools; if not, write to the Free Software Foundation, ## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. diff --git a/at.dtx b/at.dtx index 77bc1e6..b8a9251 100644 --- a/at.dtx +++ b/at.dtx @@ -122,7 +122,7 @@ % % \DescribeMacro{\atdef} % For \TeX\ hackers, the |\atdef| command defines @-commands using a syntax -% similar to \TeX's built-in |\def|. +% similar to \TeX's built-in |\def|. % % As an example, the following command makes @.{"@/""/"} write its % argument \ in italics: @@ -271,7 +271,7 @@ {\at@ifcat 0% {\at@ifletter@i{#1}{#2}}% {#2}% - }% + }% } % \end{macrocode} % @@ -585,8 +585,8 @@ % % \begin{macro}{\at@protect} % -% Since we gobbled the |\fi| from the above, we must put that back. We then -% need to do things which are more complicated. If |\protect| is behaving +% Since we gobbled the |\fi| from the above, we must put that back. We then +% need to do things which are more complicated. If |\protect| is behaving % like |\string|, then we do one sort of protection. Otherwise, we assume % that |\protect| is being like |\noexpand|. % diff --git a/cmtt.dtx b/cmtt.dtx index 039a927..45b4be0 100644 --- a/cmtt.dtx +++ b/cmtt.dtx @@ -332,7 +332,7 @@ \def\mtt@chars{% \do\#\#% \do\%\%% - \do\&\&% + \do\&\&% \do\^\^% \do\~\~% \do\'\textquotesingl% diff --git a/configure.in b/configure.in index 43b9a10..b81918f 100644 --- a/configure.in +++ b/configure.in @@ -13,12 +13,12 @@ dnl mdwtools is free software; you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by dnl the Free Software Foundation; either version 2 of the License, or dnl (at your option) any later version. -dnl +dnl dnl mdwtools is distributed in the hope that it will be useful, dnl but WITHOUT ANY WARRANTY; without even the implied warranty of dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the dnl GNU General Public License for more details. -dnl +dnl dnl You should have received a copy of the GNU General Public License dnl along with mdwtools; if not, write to the Free Software Foundation, dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. diff --git a/crypto.dtx b/crypto.dtx index 6c622a1..a966f69 100644 --- a/crypto.dtx +++ b/crypto.dtx @@ -17,12 +17,12 @@ %% 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. @@ -180,7 +180,7 @@ % \DescribeMacro\Game % \begin{synshorts} % Some standard `things' are provided: "\\Succ{""}{""}", -% "\\Adv{""}{""}", "\\InSec{""}", +% "\\Adv{""}{""}", "\\InSec{""}", % "\\Expt{""}{""}", and "\\Game{""}{""}". % \end{synshorts} % @@ -199,12 +199,12 @@ % \syntax{"\\Perm{""}"} typeset $\Func{l}{L}$ and $\Perm{L}$ respectively, % and are intended to denote the sets of all functions $F\colon \{0, 1\}^l % \to \{0, 1\}^L$ and all permutations $\Pi\colon \{0, 1\}^L \to \{0, 1\}^L$ -% respectively. +% respectively. % % \DescribeMacro\PKCS % Finally, the |\PKCS| macro typesets `\PKCS{$n$}', allowing you to name RSA % Security Inc.'s Public Key Cryptography Standards in a relatively nice way. -% +% % \implementation % % diff --git a/exercise.dtx b/exercise.dtx index 1b359f0..41464b5 100644 --- a/exercise.dtx +++ b/exercise.dtx @@ -17,12 +17,12 @@ %% 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. @@ -215,7 +215,7 @@ % If you don't give a file extension, then |.ans| is appended automatically. % % \implementation -% +% % %^^A------------------------------------------------------------------------- % \section{Implementation} @@ -517,7 +517,7 @@ % % The \env{parlist} environment is a trimmed-down version of a normal list. % We todge the |\item| command, make |\list| and |\trivlist| make errors, and -% do various normal list things. +% do various normal list things. % % \begin{macrocode} \def\parlist#1#2{% diff --git a/mdwkey.dtx b/mdwkey.dtx index a3a7bf3..3e37ac4 100644 --- a/mdwkey.dtx +++ b/mdwkey.dtx @@ -89,7 +89,7 @@ % Examples: % \begin{itemize} \synshorts % \item "foo = bar" is a key-value pair. The key is `foo' and the value is -% `bar'. +% `bar'. % \item `{foo = bar}' is a tag. The key is `foo = bar'. % \item `foo = { bar }' is a key-value pair. The key is `foo' and % the value is ` bar ' (with the leading and trailing spaces). @@ -115,15 +115,15 @@ % is given a value: the value is available as "#1" in . % \item "\\mkdef{""}{""}[""]{""}" is the same, % but additionally if is found as a tag, then treat it as if we found -% "={""}" instead. +% "={""}" instead. % \item "\\mkdef{""}{""}*{""}" will perform when -% is found as a tag. +% is found as a tag. % \item "\\mkdef*{""}{""}" will perform when an unknown % key (one for which there is no specific definition in this group) is % given a value: the key is available as "#1" and the value as "#2" in -% . +% . % \item "\\mkdef*{""}[""]{""}" is the same, but -% additionally if an unknown key is found as a tag then treat it as if +% additionally if an unknown key is found as a tag then treat it as if % it had been assigned the value instead. % \item "\\mkdef*{""}*{""}" will perform when an % unknown key is found as a tag: the key is available as "#1" in . diff --git a/mdwmath.dtx b/mdwmath.dtx index 01be386..409f1a5 100644 --- a/mdwmath.dtx +++ b/mdwmath.dtx @@ -120,7 +120,7 @@ % symbols missing. Here they are, in all their glory: % \begin{center} \unverb\| \begin{tabular}{cl|cl|cl} % $\&$ & "\&" & $\bitor$ & "\bitor" & $\dbland$ & "\dbland" \\ -% $\bitand$ & "\bitand" & $\dblor$ & "\dblor" & +% $\bitand$ & "\bitand" & $\dblor$ & "\dblor" & % \end{tabular} \end{center} % % \DescribeMacro\xor @@ -506,7 +506,7 @@ % % Now we need to do some more calculating (don't you hate it?). As far as % Appendix~G is concerned, $\theta=h(y)=0$, because we want no rule over the -% top. +% top. % % \begin{macrocode} \@tempdima\ht\tw@% @@ -1035,7 +1035,7 @@ % \item |\hfill| glue to push the little rule to the end of the line. % \item A little square rule `\qedrule', with some small kerns around it. % \item A glue item to counter the effect of glue added at the paragraph -% boundary. +% boundary. % \end{itemize} % % The vertical mode case is simpler, but less universal. It copes with diff --git a/mdwtab.dtx b/mdwtab.dtx index 6d5cfcf..3c4b419 100644 --- a/mdwtab.dtx +++ b/mdwtab.dtx @@ -553,7 +553,7 @@ % The |*| or optional \ give rule-drawing parameters for the |h| % and |c| subcommands. (Note that you can't pass a |*| or an optional % parameters argument to the |h| or |c| subcommands directly.) See -% section~\ref{sec:ruleparams}. +% section~\ref{sec:ruleparams}. % % The argument works a bit like a table preamble, really. Each letter is a % command. The following are supported: @@ -651,7 +651,7 @@ % then you get an extra thick rule at the bottom of the page. This is a bit % of a problem, because if the rule isn't there in the footer and you get % a break between two rows \emph{without} a rule between them, then the page -% looks very odd. +% looks very odd. % % If you want to do ruled longtables, I'd recommend that you proceed as % follows: @@ -890,7 +890,7 @@ % Note that if you do gobble the |\tab@mkpream|, it's your responsibility to % insert another one at the very end of your macro's expansion (so that % further preamble characters can be read). -% +% % The replacement text is inserted directly. It's normal to insert preamble % elements here. There are several to choose from: % @@ -1082,7 +1082,7 @@ % \[ "*" \] % \[ "[" "]" \] % "{" "}" -% \[ "[" "]" +% \[ "[" "]" % \[ "[" "]" \] \] % \]] % \end{grammar} @@ -1946,14 +1946,14 @@ % % % \subsection{Parser states} -% +% % Now we start on the parser. It's really simple, deep down. We progress % from state to state, extracting tokens from the preamble and building % command names from them. Each command calls one of the element-building % routines, which works out which state it should be in. We go through each % of the states in between (see later) doing default things for the ones we % missed out. -% +% % Anyway, here's some symbolic names for the states. It makes my life % easier. % @@ -3787,7 +3787,7 @@ % % \begin{macro}{\tab@dohline} % -% This is where hlines actually get drawn. +% This is where hlines actually get drawn. % Drawing lines is more awkward than it used to be, particularly in unboxed % tables. It used to be a case simply of saying |\noalign{\hrule}|. % However, since unboxed tables are actually much wider than they look, this @@ -4885,7 +4885,7 @@ \if@fleqn% \eqaopenskip\mathindent% \splitleft\mathindent\relax% - \splitright\mathindent\@minus\mathindent\relax% + \splitright\mathindent\@minus\mathindent\relax% \else% \eqaopenskip\@centering% \splitleft2.5em\@minus2.5em% @@ -5147,7 +5147,7 @@ % \end{environment} % \end{environment} % -% Now we can define the column types. +% Now we can define the column types. % % \begin{macrocode} \colpush{eqnarray} diff --git a/mdwthm.dtx b/mdwthm.dtx index 63baaea..d3df627 100644 --- a/mdwthm.dtx +++ b/mdwthm.dtx @@ -17,12 +17,12 @@ %% 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. diff --git a/mdwtools.tex b/mdwtools.tex index 38287a9..fce377c 100644 --- a/mdwtools.tex +++ b/mdwtools.tex @@ -129,7 +129,7 @@ % everything works. It will automatically read in the licence text (from % |gpl.tex|, and wraps some other things up. % -% +% % \subsection{Other commands} % % The |mdwtools.tex| file includes the \package{syntax} and \package{sverb} diff --git a/poetry.dtx b/poetry.dtx index cfd0282..314760e 100644 --- a/poetry.dtx +++ b/poetry.dtx @@ -360,7 +360,7 @@ \newif\ifpoem@long % \end{macrocode} % -% Lastly, a skip register. This is the glue on the left hand side of a +% Lastly, a skip register. This is the glue on the left hand side of a % poem. It should be |\@centering| to center the poem horizontally, or % something rigid and nonzero to left-align. % @@ -556,7 +556,7 @@ % % \begin{environment}{xpoem} % -% The \env{xpoem} environment is where the nastiness really starts. +% The \env{xpoem} environment is where the nastiness really starts. % Actually, the early bit is simple enough. % % This environment has a funny name, so that users and style designers can diff --git a/slowbox.dtx b/slowbox.dtx index ae32bbf..14d420f 100644 --- a/slowbox.dtx +++ b/slowbox.dtx @@ -17,12 +17,12 @@ %% 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. @@ -83,7 +83,7 @@ % mode, everything happens normally; in \opt{hide} mode, slow boxes are % replaced by frames. In order for the package to know the sizes of all of % your boxes, you must first run through once in \opt{show} mode. -% Thereafter, all should be well. +% Thereafter, all should be well. % % \DescribeEnv{slowbox} % In \opt{show} mode, the \env{slowbox} environment typesets its contents in @@ -139,7 +139,7 @@ % \ is performed, and \ is done afterwards. The % environments so created have \env{$*$}-variants which ignore the current % mode, just like \env{slowbox$*$}. They also gather an additional \ -% argument, which you don't have to bother with. +% argument, which you don't have to bother with. % % \DescribeMacro\doslowbox % Finally, for commands, there's \syntax{"\\doslowbox{""}"\* @@ -282,7 +282,7 @@ } \def\sb@hidden@i#1#2#3#4{% \frameonly{#1}{#2}{#3}{Omitted \texttt{#4}}% - \immediate\write\@auxout{\string\sb@def{#4}{#1}{#2}{#3}}% + \immediate\write\@auxout{\string\sb@def{#4}{#1}{#2}{#3}}% } % \end{macrocode} % \end{macro} @@ -315,7 +315,7 @@ }% \dimen@#3\advance\dimen@-\dp\z@% \setbox\z@\hbox{\lower\dimen@\box\z@}% - \leavevmode\box\z@% + \leavevmode\box\z@% } % \end{macrocode} % \end{macro} @@ -372,4 +372,4 @@ % \end{macrocode} % % \Finale -\endinput \ No newline at end of file +\endinput diff --git a/sverb.dtx b/sverb.dtx index d46e842..8432a04 100644 --- a/sverb.dtx +++ b/sverb.dtx @@ -598,7 +598,7 @@ % % \begin{macrocode} \def\verbinput{\listinghook\@ifstar{\verbinput@\@input}{\verbinput@\input}} -\def\verbinput@#1#2{% +\def\verbinput@#1#2{% \sv@startlisting% \setbox\z@\hbox\bgroup% #1{#2}% @@ -1476,7 +1476,7 @@ % whitespace on the line. % % \begin{macrocode} -\dimendef\svsplit@remain=1 +\dimendef\svsplit@remain=1 \dimendef\svsplit@indent=2 % \end{macrocode} % @@ -1598,7 +1598,7 @@ % \end{macrocode} % % Otherwise it's a normal character. If there's not enough space then force -% a break. +% a break. % % \begin{macrocode} \else% diff --git a/syntax.dtx b/syntax.dtx index 1226067..c6f04db 100644 --- a/syntax.dtx +++ b/syntax.dtx @@ -172,7 +172,7 @@ % \begin{listing} %\def\<#1>{\synt{#1}} % \end{listing} -% to allow you to type "\\<"">" as an alternative to +% to allow you to type "\\<"">" as an alternative to % "\\synt{""}". % % \DescribeMacro\lit @@ -290,7 +290,7 @@ % \DescribeMacro{\[[} % \DescribeMacro{\]]} % You can use syntax diagrams (see below) instead of a straight piece of BNF -% by enclosing it in a |\[[| \dots |\]]| pair. Note that you can't mix +% by enclosing it in a |\[[| \dots |\]]| pair. Note that you can't mix % syntax diagrams and BNF in a production rule, and you will get something % which looks very strange if you try. % @@ -445,7 +445,7 @@ % % \DescribeMacro\tok % You can also include text using the |\tok| command. The argument of this -% command is typeset in \LaTeX's LR~mode and inserted into the diagram. +% command is typeset in \LaTeX's LR~mode and inserted into the diagram. % Syntax abbreviations are allowed within the argument, so you can, for % example, include textual descriptions like % \begin{listing} @@ -473,7 +473,7 @@ % % Note that items on the backwards arrow of a \env{rep} construction should % be displayed \emph{backwards}. You must put the individual items in -% reverse order when building this part of your diagrams. \syn\ will +% reverse order when building this part of your diagrams. \syn\ will % correctly reverse the arrows on \env{rep} structures, but apart from % this, you must cope on your own. You are recommended to keep these parts % of your diagrams as simple as possible to avoid confusing readers. @@ -604,7 +604,7 @@ % % You can also alter the appearance of \env{stack}s and \env{rep}s by using % their optional positioning arguments. By default, \env{stack}s descend -% below the main line of the diagram, and \env{rep}s extend above it. +% below the main line of the diagram, and \env{rep}s extend above it. % Specifying an optional argument of |[b]| for either environment reverses % this, putting \env{stack}s above and \env{rep}s below the line. % @@ -1132,7 +1132,7 @@ % characters through. By default, we re-enable |\|, and make `\verb*" "' % typeset some space glue, rather than a space character. A macro % `\verb*"\ "' is defined to actually print a space character, which yield -% `\verb*" "' in the `|\tt|' font. +% `\verb*" "' in the `|\tt|' font. % % Finally, it defines a |\ch| command, which, given a single-character % control sequence as its argument, typesets the character. This is useful, @@ -1298,7 +1298,7 @@ \addspecial\|% \addspecial\"% \catcode`\|\active% - \catcode`\<\active% + \catcode`\<\active% \catcode`\"\active% \catcode`\`\active% } -- 2.11.0