%%
%% This file will generate fast loadable files and documentation
%% driver files from the doc files in this package when run through
%% LaTeX or TeX.
%%
%% Copyright 2016 D. P. Story
%% -------------------------------------------
%%
%% It may be distributed under the conditions of the LaTeX Project Public
%% License, either version 1.2 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.2 or later is part of all distributions of LaTeX
%% version 1999/12/01 or later.
%%
%% --------------- start of docstrip commands ------------------
%%
\def\filedate{2019/01/17}
\def\batchfile{bgjs-examples.ins}

\input docstrip
\ifx\generate\undefined
  \Msg{**********************************************}
  \Msg{*}
  \Msg{* This installation requires docstrip}
  \Msg{* version 2.4 or later.}
  \Msg{*}
  \Msg{* An older version of docstrip has been input}
  \Msg{*}
  \Msg{**********************************************}
  \errhelp{Move or rename old docstrip.tex and get a newer one.}
  \errmessage{Old docstrip in input path}
  \batchmode
  \csname @@end\endcsname\end
\fi

\keepsilent
\askforoverwritefalse
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\preamble
\endpreamble

\generate
{%
    \file{bgjs-basic1.tex}{\from{bgjs-examples.dtx}{copyright,basic1}}
    \file{bgjs-basic2.tex}{\from{bgjs-examples.dtx}{copyright,basic2}}
    \file{bgjs-basic3.tex}{\from{bgjs-examples.dtx}{copyright,basic3}}
    \file{bgjs-basic4.tex}{\from{bgjs-examples.dtx}{copyright,basic4}}
    \file{bgjs-adv1.tex}{\from{bgjs-examples.dtx}{copyright,adv1}}
    \file{bgjs-comma1.tex}{\from{bgjs-examples.dtx}{copyright,comma1}}
    \file{bgjs-comma2.tex}{\from{bgjs-examples.dtx}{copyright,comma2}}
    \file{bgjs-pro1.tex}{\from{bgjs-examples.dtx}{copyright,pro1}}
    \file{bgjs-dyn1.tex}{\from{bgjs-examples.dtx}{copyright,dyn1}}
}

\Msg{***************************************************************}
\Msg{*}
\Msg{* \space To finish the installation you have to copy the files }
\Msg{*}
\Msg{* \space *.sty, *.cfg and *.def into a directory searched by TeX}
\Msg{*}
\Msg{***************************************************************}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\endinput
