\input docstrip \preamble Maintained on GitHub: https://github.com/texjporg/jsclasses \endpreamble \def\batchfile{okumacro.ins} \input docstrip.tex \keepsilent \generateFile{okumacro.sty}{f}{\from{okumacro.dtx}{okumacro}} \endbatchfile