summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/siunits/SIunits.drv
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/siunits/SIunits.drv')
-rw-r--r--Master/texmf-dist/source/latex/siunits/SIunits.drv28
1 files changed, 28 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/siunits/SIunits.drv b/Master/texmf-dist/source/latex/siunits/SIunits.drv
new file mode 100644
index 00000000000..f1d41bedccd
--- /dev/null
+++ b/Master/texmf-dist/source/latex/siunits/SIunits.drv
@@ -0,0 +1,28 @@
+\immediate\write18{makeindex -s gind.ist -o \jobname.ind \jobname.idx}
+\immediate\write18{makeindex -s gglo.ist -o \jobname.gls \jobname.glo}
+\documentclass[a4paper]{ltxdoc}
+\IfFileExists{hyperref.sty} {\usepackage{hyperref}}{\relax}
+ \IfFileExists{SIunits.sty}
+ {\usepackage[derivedinbase,derived,binary]{SIunits}}
+ {\GenericWarning{SIunits.DTX}
+ {Package file SIunits.STY not found!^^J
+ Generate SIunits.STY by (La)TeXing SIunits.INS,
+ process SIunits.DTX again.^^J}\stop}
+%%
+\GetFileInfo{SIunits.dtx}
+\CodelineIndex%
+\PageIndex% Comment out to get code line numbers in index.
+\CodelineNumbered%
+\EnableCrossrefs%
+%%\DisableCrossrefs% UnComment if the index is ready
+\OnlyDescription% Comment out to print Section "The Magic Code" as well.
+%%
+\begin{document}
+\DocInput{SIunits.dtx}
+ {\newpage\PrintIndex}
+ {\newpage\PrintChanges}
+\end{document}
+%%
+%% Source: $Id: SIunits.dtx,v 1.33 2002/08/01 11:20:00 root Exp root $
+%%
+%% End of file `SIunits.drv'.