blob: 2921840a64572ae3bfae59615044adbd5dad94b3 (
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
|
\def\jfbpkgname {etoc} \def\jfbpkgdate {2013/12/03} \def\jfbpkgversion {v1.07j}
\def\jfbpkgdescription {Completely customisable TOCs (jfB)}
%%
%% Package: etoc
%% Version: 2013/12/03 v1.07j
%% Copyright (C) 2012-2013 by Jean-Francois Burnol <jfbu at free dot fr>
%%
%% Run tex on this file to extract etoc.sty and etoc.tex from etoc.dtx
%%
%% At least three ways to produce etoc.pdf:
%% (1) latex etoc.dtx (three times), then dvips, then ps2pdf
%% (2) pdflatex etoc.dtx (three times)
%% (3) latex etoc.tex (three times), then dvipdfmx
%%
%% Method (3) produces the smallest pdf files.
%% Options can be set in etoc.tex:
%% - scrdoc class options (paper size, font size, ...)
%% - with or without source code,
%% - with dvipdfmx or with latex/pdflatex.
%%
%% Installation:
%% etoc.sty->TDS:tex/latex/etoc/etoc.sty
%% etoc.dtx->TDS:source/latex/etoc/etoc.dtx
%% etoc.pdf->TDS:doc/latex/etoc/etoc.pdf
%%
\input docstrip.tex
\askforoverwritefalse
\def\jfbpkgpreamble{\defaultpreamble^^J\MetaPrefix^^J%
\string\ProvidesPackage{\jfbpkgname}^^J%
\space[\jfbpkgdate\space\jfbpkgversion\space\jfbpkgdescription]}%
\generate{\nopreamble
\file{\jfbpkgname.tex}{\from{\jfbpkgname.dtx}{driver}}%
\usepreamble\jfbpkgpreamble
\file{\jfbpkgname.sty}{\from{\jfbpkgname.dtx}{package}}}%
\catcode32=13\relax% active space
\let =\space%
\Msg{************************************************************************}
\Msg{*}
\Msg{* To finish the installation you have to move the following}
\Msg{* file into a directory searched by TeX:}
\Msg{*}
\Msg{* etoc.sty}
\Msg{*}
\Msg{* To produce the documentation run latex thrice on file etoc.tex}
\Msg{* and then run dvipdfmx on file etoc.dvi}
\Msg{*}
\Msg{* Happy TeXing!}
\Msg{*}
\Msg{************************************************************************}
\endbatchfile
\endinput
%%
%% End of file `etoc.ins'.
|