| 1 |
\immediate\write18{makeindex -s gind.ist -o \jobname.ind \jobname.idx} |
| 2 |
\immediate\write18{makeindex -s gglo.ist -o \jobname.gls \jobname.glo} |
| 3 |
\documentclass[a4paper]{ltxdoc} |
| 4 |
\IfFileExists{hyperref.sty} {\usepackage{hyperref}}{\relax} |
| 5 |
\IfFileExists{SIunits.sty} |
| 6 |
{\usepackage[derivedinbase,derived,binary]{SIunits}} |
| 7 |
{\GenericWarning{SIunits.DTX} |
| 8 |
{Package file SIunits.STY not found!^^J |
| 9 |
Generate SIunits.STY by (La)TeXing SIunits.INS, |
| 10 |
process SIunits.DTX again.^^J}\stop} |
| 11 |
%% |
| 12 |
\GetFileInfo{SIunits.dtx} |
| 13 |
\CodelineIndex% |
| 14 |
\PageIndex% Comment out to get code line numbers in index. |
| 15 |
\CodelineNumbered% |
| 16 |
\EnableCrossrefs% |
| 17 |
%%\DisableCrossrefs% UnComment if the index is ready |
| 18 |
\OnlyDescription% Comment out to print Section "The Magic Code" as well. |
| 19 |
%% |
| 20 |
\begin{document} |
| 21 |
\DocInput{SIunits.dtx} |
| 22 |
{\newpage\PrintIndex} |
| 23 |
{\newpage\PrintChanges} |
| 24 |
\end{document} |
| 25 |
%% |
| 26 |
%% Source: $Id: SIunits.dtx,v 1.33 2002/08/01 11:20:00 root Exp root $ |
| 27 |
%% |
| 28 |
%% End of file `SIunits.drv'. |