\def\pkgname {etoc} \def\pkgdate {2013/10/21} \def\pkgversion {v1.07i} \def\pkgdescription {Completely customisable TOCs (jfB)} \def\doctimestamp {Time-stamp <21-10-2013 18:35:52 CEST *>} %% %% Package: etoc %% Version: 2013/10/16 v1.07h %% 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'.