1 2 3 4
\input docstrip.tex \askforoverwritefalse \generate{\file{coolthms.sty}{\from{coolthms.dtx}{}}} \end