| 1 | %%% -*-tex-*- |
| 2 | %%% |
| 3 | %%% Installer for the `mdwfonts' package |
| 4 | %%% |
| 5 | %%% (c) 1996 Mark Wooding |
| 6 | %%% |
| 7 | |
| 8 | %%%----- Licensing notice --------------------------------------------------- |
| 9 | %%% |
| 10 | %%% This file is part of the `mdwfonts' LaTeX package collection. |
| 11 | %%% |
| 12 | %%% `mdwfonts' is free software: you can redistribute it and/or modify it |
| 13 | %%% under the terms of the GNU General Public License as published by the |
| 14 | %%% Free Software Foundation; either version 2 of the License, or (at your |
| 15 | %%% option) any later version. |
| 16 | %%% |
| 17 | %%% `mdwfonts' is distributed in the hope that it will be useful, but |
| 18 | %%% WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 | %%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 20 | %%% General Public License for more details. |
| 21 | %%% |
| 22 | %%% You should have received a copy of the GNU General Public License |
| 23 | %%% along with `mdwfonts'. If not, write to the Free Software Foundation, |
| 24 | %%% Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 25 | |
| 26 | \def\batchfile{mdwfonts.ins} |
| 27 | \input docstrip |
| 28 | \keepsilent |
| 29 | |
| 30 | \preamble |
| 31 | |
| 32 | IMPORTANT NOTICE |
| 33 | \endpreamble |
| 34 | |
| 35 | { %% This is a group so that docstrip \reads it all in one go. |
| 36 | \ifx\generate\mdwxxnotdef |
| 37 | \gdef\mdwgen#1{#1} |
| 38 | \gdef\mdwf#1#2{\generateFile{#1}{n}{#2}} |
| 39 | \gdef\needed#1{} |
| 40 | \else |
| 41 | \global\let\mdwgen\generate |
| 42 | \global\def\mdwf{\file} |
| 43 | \global\askforoverwritefalse |
| 44 | \fi |
| 45 | } |
| 46 | |
| 47 | \mdwgen{\mdwf {mdwfonts.sty} {\from{mdwfonts.dtx}{sty}} |
| 48 | \mdwf {mdwfonts.tex} {\from{mdwfonts.dtx}{fontinst}} |
| 49 | \mdwf {ot1tt.etx} {\from{mdwfonts.dtx}{ttetx}} |
| 50 | \mdwf {ot1ctt.etx} {\from{mdwfonts.dtx}{cttetx}} |
| 51 | \mdwf {mttpcr.fd} {\from{mdwfonts.dtx}{mttpcr}}} |
| 52 | |
| 53 | \nopreamble |
| 54 | \nopostamble |
| 55 | \mdwgen{\mdwf {mdwfonts.map} {\from{mdwfonts.dtx}{fontmap}}} |
| 56 | |
| 57 | \Msg{Done!} |