% \iffalse meta-comment % % Part of Will Robertson's DTXGALLERY bundle, version 1. % %<*driver> \documentclass{ltxdoc} \usepackage{rearrange,fancyvrb} \EnableCrossrefs \CodelineIndex \RecordChanges %\OnlyDescription \begin{document} \DocInput{\jobname.dtx} \end{document} % % \fi % % \section{Example of re-arranging docstrip source} % % This is a test to show it's working: \string\test\ $\to$ \test % % \section{Documented code} % % \noindent This is `defaults' code that the \emph{user} might want to see: % \begin{macrocode} %<*defaults> \mytest{1} % % \end{macrocode} % % \noindent And this is the internal code that the user doesn't care so much about: % \begin{macrocode} %<*package> \ProvidesPackage{rearrange}[2005/07/15 v0.1 docstrip: rearranging] \def\mytest#1{\def\test{``#1''}} % % \end{macrocode} % % \section{Verbatim files that are produced} % \subsection{rearrange.sty} % \VerbatimInput[frame=single]{rearrange.sty} % \subsection{rearrange.ins} % \VerbatimInput[frame=single]{rearrange.ins} % % \Finale \endinput