summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/etoc/etoc.ins
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/etoc/etoc.ins')
-rw-r--r--Master/texmf-dist/source/latex/etoc/etoc.ins57
1 files changed, 40 insertions, 17 deletions
diff --git a/Master/texmf-dist/source/latex/etoc/etoc.ins b/Master/texmf-dist/source/latex/etoc/etoc.ins
index 03e47de9e7f..6f3018e1d79 100644
--- a/Master/texmf-dist/source/latex/etoc/etoc.ins
+++ b/Master/texmf-dist/source/latex/etoc/etoc.ins
@@ -1,30 +1,53 @@
-\def\pkgname{etoc}
-\def\pkgdate{2013/03/07}
-\def\pkgversion{v1.07f}
-\def\pkgdescription{Completely customisable TOCs (jfB)}
+\def\pkgname {etoc} \def\pkgdate {2013/10/13} \def\pkgversion {v1.07g}
+\def\pkgdescription {Completely customisable TOCs (jfB)}
+\def\doctimestamp {Time-stamp <13-10-2013 23:44:43 CEST *>}
%%
-%% Package `etoc' by Jean-Francois Burnol
-%% Copyright (C) 2012, 2013 by Jean-Francois Burnol
+%% Package: etoc
+%% Version: 2013/10/13 v1.07g
+%% Copyright (C) 2012-2013 by Jean-Francois Burnol <jfbu at free dot fr>
%%
-%% This file `etoc.ins' is provided for compatibility with TeX distributions
-%% expecting to find it for installation of `etoc.sty'.
+%% Run tex on this file to extract etoc.sty and etoc.tex from etoc.dtx
%%
-%% As usual `latex etoc.ins' produces `etoc.sty' from the source `etoc.dtx'
-%% (an already existing etoc.sty in the same repertory will be overwritten)
+%% 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
%%
-%% Move `etoc.sty' to a suitable location:
-%% etoc.sty -> <TDS>/tex/latex/etoc/etoc.sty
+%% 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.
%%
-%% The generated auxiliary files may be discarded. See `etoc.dtx' for the
-%% statements of copyright and conditions of distribution or modification.
+%% 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\pkgpreamble{\defaultpreamble^^J\MetaPrefix^^J%
\string\ProvidesPackage{\pkgname}^^J%
-\space[\pkgdate\space\pkgversion\space\pkgdescription]}
-\generate{\usepreamble\pkgpreamble
-\file{\pkgname.sty}{\from{\pkgname.dtx}{package}}}
+\space[\pkgdate\space\pkgversion\space\pkgdescription]}%
+\generate{\nopreamble
+\file{\pkgname.tex}{\from{\pkgname.dtx}{driver}}%
+\usepreamble\pkgpreamble
+\file{\pkgname.sty}{\from{\pkgname.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
%%