summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/wargame/source/wargame.ins
blob: 23ec10e2515a132178441e27efdaea903c4705ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
%% This is file `wargame.ins', the installation file for the
%% `wargame' package.
%%
%% Copyright (C) 2019 Christian Holm.
%%
%% The wargame package 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.
%%
%% The universal package 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 package; if not, write to the Free Software
%% Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
%%

\input docstrip.tex
\keepsilent
\askforoverwritefalse
\declarepreamble\long

Copyright (C) 2019 Christian Holm.

This file is NOT the source for wargame, because almost all comments
have been stripped from it.  It is NOT the preferred form of universal
for making modifications to it.

Therefore you can NOT redistribute and/or modify THIS file.  You can
however redistribute the complete source (wargame.dtx and wargame.ins)
and/or modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2, or (at
your option) any later version.

The wargame package 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 package; if not, write to the 
  Free Software Foundation, Inc., 
  675 Mass Ave, Cambridge, 
  MA 02139, USA.

See the file wargame.dtx for further comments and documentation.

\endpreamble

\declarepreamble\short

Copyright (C) 2019 Christian Holm.

The wargame package 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.

See the file wargame.dtx for further comments and documentation.

\endpreamble

\postamble
Local Variables:
  mode: LaTeX
End:
\endpostamble

\usepreamble\long
\usedir{tex/latex/wargame}
\Msg{***********************************************************}
\Msg{* Generating LaTeX files}
\Msg{***********************************************************}
\generate{%
  \file{wargame.sty} {\from{package.dtx}{package}}
  \file{wgdoc.sty}   {\from{wargame.dtx}{docsty}}
  \file{compat.tex}  {\from{wargame.dtx}{driver,compat}}
  \file{symbols.tex} {\from{wargame.dtx}{driver,symbols}}
  %
  \file{tikzlibrarywargame.util.code.tex}{%
    \from{util/core.dtx}{utils}}
  %
  \file{wgexport.cls}{%
    \from{util/core.dtx}{exportcls}}
  %
  \file{tikzlibrarywargame.hex.code.tex}{
    \from{hex/core.dtx}               {hex}
    \from{hex/coord.dtx}              {hex}
    \from{hex/shape.dtx}              {hex}
    \from{hex/terrain.dtx}            {hex}
    \from{hex/terrain/beach.dtx}      {hex}
    \from{hex/terrain/light_woods.dtx}{hex}
    \from{hex/terrain/woods.dtx}      {hex}
    \from{hex/terrain/swamp.dtx}      {hex}
    \from{hex/terrain/rough.dtx}      {hex}
    \from{hex/terrain/mountains.dtx}  {hex}
    \from{hex/terrain/village.dtx}    {hex}
    \from{hex/terrain/town.dtx}       {hex}
    \from{hex/terrain/city.dtx}       {hex}
    \from{hex/terrain/mountain.dtx}   {hex}
    \from{hex/terrain/tree.dtx}       {hex}
    \from{hex/ridges.dtx}             {hex}
    \from{hex/towns.dtx}              {hex}
    \from{hex/labels.dtx}             {hex}
    \from{hex/extra.dtx}              {hex}
    \from{hex/paths.dtx}              {hex}
    \from{hex/board.dtx}              {hex}}
  %
  \file{tikzlibrarywargame.natoapp6c.code.tex}{
    \from{natoapp6c/core.dtx}           {natoapp6c}
    \from{natoapp6c/frames/base.dtx}    {natoapp6c}
    \from{natoapp6c/frames/friendly.dtx}{natoapp6c}
    \from{natoapp6c/frames/hostile.dtx} {natoapp6c}
    \from{natoapp6c/frames/neutral.dtx} {natoapp6c}
    \from{natoapp6c/frames/unknown.dtx} {natoapp6c}
    \from{natoapp6c/echelon.dtx}        {natoapp6c}
    \from{natoapp6c/text.dtx}           {natoapp6c}
    \from{natoapp6c/shape.dtx}          {natoapp6c}
    \from{natoapp6c/util.dtx}           {natoapp6c}
    \from{natoapp6c/weaponry.dtx}       {natoapp6c}
    \from{natoapp6c/symbols.dtx}        {natoapp6c}
    \from{natoapp6c/list.dtx}           {natoapp6c}}
  %
  \file{tikzlibrarywargame.chit.code.tex}{
    \from{chit/core.dtx}    {chit}
    \from{chit/shape.dtx}   {chit}
    \from{chit/elements.dtx}{chit}
    \from{chit/misc.dtx}    {chit}}
  %
  \file{wargame.beach.tex}	{\from{hex/tile.dtx}{tile,beach}}
  \file{wargame.city.tex}	{\from{hex/tile.dtx}{tile,city}}
  \file{wargame.light_woods.tex}{\from{hex/tile.dtx}{tile,lightwoods}}
  \file{wargame.mountains.tex}	{\from{hex/tile.dtx}{tile,mountains}}
  \file{wargame.rough.tex}	{\from{hex/tile.dtx}{tile,rough}}
  \file{wargame.swamp.tex}	{\from{hex/tile.dtx}{tile,swamp}}
  \file{wargame.town.tex}	{\from{hex/tile.dtx}{tile,town}}
  \file{wargame.village.tex}	{\from{hex/tile.dtx}{tile,village}}
  \file{wargame.woods.tex}	{\from{hex/tile.dtx}{tile,woods}}
  %
  \file{testmap.tex}    {\from{tests/map.dtx}{testmap}}
  \file{testchits.tex}  {\from{tests/chits.dtx}{testchits}}
  %
  \file{cmp_air.tex}	     {\from{natoapp6c/compat/air.dtx}	      {cmp}}
  \file{cmp_missile.tex}     {\from{natoapp6c/compat/missile.dtx}     {cmp}}
  \file{cmp_land.tex}	     {\from{natoapp6c/compat/land.dtx}        {cmp}}
  \file{cmp_equipment.tex}   {\from{natoapp6c/compat/equipment.dtx}   {cmp}}
  \file{cmp_installation.tex}{\from{natoapp6c/compat/installation.dtx}{cmp}}
  \file{cmp_seasurface.tex}  {\from{natoapp6c/compat/seasurface.dtx}  {cmp}}
  \file{cmp_subsurface.tex}  {\from{natoapp6c/compat/subsurface.dtx}  {cmp}}
  \file{cmp_seamine.tex}     {\from{natoapp6c/compat/seamine.dtx}     {cmp}}
  \file{cmp_space.tex}	     {\from{natoapp6c/compat/space.dtx}       {cmp}}
  \file{cmp_activity.tex}    {\from{natoapp6c/compat/activity.dtx}    {cmp}}
  %
}

\Msg{***********************************************************}
\Msg{* To finish the installation you have to move the files}
\Msg{* `wargame.sty' `*.code.tex' into a directory searched by TeX.}
\Msg{*}
\Msg{* To produce the documentation do:}
\Msg{*\space\space latex wargame.dtx}
\Msg{*\space\space latex wargame.dtx}
\Msg{*\space\space makeindex -s gind -o wargame.ind wargame.idx}
\Msg{*\space\space makeindex -s gglo -o wargame.gls wargame.glo}
\Msg{*\space\space latex wargame.dtx}
\Msg{*\space\space latex wargame.dtx}
\Msg{* or whatever appropiate for your system.}
\Msg{***********************************************************}
\endbatchfile

%% Local Variables:
%%   mode: docTeX
%% End: