summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/smflatex/smflatex.ins
blob: e3ecc4d02c6eae799525e7e52adc3694b60d0110 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
\NeedsTeXFormat{LaTeX2e}% LaTeX June 94 or later required
\def\batchfile{smflatex.ins}
\def\smffileversion{v1.6}
\def\smffiledate{2021/05/01}
%%
%% This is the installation file for the smflatex bundle
%% Run LaTeX on this file
%%
%% (c) 1999-2021 Societe mathematique de France
%%
\input docstrip.tex
%%
%% The package contains some files 
%% which are only intendedfor internal use of SMF
%% To unpack them as well, replace \smffalse with \smftrue
\newif\ifsmf \smffalse

\preamble

 This is smflatex \smffileversion (released \smffiledate)
 LaTeX bundle for the SMF publications
 (c) 1999-2021 Société mathématique 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}
\ifsmf
% Package pour la ponctuation haute incorpore dans smfgen
    \dofile{upitparen.sty}{upitparen}
\fi
% Package de listes
    \dofile{smfenum.sty}{smfenum}
%  Fichiers de configuration SMF
    \dofile{smfgen.sty}{smfgen}
%  Fichiers pour les revues
    \dofile{smfbull.sty}{bull}
\ifsmf
    \dofile{smfaster.sty}{asterisque}
    \dofile{smfbulletin.sty}{bulletin}
    \dofile{smfcourspe.sty}{courspe}
    \dofile{smfcourspeedp.sty}{courspeedp}
    \dofile{smfdocuments.sty}{documents}
    \dofile{smfmemoires.sty}{memoires}
    \dofile{smfpanoramas.sty}{panoramas}
    \dofile{smfseminaires.sty}{seminaires}
% Bourbaki (Brochure/Astérisque)
    \dofile{smfbourbaki.cls}{asterki}
\fi
%  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}
}