\NeedsTeXFormat{LaTeX2e}% LaTeX June 94 or later required
\def\batchfile{smflatex.ins}
\def\smffileversion{v1.5d}
\def\smffiledate{2018/05/30}
%%
%% This is the installation file for the smflatex bundle
%% Run LaTeX on this file
%%
%% (c) 1999-2018 Societe mathematique de France
%%
\input docstrip.tex
\preamble

 This is smflatex \smffileversion (\smffiledate)
 LaTeX bundle for the SMF publications
 (c) 1999-2018 Societe mathematique de France

\endpreamble
\declarepreamble\bstfilepreamble
BibTeX style for the smflatex bundle, version \smffileversion
\endpreamble
\declarepostamble\bstfilepostamble
\endpostamble
\keepsilent
\askonceonly
% \csname newtoks\endcsname\filesmsg
% \def\dofile#1#2{\generateFile{#1}{}{\from{smflatex.dtx}{#2}}%
%  \filesmsg\expandafter{\the\filesmsg \Msg{* \space\space#1}}

\def\dofile#1#2{%
  \file{#1}{\from{smflatex.dtx}{#2}}}

\generate{%
   \usedir{tex/latex/smflatex}%
% Classes smfbook et smfart
    \dofile{smfbook.cls}{book}
    \dofile{smfart.cls}{article}
% Package d'adaptations pour hyperref
    \dofile{smfhyperref.sty}{hyperref}
%  Package de theoremes
    \dofile{smfthm.sty}{smfthm}
% Package pour la ponctuation haute
    \dofile{upitparen.sty}{upitparen}
% Package de listes
    \dofile{smfenum.sty}{smfenum}
%  Fichiers de configuration SMF
    \dofile{smfgen.sty}{smfgen}
%  Fichiers pour les revues
    \dofile{asterisque.sty}{asterisque}
    \dofile{bulletin.sty}{bulletin}
    \dofile{bull.sty}{bull}
    \dofile{courspe.sty}{courspe}
    \dofile{courspeedp.sty}{courspeedp}
    \dofile{documents.sty}{documents}
    \dofile{memoires.sty}{memoires}
    \dofile{panoramas.sty}{panoramas}
    \dofile{seminaires.sty}{seminaires}
% Bourbaki (Brochure/Astérisque)
    \dofile{bourbaki.cls}{asterki}
%  Package multi
    \dofile{smfmulti.sty}{multi}
% Package smfbib
    \dofile{smfbib.sty}{smfbib}
% Styles BiBTeX smfalpha et smfplain
    \usedir{tex/bibtex/bst/smflatex}
    \usepreamble\bstfilepreamble
    \usepostamble\bstfilepostamble
    \dofile{smfalpha.bst}{smfalpha}
    \dofile{smfplain.bst}{smfplain}
%  Source commente des macros
    \usedir{doc/latex/smflatex}
    \dofile{smfdoc.tex}{doc}
}
