1 2 3 4 5
\input docstrip \keepsilent \generate{\file{stack.sty}{\from{stack.dtx}{package}} \file{relinput.sty}{\from{stack.dtx}{test}}} \endbatchfile