\documentclass{ltxdoc} \EnableCrossrefs \CodelineIndex \RecordChanges \begingroup \catcode`\/=0 /catcode`/[=1 /catcode`/]=2 /catcode`/\=12 /catcode`/{=12 /catcode`/}=12 /gdef/pkgdesc[% This package fixes the isuue of footnote inside /texttt[\caption{}], /texttt[tabular] environment and /texttt[\section{}] like (/texttt[\chapter{}], /texttt[\part{}], /texttt[\subsection{}] and etc) commands. ] /endgroup \begin{document} \def\StopEventually#1{% \date{2009/10/18}% \maketitle \noindent \pkgdesc } \DocInput{\jobname.dtx} \PrintIndex \end{document}