\input docstrip \askforoverwritefalse \keepsilent \preamble \endpreamble \usedir{tex/latex/amsrefs} \generate{ \file{pcatcode.sty}{\from{pcatcode.dtx}{}} } \endbatchfile