mdwtools.ins: Spring clean.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 7 Sep 2020 01:14:21 +0000 (02:14 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 7 Sep 2020 16:50:20 +0000 (17:50 +0100)
Bring the comment style up to current standards.  Sort the list of files
by input as much as is possible; this requires a certain amount of
dexterity with the `docstrip' ordering machinery.

mdwtools.ins

index 9d9340a..76016a2 100644 (file)
@@ -1,31 +1,27 @@
-%
-% mdwtools.ins
-%
-% Installer for the mdwtools packages
-%
-% (c) 1996 Mark Wooding
-%
-
-% --- Licence note ---
-%
-% mdwtools installer
-% Copyright (c) 1996 Mark Wooding
-%
-% 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., 675 Mass Ave, Cambridge, MA 02139, USA.
+%%% -*-tex-*-
+%%%
+%%% Installer for the `mdwtools' packages
+%%%
+%%% (c) 1996 Mark Wooding
+%%%
 
-% --- Sort out how to do all this ---
+%%%----- Licensing notice ---------------------------------------------------
+%%%
+%%% This file is part of the `mdwtools' LaTeX package collection.
+%%%
+%%% `mdwtools' 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.
+%%%
+%%% `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.
 
 \def\batchfile{mdwtools.ins}
 \input docstrip
@@ -36,8 +32,7 @@
 IMPORTANT NOTICE
 \endpreamble
 
-{ % --- This is a group so that docstrip \reads it all in one go ---
-
+{ %% This is a group so that docstrip \reads it all in one go.
   \ifx\generate\mdwxxnotdef
     \gdef\mdwgen#1{#1}
     \gdef\mdwf#1#2{\generateFile{#1}{n}{#2}}
@@ -47,42 +42,60 @@ IMPORTANT NOTICE
     \global\def\mdwf{\file}
     \global\askforoverwritefalse
   \fi
-
 }
 
 \mdwgen{\mdwf {at.sty}          {\from {at.dtx}       {package}}
-        \mdwf {mdwlist.sty}     {\from {mdwlist.dtx}  {package}}
-        \mdwf {mdwtab.sty}      {\from {mdwtab.dtx}   {mdwtab}
+%
+        \mdwf {centre.sty}      {\from {centre.dtx}   {package}}
+%
+        \mdwf {cmtt.sty}        {\from {cmtt.dtx}     {sty}}
+        \mdwf {mttenc.def}      {\from {cmtt.dtx}     {def}}
+        \mdwf {mttcmtt.fd}      {\from {cmtt.dtx}     {fd}}
+%
+        \mdwf {colour.sty}      {\from {colour.dtx}   {package}}
+%
+        \mdwf {crypto.sty}      {\from {crypto.dtx}   {package}}
+%
+        \mdwf {doafter.sty}     {\needed{mdwtab.dtx}
+                                 \needed{footnote.dtx}
                                  \needed{syntax.dtx}
-                                 \from {footnote.dtx} {macro}
-                                 \from {doafter.dtx}  {macro}}
+                                 \from {doafter.dtx}  {package,latex2e}}
+        \mdwf {doafter.tex}     {\from {doafter.dtx}  {package,plain}}
+%
+        \mdwf {exercise.sty}    {\from {exercise.dtx} {package}}
+%
+        \mdwf {footnote.sty}    {\from {footnote.dtx} {package}}
+%
         \mdwf {mdwkey.sty}      {\from {mdwkey.dtx}   {package}}
         \mdwf {mdwkey.tex}      {\from {mdwkey.dtx}   {package,plain}}
-        \mdwf {syntax.sty}      {\from {syntax.dtx}   {package}
+%
+        \mdwf {mdwlist.sty}     {\from {mdwlist.dtx}  {package}}
+%
+        \mdwf {mdwmath.sty}     {\from {mdwmath.dtx}  {package}}
+%
+        \mdwf {mdwref.sty}      {\from {mdwref.dtx}   {package}}
+%
+        \mdwf {mdwtab.sty}      {\from {mdwtab.dtx}   {mdwtab}
+                                 \from {footnote.dtx} {macro}
                                  \from {doafter.dtx}  {macro}}
+        \mdwf {mathenv.sty}     {\from {mdwtab.dtx}   {mathenv}}
         \mdwf {mtcolor.sty}     {\from {mdwtab.dtx}   {color}}
         \mdwf {mtcolour.sty}    {\from {mdwtab.dtx}   {colour}}
-        \mdwf {colour.sty}      {\from {colour.dtx}   {package}}
-        \mdwf {centre.sty}      {\from {centre.dtx}   {package}}
-        \mdwf {mathenv.sty}     {\from {mdwtab.dtx}   {mathenv}}
-        \mdwf {mdwmath.sty}     {\from {mdwmath.dtx}  {package}}
+%
+        \mdwf {mdwthm.sty}      {\from {mdwthm.dtx}   {package}}
+        \mdwf {mdwmargin.thm}   {\from {mdwthm.dtx}   {thmstyle}}
+%
+        \mdwf {poetry.sty}      {\from {poetry.dtx}   {package}}
+%
+        \mdwf {slowbox.sty}     {\from {slowbox.dtx}  {package}}
+%
         \mdwf {sverb.sty}       {\from {sverb.dtx}    {package}}
         \mdwf {svcolor.sty}     {\from {sverb.dtx}    {color}}
         \mdwf {svcolour.sty}    {\from {sverb.dtx}    {colour}}
         \mdwf {svsplit.sty}     {\from {sverb.dtx}    {split}}
-        \mdwf {footnote.sty}    {\from {footnote.dtx} {package}}
-        \mdwf {doafter.sty}     {\from {doafter.dtx}  {package,latex2e}}
-        \mdwf {doafter.tex}     {\from {doafter.dtx}  {package,plain}}
-        \mdwf {cmtt.sty}        {\from {cmtt.dtx}     {sty}}
-        \mdwf {mttenc.def}      {\from {cmtt.dtx}     {def}}
-        \mdwf {mttcmtt.fd}      {\from {cmtt.dtx}     {fd}}
-        \mdwf {crypto.sty}      {\from {crypto.dtx}   {package}}
-        \mdwf {mdwthm.sty}      {\from {mdwthm.dtx}   {package}}
-        \mdwf {exercise.sty}    {\from {exercise.dtx} {package}}
-        \mdwf {slowbox.sty}     {\from {slowbox.dtx}  {package}}
-        \mdwf {mdwmargin.thm}   {\from {mdwthm.dtx}   {thmstyle}}
-        \mdwf {mdwref.sty}      {\from {mdwref.dtx}   {package}}
-        \mdwf {poetry.sty}      {\from {poetry.dtx}   {package}}
+%
+        \mdwf {syntax.sty}      {\from {syntax.dtx}   {package}
+                                 \from {doafter.dtx}  {macro}}
 }
 
 \Msg{Done!}