%%
%% Copyright (C) 2017- by Chu Yanshuo <yanshuoc@gmail.com>
%%
%% This file is part of the hithesis package project.
%% ---------------------------------------------------
%%
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3a
%% of this license or (at your option) any later version.
%% The latest version of this license is in:
%%
%% http://www.latex-project.org/lppl.txt
%%
%% and version 1.3a or later is part of all distributions of LaTeX
%% version 2004/10/01 or later.
%%

\input docstrip

\askforoverwritefalse
%\askonceonly
\showprogress
\keepsilent

\usedir{tex/latex/hithesis}

\preamble

This is a generated file.

Copyright (C) 2017-\the\year by Chu Yanshuo <yanshuoc@gmail.com>

This file may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3a
of this license or (at your option) any later version.
The latest version of this license is in:

http://www.latex-project.org/lppl.txt

and version 1.3a or later is part of all distributions of LaTeX
version 2004/10/01 or later.

To produce the documentation run the original source files ending with `.dtx'
through LaTeX.

\endpreamble

\declarepreamble\cfgpreamble

This is a generated file.

Copyright (C) 2017-\the\year by Chu Yanshuo <yanshuoc@gmail.com>

This file may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3a
of this license or (at your option) any later version.
The latest version of this license is in:

http://www.latex-project.org/lppl.txt

and version 1.3a or later is part of all distributions of LaTeX
version 2004/10/01 or later.

This is the configuration file of the hithesis package with LaTeX2e.

\endpreamble
\declarepreamble\istpreamble

This is a generated file.

Copyright (C) 2017-\the\year by Chu Yanshuo <yanshuoc@gmail.com>

This file may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3a
of this license or (at your option) any later version.
The latest version of this license is in:

http://www.latex-project.org/lppl.txt

and version 1.3a or later is part of all distributions of LaTeX
version 2004/10/01 or later.

This is the configuration file of the hithesis package with LaTeX2e.

\endpreamble

\generate{
	\file{\jobname.cls}{\from{\jobname.dtx}{cls}}
          \usepreamble\cfgpreamble
          \file{\jobname.cfg}{\from{\jobname.dtx}{cfg}}
          \usepreamble\istpreamble
          \file{\jobname.ist}{\from{\jobname.dtx}{ist}}
          \usepreamble\defaultpreamble\usepostamble\defaultpostamble
          \file{dtx-style.sty}{\from{\jobname.dtx}{dtx-style}}}

\edef\epspreamble{\perCent!PS-Adobe-3.0 EPSF-3.0}
\generate{\usepreamble\epspreamble
	\usepostamble\empty
	\file{figures/hitlogo.eps}{\from{\jobname.dtx}{hitlogo}}
	\file{figures/bthesistitle.eps}{\from{\jobname.dtx}{bthesistitle}}
	\file{wct1.eps}{\from{\jobname.dtx}{wct1}}
	\file{wct5.eps}{\from{\jobname.dtx}{wct5}}
	\file{wct10.eps}{\from{\jobname.dtx}{wct10}}
	\file{zfb.eps}{\from{\jobname.dtx}{zfb}}}

\ifToplevel{%
  \Msg{***********************************************************}
  \Msg{*}
  \Msg{* To finish the installation you have to move the following}
  \Msg{* files into a directory searched by TeX:}
  \Msg{*}
  \Msg{* The recommended directory is TEXMF/tex/latex/hithesis}
  \Msg{*}
  \Msg{* \space\space hithesis.cls}
  \Msg{* \space\space hithesis.cfg}
  \Msg{* \space\space hithesis.ist}
  \Msg{* \space\space figures/hitlogo.eps}
  \Msg{* \space\space figures/bthesistitle.eps}
  \Msg{* \space\space wct1.eps}
  \Msg{* \space\space wct5.eps}
  \Msg{* \space\space wct10.eps}
  \Msg{* \space\space zfb.eps}
  \Msg{*}
  \Msg{* To produce the documentation run the files ending with}
  \Msg{* `.dtx' through LaTeX.}
  \Msg{*}
  \Msg{* Happy TeXing!}
  \Msg{***********************************************************}}

\endbatchfile
