mdwtools.ins 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. %
  2. % $Id$
  3. %
  4. % Installer for the mdwtools packages
  5. %
  6. % (c) 1996 Mark Wooding
  7. %
  8. %----- Revision history -----------------------------------------------------
  9. %
  10. % $Log$
  11. % Revision 1.1 1998-09-21 10:19:01 michael
  12. % Initial implementation
  13. %
  14. % Revision 1.3 1996/11/19 20:57:26 mdw
  15. % Entered into RCS
  16. %
  17. % --- Licence note ---
  18. %
  19. % mdwtools installer
  20. % Copyright (c) 1996 Mark Wooding
  21. %
  22. % This program is free software; you can redistribute it and/or modify
  23. % it under the terms of the GNU General Public License as published by
  24. % the Free Software Foundation; either version 2 of the License, or
  25. % (at your option) any later version.
  26. %
  27. % This program is distributed in the hope that it will be useful,
  28. % but WITHOUT ANY WARRANTY; without even the implied warranty of
  29. % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  30. % GNU General Public License for more details.
  31. %
  32. % You should have received a copy of the GNU General Public License
  33. % along with this program; if not, write to the Free Software
  34. % Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  35. % --- Sort out how to do all this ---
  36. \def\batchfile{mdwtools.ins}
  37. \input docstrip
  38. \keepsilent
  39. \preamble
  40. IMPORTANT NOTICE
  41. \endpreamble
  42. { % --- This is a group so that docstrip \reads it all in one go ---
  43. \ifx\generate\mdwxxnotdef
  44. \gdef\mdwgen#1{#1}
  45. \gdef\mdwf#1#2{\generateFile{#1}{n}{#2}}
  46. \gdef\needed#1{}
  47. \else
  48. \global\let\mdwgen\generate
  49. \global\def\mdwf{\file}
  50. \global\askforoverwritefalse
  51. \fi
  52. }
  53. \mdwgen{\mdwf {at.sty} {\from {at.dtx} {package}}
  54. \mdwf {mdwlist.sty} {\from {mdwlist.dtx} {package}}
  55. \mdwf {mdwtab.sty} {\from {mdwtab.dtx} {mdwtab}
  56. \needed{syntax.dtx}
  57. \from {footnote.dtx} {macro}
  58. \from {doafter.dtx} {macro}}
  59. \mdwf {syntax.sty} {\from {syntax.dtx} {package}
  60. \from {doafter.dtx} {macro}}
  61. \mdwf {mathenv.sty} {\from {mdwtab.dtx} {mathenv}}
  62. \mdwf {mdwmath.sty} {\from {mdwmath.dtx} {package}}
  63. \mdwf {sverb.sty} {\from {sverb.dtx} {package}}
  64. \mdwf {footnote.sty} {\from {footnote.dtx} {package}}
  65. \mdwf {doafter.sty} {\from {doafter.dtx} {package,latex2e}}
  66. \mdwf {doafter.tex} {\from {doafter.dtx} {package,plain}}
  67. \mdwf {cmtt.sty} {\from {cmtt.dtx} {sty}}
  68. \mdwf {mTTenc.def} {\from {cmtt.dtx} {def}}
  69. \mdwf {mTTcmtt.fd} {\from {cmtt.dtx} {fd}}
  70. }
  71. \Msg{Done!}