summaryrefslogtreecommitdiff
path: root/info/dtxgallery/rearrange.dtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /info/dtxgallery/rearrange.dtx
Initial commit
Diffstat (limited to 'info/dtxgallery/rearrange.dtx')
-rw-r--r--info/dtxgallery/rearrange.dtx46
1 files changed, 46 insertions, 0 deletions
diff --git a/info/dtxgallery/rearrange.dtx b/info/dtxgallery/rearrange.dtx
new file mode 100644
index 0000000000..6a43ad8fb0
--- /dev/null
+++ b/info/dtxgallery/rearrange.dtx
@@ -0,0 +1,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 \ No newline at end of file