\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 %% Version: 2013/10/13 v1.07g %% Copyright (C) 2012-2013 by Jean-Francois Burnol %% %% run latex thrice on this file etoc.tex then dvipdfmx on etoc.dvi %% to produce the documentation etoc.pdf, with source code included. %% %% customize as desired the class options and the two toggles below. %% \NeedsTeXFormat{LaTeX2e} \ProvidesFile{etoc.tex}[\pkgdate\space\pkgversion\space\pkgdescription]% \PassOptionsToClass{a4paper,11pt}{scrdoc} \chardef\Withdvipdfmx 1 % replace 1 by 0 for using latex/pdflatex, rather. \chardef\NoSourceCode 0 % replace 0 by 1 for the doc *without* the source code \input etoc.dtx %%% Local Variables: %%% mode: latex %%% End: \endinput %% %% End of file `etoc.tex'.