| 1 |
% \iffalse meta-comment |
| 2 |
% |
| 3 |
% Part of Will Robertson's DTXGALLERY bundle, version 1. |
| 4 |
% |
| 5 |
%<*driver> |
| 6 |
\documentclass{ltxdoc} |
| 7 |
\usepackage{rearrange,fancyvrb} |
| 8 |
\EnableCrossrefs |
| 9 |
\CodelineIndex |
| 10 |
\RecordChanges |
| 11 |
%\OnlyDescription |
| 12 |
\begin{document} |
| 13 |
\DocInput{\jobname.dtx} |
| 14 |
\end{document} |
| 15 |
%</driver> |
| 16 |
% \fi |
| 17 |
% |
| 18 |
% \section{Example of re-arranging docstrip source} |
| 19 |
% |
| 20 |
% This is a test to show it's working: \string\test\ $\to$ \test |
| 21 |
% |
| 22 |
% \section{Documented code} |
| 23 |
% |
| 24 |
% \noindent This is `defaults' code that the \emph{user} might want to see: |
| 25 |
% \begin{macrocode} |
| 26 |
%<*defaults> |
| 27 |
\mytest{1} |
| 28 |
%</defaults> |
| 29 |
% \end{macrocode} |
| 30 |
% |
| 31 |
% \noindent And this is the internal code that the user doesn't care so much about: |
| 32 |
% \begin{macrocode} |
| 33 |
%<*package> |
| 34 |
\ProvidesPackage{rearrange}[2005/07/15 v0.1 docstrip: rearranging] |
| 35 |
\def\mytest#1{\def\test{``#1''}} |
| 36 |
%</package> |
| 37 |
% \end{macrocode} |
| 38 |
% |
| 39 |
% \section{Verbatim files that are produced} |
| 40 |
% \subsection{rearrange.sty} |
| 41 |
% \VerbatimInput[frame=single]{rearrange.sty} |
| 42 |
% \subsection{rearrange.ins} |
| 43 |
% \VerbatimInput[frame=single]{rearrange.ins} |
| 44 |
% |
| 45 |
% \Finale |
| 46 |
\endinput |