| 1 |
%% |
| 2 |
% \skiplines |
| 3 |
%<*master> |
| 4 |
%% \iffalse ^^A we skip the debug setting |
| 5 |
\IfFileExists{\string~/bin/gen_and_xela}{\errorcontextlines=1000 }{} |
| 6 |
%% \fi |
| 7 |
%% ^^A $Id: TheUltimateMaster.gmd,v 0.298 2011/02/02 18:35:58 natror Exp natror $ |
| 8 |
% \endskiplines |
| 9 |
% |
| 10 |
%% \BundleInfoFromName{docstrip_gmdoc} |
| 11 |
%% \title{\docstrip_gmdocTitle } |
| 12 |
%% \author{Grzegorz Murzynowski} |
| 13 |
%% \maketitle |
| 14 |
%% |
| 15 |
%% \let\ty\emph \let\df\dekfracc |
| 16 |
%% |
| 17 |
%% \begin{copyrnote} |
| 18 |
%% |
| 19 |
%% |
| 20 |
%% Copyright ©\, |
| 21 |
%% by Grzegorz ‘Natror’ Murzynowski |
| 22 |
%% natror (at) gmail (dot) com |
| 23 |
%% |
| 24 |
%% This program is subject to the \LaTeX\ Project Public License. |
| 25 |
%% See ^^A |
| 26 |
%% \url{http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html} ^^A |
| 27 |
%% for the details of that license.\rrthis |
| 28 |
%% |
| 29 |
%% \acro{LPPL} status: "author-maintained". \par |
| 30 |
%% |
| 31 |
%% |
| 32 |
%% |
| 33 |
%% |
| 34 |
%% |
| 35 |
%% For the documentation please refer to the file(s) |
| 36 |
%% \file{docstrip_gmdoc.{gmd,pdf}}. |
| 37 |
%% |
| 38 |
%% \end{copyrnote} |
| 39 |
%% |
| 40 |
% |
| 41 |
% |
| 42 |
% \skiplines |
| 43 |
%</master> |
| 44 |
% \endskiplines |
| 45 |
% |
| 46 |
% |
| 47 |
%% |
| 48 |
%% |
| 49 |
\NeedsTeXFormat{LaTeX2e} |
| 50 |
\ProvidesClass{docstrip_gmdoc} |
| 51 |
[2010/09/25 v0.993 (GM)] |
| 52 |
|
| 53 |
|
| 54 |
%% |
| 55 |
|
| 56 |
\PassOptionsToPackage{countalllines,codespacesgrey,indexallmacros}{gmdoc} |
| 57 |
|
| 58 |
\if11 |
| 59 |
\documentclass[debug, pagella, fontspec=quiet]{gmdocc}% |
| 60 |
\mcdiagOn |
| 61 |
\else |
| 62 |
\documentclass[pagella]{gmdocc}% |
| 63 |
\fi |
| 64 |
|
| 65 |
\ltxLookSetup |
| 66 |
\gmdoccMargins |
| 67 |
\twocoltoc% For towocolumn table of contents. |
| 68 |
|
| 69 |
\DeleteShortVerb\| |
| 70 |
\OldMakeShortVerb*\|% To define shortverb \verb+|+ such that it |
| 71 |
|
| 72 |
\relaxen\ds |
| 73 |
\emptify\EOFMark |
| 74 |
|
| 75 |
\fooatletter{% |
| 76 |
\@ifXeTeX{% |
| 77 |
\let\gm@TrueAcute\' |
| 78 |
\def\'#1{% |
| 79 |
\ifx\f@family\rmdefault |
| 80 |
\if n#1\nacute |
| 81 |
\else\typeout{****** \cs{'} with argument }\show#1 |
| 82 |
\fi |
| 83 |
\else |
| 84 |
\gm@TrueAcute#1% |
| 85 |
\fi |
| 86 |
}}{}} |
| 87 |
|
| 88 |
\HideAllDefining |
| 89 |
|
| 90 |
\begin{document} |
| 91 |
|
| 92 |
\def\BasePath{/home/natror/texmf/source/latex/base/} |
| 93 |
\addtomacro\endabstract{\aftergroup\tableofcontents} |
| 94 |
\AtBegInputOnce{\date{Printed \today\\ with \pk{gmdoc} package by |
| 95 |
Natror}\let\date\gobble |
| 96 |
\let\renewenvironment\gobbletwo}% the only renewed env.\ in |
| 97 |
% \file{docstrip.dtx} is \env{theglossary}. I~prefer it to be twocolumn. |
| 98 |
|
| 99 |
|
| 100 |
\OldDocInput{\BasePath docstrip.dtx} |
| 101 |
|
| 102 |
\typeout{% |
| 103 |
^^JProduce change log with^^J% |
| 104 |
makeindex -r -s gmglo.ist -o \jobname.gls \jobname.glo^^J} |
| 105 |
|
| 106 |
\typeout{% |
| 107 |
^^JProduce index with^^J% |
| 108 |
makeindex -r \jobname.idx^^J} |
| 109 |
|
| 110 |
\end{document} |
| 111 |
|
| 112 |
\endinput |
| 113 |
%% |
| 114 |
%% End of file `docstrip_gmdoc.tex'. |