summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/gmdoc/basedrivers/docstrip_gmdoc.tex
blob: 6866649c2d9e712eefaa4b55c6d92d8229cbd30c (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
47
48
49
%
% A~driver file to typeset \pk{dostrip.dtx} with the \pk{gmdoc}
% package.
%
% GM 2006/12/1
%

\PassOptionsToPackage{indexallmacros}{gmdoc}

\if1 1
  \documentclass[debug]{gmdocc}% 
  \mcdiagOn
\else
  \documentclass{gmdocc}%
\fi

\ltxLookSetup
\gmdoccMargins
\twocoltoc% For towocolumn table of contents.

\DeleteShortVerb\|
\OldMakeShortVerb*\|% To define shortverb \verb+|+ such that it
% remains shortverb in math mode (by default I~define it to be $\vert$ in
% math mode.

\relaxen\ds
\emptify\EOFMark

\begin{document}
  \def\BasePath{C:/TeXLive2005/texmf-dist/source/latex/base/}
%^^A  \tableofcontents
  \addtomacro\endabstract{\aftergroup\tableofcontents}
  \AtBegInputOnce{\date{Printed \today\\ with \pk{gmdoc} package by
      Natror}\let\date\gobble
    \let\renewenvironment\gobbletwo}% the only renewed env.\ in
  % \file{docstrip.dtx} is \env{theglossary}. I~prefer it to be twocolumn.

  \OldDocInput{\BasePath docstrip.dtx}

  \typeout{%
    ^^JProduce change log with^^J%
    makeindex -r -s gmglo.ist -o \jobnamewoe.gls \jobnamewoe.glo^^J}

  \typeout{%
    ^^JProduce index with^^J%
    makeindex -r \jobnamewoe.idx^^J}
 
\end{document}
%\NoEOF