\input docstrip.tex \keepsilent \askforoverwritefalse \generate{ \file{PTLatexCommands.sty}{\from{PTLatexCommands.dtx}{package}} } \endbatchfile