%%
%% This file generates files required to use the ed package.
%% At your command prompt write
%%
%%     latex omdoc.ins
%%
%% Copyright(c) 2005 Michael Kohlhase
%%
%% 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{omdoc.sty}{\from{omdoc.dtx}{package}}}
\generate{\file{omdoc.cls}{\from{omdoc.dtx}{cls}}}

\Msg{*}
\Msg{* You probably need to move the generated style files 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{omdoc.sty.ltxml}{\from{omdoc.dtx}{ltxml.sty}}}
\generate{\file{omdoc.cls.ltxml}{\from{omdoc.dtx}{ltxml.cls}}}

\Msg{*}
\Msg{* You may need to move the generated ltxml files into a directory searched by LaTeXML.}
\Msg{*}

\endbatchfile
