chiark / gitweb /
strayman.dtx (\@makecaption): Reset rather than unbox wide captions.
[strayman] / strayman.ins
1 %%% -*-tex-*-
2 %%%
3 %%% Installer for the `strayman' document class
4 %%%
5 %%% (c) 1996 Mark Wooding
6 %%%
7
8 %%%----- Licensing notice ---------------------------------------------------
9 %%%
10 %%% This file is part of the `strayman' LaTeX package collection.
11 %%%
12 %%% `strayman' 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 %%% `strayman' 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 `strayman'.  If not, write to the Free Software Foundation,
24 %%% Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25
26 \def\batchfile{strayman.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 {strayman.cls}    {\from{strayman.dtx}  {strayman}}
48         \mdwf {strayman.8pt}    {\from{strayman.dtx}  {8pt}}
49         \mdwf {strayman.9pt}    {\from{strayman.dtx}  {9pt}}
50         \mdwf {strayman.10pt}   {\from{strayman.dtx}  {10pt}}
51         \mdwf {strayman.11pt}   {\from{strayman.dtx}  {11pt}}
52         \mdwf {strayman.12pt}   {\from{strayman.dtx}  {12pt}}
53         \mdwf {strayman.text}   {\from{strayman.dtx}  {text}}
54 }
55
56 \Msg{Done!}