summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/gmdoc/basedrivers/docstrip_gmdoc.tex
blob: 6a724ef87fc4768fe3911117ab4336575db3dd91 (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
%
% 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[minion]{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

\fooatletter{%
  \@ifXeTeX{%
    \let\gm@TrueAcute\'
    \def\'#1{%
      \ifx\f@family\rmdefault
        \if n#1\nacute
        \else\typeout{****** \cs{'} with argument }\show#1
        \fi
      \else
        \gm@TrueAcute#1%
      \fi
    }}{}}

\HideAllDefining

\begin{document}

\def\BasePath{/mnt/middle/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