blob: 6a43ad8fb0ea3f6177d3f60cd6a811987672d64a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
% \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}
%</driver>
% \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}
%</defaults>
% \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''}}
%</package>
% \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
|