\def\batchfile{manuscript.ins} \input docstrip.tex \preamble This is a stripped version of the original file. \endpreamble \postamble This is the end of the stripped file. \endpostamble \generateFile{manuscript.sty}{f}{\from{manuscript.dtx}{package}} \generateFile{manuscript.drv}{f}{\from{manuscript.dtx}{driver}}