summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/stex/hwexam/hwexam.ins
blob: fc8f40b09531824046656537276fc749fe312fe6 (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
%%
%% This file generates files required to use the hwexam class.
%% At your command prompt write
%%
%%     latex hwexam.ins
%%
%% Copyright(c) 2010 Michael Kohlhase
%% The development version of this file can be found at
%% $HeadURL: https://svn.kwarc.info/repos/stex-content/sty/hwexam/hwexam.ins $
%%
%% This file is distributed under the terms of the LaTeX Project Public
%% License from CTAN archives in directory  macros/latex/base/lppl.txt.
%% Either version 1.0 or, at your option, any later version.
%%
\input docstrip
\preamble
\endpreamble

%\usedir{tex/latex/listings}
\keepsilent
\askforoverwritefalse

% generate base package
\generate{\file{hwexam.sty}{\from{hwexam.dtx}{package}}}
% and the class
\generate{\file{hwexam.cls}{\from{hwexam.dtx}{cls}}}

\Msg{*}
\Msg{* You probably need to move the files hwexam.{sty,cls} into a directory searched by TeX.}
\Msg{*}
\Msg{* And don't forget to refresh your filename database}
\Msg{* if your TeX distribution uses such a database.}
\Msg{*}

\nopreamble\nopostamble
\generate{\file{hwexam.sty.ltxml}{\from{hwexam.dtx}{ltxml}}}
\generate{\file{hwexam.cls.ltxml}{\from{hwexam.dtx}{ltxml.cls}}}

\Msg{*}
\Msg{* You probably need to move the generated files hwexam.{sty,cls}.ltxml into a directory searched by LaTeXML.}
\Msg{*}

\endbatchfile