summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-02-05 00:17:47 +0000
committerKarl Berry <karl@freefriends.org>2011-02-05 00:17:47 +0000
commit9b9c3c66ff4fc82fee2c42a619c131301dcf1f40 (patch)
treea78e7bb215fc4136f374bbd3688ea0abb0da699b /Master/texmf-dist
parent892f3ce16d68ac11d0fc2726b051cc276b47e3c1 (diff)
gmdoc (2feb11)
git-svn-id: svn://tug.org/texlive/trunk@21292 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/gmdoc/basedrivers/doc_gmdoc.tex112
-rw-r--r--Master/texmf-dist/doc/latex/gmdoc/basedrivers/docstrip_gmdoc.tex79
-rw-r--r--Master/texmf-dist/doc/latex/gmdoc/basedrivers/source2e_gmdoc.tex24
-rw-r--r--Master/texmf-dist/doc/latex/gmdoc/gmdoc.pdfbin3006329 -> 3021036 bytes
-rw-r--r--Master/texmf-dist/tex/latex/gmdoc/gmdoc.sty102
-rw-r--r--Master/texmf-dist/tex/latex/gmdoc/gmdocc.cls24
6 files changed, 241 insertions, 100 deletions
diff --git a/Master/texmf-dist/doc/latex/gmdoc/basedrivers/doc_gmdoc.tex b/Master/texmf-dist/doc/latex/gmdoc/basedrivers/doc_gmdoc.tex
index 1a0b8906a9f..661cdff6032 100644
--- a/Master/texmf-dist/doc/latex/gmdoc/basedrivers/doc_gmdoc.tex
+++ b/Master/texmf-dist/doc/latex/gmdoc/basedrivers/doc_gmdoc.tex
@@ -1,14 +1,67 @@
+%%
+% \skiplines
+%<*master>
+%% \iffalse ^^A we skip the debug setting
+\IfFileExists{\string~/bin/gen_and_xela}{\errorcontextlines=1000 }{}
+%% \fi
+%% ^^A $Id: TheUltimateMaster.gmd,v 0.298 2011/02/02 18:35:58 natror Exp natror $
+% \endskiplines
+%
+%% \BundleInfoFromName{doc_gmdoc}
+%% \title{\doc_gmdocTitle }
+%% \author{Grzegorz Murzynowski}
+%% \maketitle
+%%
+%% \let\ty\emph \let\df\dekfracc
+%%
+%% \begin{copyrnote}
+%%
+%%
+%% Copyright ©\,
+%% by Grzegorz ‘Natror’ Murzynowski
+%% natror (at) gmail (dot) com
+%%
+%% This program is subject to the \LaTeX\ Project Public License.
+%% See ^^A
+%% \url{http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html} ^^A
+%% for the details of that license.\rrthis
+%%
+%% \acro{LPPL} status: "author-maintained". \par
+%%
+%%
+%%
+%%
+%%
+%% For the documentation please refer to the file(s)
+%% \file{doc_gmdoc.{gmd,pdf}}.
+%%
+%% \end{copyrnote}
+%%
+%
+%
+% \skiplines
+%</master>
+% \endskiplines
+%
+%
+%%
+%%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{doc_gmdoc}
+ [2010/09/25 v0.993 (GM)]
+
+
+%%
\PassOptionsToPackage{hyperindex=false}{hyperref}% Because FM writes some almost
-% explicit indexing commands where he uses `encapsulating' i.e.,
-% a~command to encapsulate the page number, which would interfere with
-% \pk{hyperref}'s default \verb+|hyperpage+.
-\documentclass[outeroff,minion]{gmdocc}
+\documentclass[countalllines,
+codespacesblank, outeroff, pagella, cronos, cursor,
+fontspec=quiet]{gmdocc}
\usepackage{array}
-\def\BasePath{/mnt/middle/TeXLive2005/texmf-dist/source/latex/base/}% Of course,
-% you should change it to the respective path on your computer.
+\VisSpacesGrey
+\def\BasePath{/home/natror/texmf/source/latex/base/}% Of course,
\ltxLookSetup
\gmdoccMargins
@@ -21,33 +74,38 @@
\makeatletter
+\edef\gmd@wykrzykniki{\xiihash\space\xiihash\space}
+\edef\gmd@wykrzykniki{\gmd@wykrzykniki\gmd@wykrzykniki}
+\edef\gmd@wykrzykniki{\gmd@wykrzykniki\gmd@wykrzykniki}
+\edef\gmd@wykrzykniki{\gmd@wykrzykniki\gmd@wykrzykniki}
+
\author{Frank Mittelbach \and David Carlisle}
\title{The \pk{doc} and \pk{shortvrb} Packages\\ and\\
the \pk{ltxdoc} Class}
-\date{Typeset with the \pk{gmdoc} package by Natror\\\today}
+\date{Typeset with the \pk{gmdoc} package by Natror\\\today}
+\errorcontextlines=1000
+\fooatletter{%
+ \typeout{@@@@@ \meaning\@begindocumenthook}}
\begin{document}
\smartunder
-\maketitle
+\typeout{@@@@ in document}
+\maketitle
+\typeout{@@@@ after title}
\addtocontents{toc}{% to discard |\begin{multicols}{2}| of one
% included document. (Table of contents is declared twocolumn with
% |\twocoltoc| above.)
\let\protect\begin\protect\@gobbletwo
- \protect\StoreMacro\protect\end
- \def\protect\end{\protect\RestoreMacro\protect\end\protect\@gobble}%
+ \protect\Store@Macro\protect\end
+ \def\protect\end{\protect\Restore@Macro\protect\end\protect\@gobble}%
}% Because one document has a~\env{multicols} twocolumn table of
-% contents and the other has usual one column, this will put entire
-% toc in(to) \env{multicols}.
-
\tableofcontents
-%^^A TODO Old comments i.e. authomatic verbatimization of all the cs's
-%^^A met in the comment layer.
\makeatletter
\AfterMacrocode{161}{% it's for a~tiny little typo in line 3299: They
@@ -63,7 +121,6 @@
% \label{explicit fileinfo}
\let\GetFileInfo\relax
\addtomacro\IndexParms{\arraybackslash}}% because |\IndexParms| use
-% |\raggedright| and FM executes |\IndexParms| inside a~\env{tabular}.
\DocInclude[\BasePath]{doc}
@@ -71,7 +128,7 @@
\chschange{v2.0u}{2006/10/20}{410}%
\let\CheckSum\gobble
\def\filedate{1999/08/08} \def\fileversion{v2.0u}% see line
- % \ref{explicit fileinfo}.
+ % \ref{explicit fileinfo}.
\let\GetFileInfo\relax
% The rest of this |\AtBegInputOnce|'s contents is necessary since
% DC wrote it not commented out, which with \pk{doc} results with
@@ -79,7 +136,7 @@
% with \pk{gmdoc} it puts this stuff in the code layer that'll be
% only printed verbatim.
\providecommand\dst{\expandafter{\normalfont\scshape docstrip}}
- \title{The file \texttt{ltxdoc.dtx} for use with
+ \title{The file \texttt{ltxdoc.dtx} for use with
\LaTeXe.\thanks{This file has version
number \fileversion, dated \filedate.}\\[2pt]
It contains the code for \texttt{ltxdoc.cls}}
@@ -91,39 +148,34 @@
\gmdocIncludes
-\SelfInclude{%
+\AtBegInputOnce{%
\title{\pk{doc_by_gmdoc.tex} The Driver\thanks{As mentioned in the
title, I~typeset these package and class with the \pk{gmdoc}
package, for which are they a~great inspiration and the base.
The typesetting needed only a~few tricks, so here i~give the
-%^^A(
code of the `driver': a~snake eats its tail ;-) .}}
\author{Grzegorz `Natror' Murzynowski}%
\date{\today}%
\maketitle}
+\SelfInclude
\typeout{%
Produce change log with^^J%
- makeindex -r -s gmglo.ist -o \jobnamewoe.gls \jobnamewoe.glo^^J
+ makeindex -r -s gmglo.ist -o \jobname.gls \jobname.glo^^J
(gmglo.ist should be put into some texmf/makeindex directory.)^^J}
\PrintChanges
\typeout{%
Produce index with^^J%
- makeindex -r \jobnamewoe^^J}
+ makeindex -r \jobname^^J}
\PrintIndex
\end{document}
-% MakeIndex shell commands:
makeindex -r doc_gmdoc
makeindex -r -s gmglo.ist -o doc_gmdoc.gls doc_gmdoc.glo
-% \NoEOF
-% \_ {\bf bf: \_} {\bfseries bfseries \_}
-
-%%% Local Variables:
-%%% mode: latex
-%%% TeX-master: t
-%%% End: \ No newline at end of file
+\endinput
+%%
+%% End of file `doc_gmdoc.tex'.
diff --git a/Master/texmf-dist/doc/latex/gmdoc/basedrivers/docstrip_gmdoc.tex b/Master/texmf-dist/doc/latex/gmdoc/basedrivers/docstrip_gmdoc.tex
index 6a724ef87fc..42a6e4ef372 100644
--- a/Master/texmf-dist/doc/latex/gmdoc/basedrivers/docstrip_gmdoc.tex
+++ b/Master/texmf-dist/doc/latex/gmdoc/basedrivers/docstrip_gmdoc.tex
@@ -1,17 +1,65 @@
+%%
+% \skiplines
+%<*master>
+%% \iffalse ^^A we skip the debug setting
+\IfFileExists{\string~/bin/gen_and_xela}{\errorcontextlines=1000 }{}
+%% \fi
+%% ^^A $Id: TheUltimateMaster.gmd,v 0.298 2011/02/02 18:35:58 natror Exp natror $
+% \endskiplines
%
-% A~driver file to typeset \pk{dostrip.dtx} with the \pk{gmdoc}
-% package.
+%% \BundleInfoFromName{docstrip_gmdoc}
+%% \title{\docstrip_gmdocTitle }
+%% \author{Grzegorz Murzynowski}
+%% \maketitle
+%%
+%% \let\ty\emph \let\df\dekfracc
+%%
+%% \begin{copyrnote}
+%%
+%%
+%% Copyright ©\,
+%% by Grzegorz ‘Natror’ Murzynowski
+%% natror (at) gmail (dot) com
+%%
+%% This program is subject to the \LaTeX\ Project Public License.
+%% See ^^A
+%% \url{http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html} ^^A
+%% for the details of that license.\rrthis
+%%
+%% \acro{LPPL} status: "author-maintained". \par
+%%
+%%
+%%
+%%
+%%
+%% For the documentation please refer to the file(s)
+%% \file{docstrip_gmdoc.{gmd,pdf}}.
+%%
+%% \end{copyrnote}
+%%
%
-% GM 2006/12/1
%
+% \skiplines
+%</master>
+% \endskiplines
+%
+%
+%%
+%%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{docstrip_gmdoc}
+ [2010/09/25 v0.993 (GM)]
+
+
+%%
-\PassOptionsToPackage{indexallmacros}{gmdoc}
+\PassOptionsToPackage{countalllines,codespacesgrey,indexallmacros}{gmdoc}
-\if1 1
- \documentclass[debug]{gmdocc}%
+\if11
+ \documentclass[debug, pagella, fontspec=quiet]{gmdocc}%
\mcdiagOn
\else
- \documentclass[minion]{gmdocc}%
+ \documentclass[pagella]{gmdocc}%
\fi
\ltxLookSetup
@@ -20,8 +68,6 @@
\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
@@ -43,23 +89,26 @@
\begin{document}
-\def\BasePath{/mnt/middle/TeXLive2005/texmf-dist/source/latex/base/}
-%^^A \tableofcontents
+\def\BasePath{/home/natror/texmf/source/latex/base/}
\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}
+ makeindex -r -s gmglo.ist -o \jobname.gls \jobname.glo^^J}
\typeout{%
^^JProduce index with^^J%
- makeindex -r \jobnamewoe.idx^^J}
-
+ makeindex -r \jobname.idx^^J}
+
\end{document}
-%\NoEOF
+
+\endinput
+%%
+%% End of file `docstrip_gmdoc.tex'.
diff --git a/Master/texmf-dist/doc/latex/gmdoc/basedrivers/source2e_gmdoc.tex b/Master/texmf-dist/doc/latex/gmdoc/basedrivers/source2e_gmdoc.tex
index cdfcd7b0626..bbe5e70afd2 100644
--- a/Master/texmf-dist/doc/latex/gmdoc/basedrivers/source2e_gmdoc.tex
+++ b/Master/texmf-dist/doc/latex/gmdoc/basedrivers/source2e_gmdoc.tex
@@ -105,13 +105,16 @@ page_precedence "rnaA"
\end{filecontents}
-\PassOptionsToPackage{indexallmacros}{gmdoc}
+\PassOptionsToPackage{codespacesgrey, indexallmacros}{gmdoc}
-\if1 1
- \documentclass[debug,minion]{gmdocc}%
+\if11
+ \documentclass[debug, minion, cronos, cursor, fontspec=quiet]{gmdocc}%
+
+ % ^^A[FakeBold=2, FakeStretch=0.87]{Nimbus Mono L}
\mcdiagOn
+
\else
- \documentclass[sysfonts]{gmdocc}%
+ \documentclass[fontspec=quiet]{gmdocc}%
\fi
\foone{\catcode`_=12 }
@@ -213,6 +216,9 @@ page_precedence "rnaA"
%^^A \else\typeout{****** \cs{"} with argument }\show#1\fi
}}{}}
+\foone{\makeatletter\catcode`\#=12 }{%
+ \def\gmd@wykrzykniki{# # # # # # # # #}}
+
\begin{document}
@@ -228,7 +234,7 @@ page_precedence "rnaA"
Rainer Sch\"opf}
-\def\BasePath{/mnt/middle/TeXLive2005/texmf-dist/source/latex/base/}
+\def\BasePath{/home/natror/texmf/source/latex/base/}
% This command will be used to input the patch file
@@ -273,7 +279,11 @@ page_precedence "rnaA"
\pagenumbering{roman}
\thispagestyle{empty}
+
+%^^A\traceon
\maketitle
+\relax
+%^^A \traceoff
\emptify\maketitle
\tableofcontents
@@ -414,7 +424,7 @@ page_precedence "rnaA"
\typeout{%
^^JProduce change log with^^J%
- makeindex -r -s gmglo.ist -o \jobnamewoe.gls \jobnamewoe.glo^^J}
+ makeindex -r -s gmglo.ist -o \jobname.gls \jobname.glo^^J}
{%^^A\def\.{\cs{.}}% 'cause there's |\cs {\.}| in change log on l.4314
% The next step of debug of \file{ltmiscen.dtx}'s
@@ -438,7 +448,7 @@ page_precedence "rnaA"
\typeout{%
^^JProduce index with^^J%
- makeindex -r -s gmsource2e.ist \jobnamewoe.idx^^J}
+ makeindex -r -s gmsource2e.ist \jobname.idx^^J}
% ``Makeindex needs a symbol between the parts of composite page numbers
% but we dont want one, so:''---I~skip that.
diff --git a/Master/texmf-dist/doc/latex/gmdoc/gmdoc.pdf b/Master/texmf-dist/doc/latex/gmdoc/gmdoc.pdf
index 1220b4db075..8562c462a47 100644
--- a/Master/texmf-dist/doc/latex/gmdoc/gmdoc.pdf
+++ b/Master/texmf-dist/doc/latex/gmdoc/gmdoc.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/gmdoc/gmdoc.sty b/Master/texmf-dist/tex/latex/gmdoc/gmdoc.sty
index 90e416a0fa7..a5bc9763984 100644
--- a/Master/texmf-dist/tex/latex/gmdoc/gmdoc.sty
+++ b/Master/texmf-dist/tex/latex/gmdoc/gmdoc.sty
@@ -2,7 +2,7 @@
%% \iffalse ^^A we skip the debug setting
\IfFileExists{\string~/bin/gen_and_xela}{\errorcontextlines=1000 }{}
%% \fi
-%% ^^A $Id: TheUltimateMaster.gmd,v 0.250 2010/10/24 14:42:35 natror Exp natror $
+%% ^^A $Id: TheUltimateMaster.gmd,v 0.298 2011/02/02 18:35:58 natror Exp natror $
%% This is file “gmdoc.sty” generated with the DocStrip utility.
%%
%%
@@ -13,7 +13,7 @@
%%
%% Copyright © 2006, 2007, 2008, 2009, 2010
%% by Grzegorz ‘Natror’ Murzynowski
-%% natror (at) o2 (dot) pl
+%% natror (at) gmail (dot) com
%%
%% This program is subject to the LaTeX Project Public License.
%% See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html
@@ -1058,6 +1058,7 @@ pagella, trebuchet, cursor, fontspec=quiet]{gmdocc}
\fi}
\catcode`\^^B=\active% note we re|\catcode| \<char2> globally, for the
\catcode`\^^V=\active % the same for |^^V|.
+\catcode`\^^U=\active % and for |^^U|.
\foone{\obeylines}%% \Define*{^^B}
{\pdef\QueerCharTwo{%
\protected\def^^B##1^^M{%
@@ -1066,47 +1067,79 @@ pagella, trebuchet, cursor, fontspec=quiet]{gmdocc}
% drive \TeX\ into hmode.
%
% \Define*{^^V}
- \pdef\QueerV{%
- \unless\ifdefined\gmd@QueerV%
+ % \Define*{^^U}
+ % The |^^V| char is intended to mark parts of code commented out
+ % which are to be typeset verbatim. Lines are begun with narration
+ % marks (\%'s by default) and the narration-verbatim-typewriter font
+ % is used.
+ %
+ % The |^^U| char is intended for the lines commented out which are
+ % to be typeset as almost-invisible (second-class). They are marked
+ % with the narration mark as with |^^V| and a special font setting
+ % is used, which is a gray colour by default (in addition to the narration-verbatim-typewriter).
+ %
+ \pdef\gmd@UVdefs {%
+ \def\gmd@UV@percent{\global\let\verb@balance@group\@empty %
+ % ^^V \hyphenchar\font=\gmv@storedhyphenchar % it works back
+ % for the current paragraph so destroys our special hyphenchar.
+ \egroup\endgroup %
+ }% of |\gmd@UV@percent|
+ %
+ \@xa\def\@xa\verb@egroup@UV\@xa{%
+ \gmd@UV@percent ^^M%
+ }% of |\verb@egroup@UV|.
+ %
+ \addtomacro\gmd@UV@percent{\narrationmark}%
+ %
+ \pdef\gmd@QueerUV ##1{%
+ \scantokens\@xa{\code@delim %
+ \fooatletter{\@ifQueerEOL\@gobble}{}%
+ }% of |\scantokens|
%
- \def\gmd@V@percent{\global\let\verb@balance@group\@empty %
- \egroup\endgroup %
- }% of |\gmd@V@percent|
+ \par%
+ {\codett\verbhyphen}\narrationmark %
+ \begingroup %
+ \catcode`\^^M=\active %
%
- \@xa\def\@xa\verb@egroup@V\@xa{%
- \gmd@V@percent ^^M%
- }% of |\verb@egroup@V|.
+ \let\verb@egroup=\verb@egroup@UV %
+ \verb^^M%
%
- \addtomacro\gmd@V@percent{\narrationmark}%
+ ##1% nothing in |^^V| case and a gray setting in the |^^U| case.
%
- \pdef\gmd@QueerV{%
- \scantokens\@xa{\code@delim %
- \fooatletter{\@ifQueerEOL\@gobble}{}%
- }% of |\scantokens|
- %
- \par%
- {\codett\verbhyphen}\narrationmark %
- \begingroup %
- \catcode`\^^M=\active %
- %
- \let\verb@egroup=\verb@egroup@V %
- \verb^^M%%
- %
- \begingroup %
- \@xa\lccode\@xa`\@xa~\@xa`\code@delim%
- \lowercase{\endgroup\let~\gmd@V@percent }%
- \@xa\catcode\@xa`\code@delim\active %
- }%
+ \begingroup %
+ \@xa\lccode\@xa`\@xa~\@xa`\code@delim%
+ \lowercase{\endgroup\let~\gmd@UV@percent }%
+ \@xa\catcode\@xa`\code@delim\active %
+ }% of |\gmd@QueerUV|
+ }% of |\gmd@UVdefs|
+ %
+ %
+ \pdef\QueerU {%
+ \unless\ifdefined\gmd@QueerU%
%
+ \gmd@UVdefs %
+ \pdef\gmd@QueerU {\gmd@QueerUV {\QueerUFont }}%
+ \let^^U\gmd@QueerU%
+ \catcode`\^^U=\active%
+ \fi %
+ }% of |\QueerU|
+ %
+ \pdef\QueerV {%
+ \unless\ifdefined\gmd@QueerV %
%
- \fi% of unless |\gmd@QueerV| defined
- \let^^V\gmd@QueerV%
- \catcode`\^^V=\active%
+ \gmd@UVdefs %
+ \pdef\gmd@QueerV {\gmd@QueerUV {}}%
+ \let^^V\gmd@QueerV%
+ \catcode`\^^V=\active%
+ \fi %
}% of |\QueerV|
+ %
}% of |\foone|
\QueerCharTwo
\QueerV
+\QueerU
+\def\QueerUFont{\color{black!35}}
\AtBegInput{\@ifEOLactive{\catcode`\^^B\active}{}\QueerCharTwo}% \label{QCh2}
\catcode`\^^A=\active% note we re|\catcode| \<char1> globally, for the
@@ -4274,11 +4307,6 @@ pagella, trebuchet, cursor, fontspec=quiet]{gmdocc}
\def\NoEOF{\QueerEOL\@NoEOF}
\def\EOF{\QueerEOL\@EOF}
-%%% (For my GNU Emacs:)
-%%% Local Variables:
-%%% mode: doctex
-%%% coding: utf-8
-%%% End:
\endinput
%%
%% End of file `gmdoc.sty'.
diff --git a/Master/texmf-dist/tex/latex/gmdoc/gmdocc.cls b/Master/texmf-dist/tex/latex/gmdoc/gmdocc.cls
index 36344bf900c..befb51f5317 100644
--- a/Master/texmf-dist/tex/latex/gmdoc/gmdocc.cls
+++ b/Master/texmf-dist/tex/latex/gmdoc/gmdocc.cls
@@ -2,7 +2,7 @@
%% \iffalse ^^A we skip the debug setting
\IfFileExists{\string~/bin/gen_and_xela}{\errorcontextlines=1000 }{}
%% \fi
-%% ^^A $Id: TheUltimateMaster.gmd,v 0.250 2010/10/24 14:42:35 natror Exp natror $
+%% ^^A $Id: TheUltimateMaster.gmd,v 0.298 2011/02/02 18:35:58 natror Exp natror $
%% This is file “gmdocc.cls” generated with the DocStrip utility.
%%
%%
@@ -13,7 +13,7 @@
%%
%% Copyright ©
%% by Grzegorz ‘Natror’ Murzynowski
-%% natror (at) o2 (dot) pl
+%% natror (at) gmail (dot) com
%%
%% This program is subject to the LaTeX Project Public License.
%% See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html
@@ -278,10 +278,15 @@
\renewcommand*\thesection{\arabic{section}}% isn't it redundant at the
-\@ifnotmw{}{%
- \@ifclassloaded{mwart}{% We set the indentation of Contents:
- \SetTOCIndents{{}{\quad}{\quad}{\quad}{\quad}{\quad}{\quad}}}{% for \pk{mwart} …\ilrr
- \SetTOCIndents{{}{\bf9.\enspace}{\quad}{\quad}{\quad}{\quad}{\quad}}}% and for the two other \pk{mwcls}s. \ilrr
+\@ifnotmw{}
+{% if MW class
+ \@ifclassloaded{mwart}
+ {% We set the indentation of Contents:
+ \SetTOCIndents{{}{\quad}{\quad}{\quad}{\quad}{\quad}{\quad}}%
+ }
+ {% for \pk{mwart} …\ilrr
+ \SetTOCIndents{{}{\bf9.\enspace}{\quad}{\quad}{\quad}{\quad}{\quad}}%
+ }% and for the two other \pk{mwcls}s. \ilrr
\pagestyle{outer}}% We set the page numbers to be printed in the
\def\titlesetup{\bfseries\sffamily}% We set the title(s) to be
@@ -327,12 +332,9 @@
\def\OK{\acro{OK}\spifletter}
+\pdef\oczko{;-)\spifletter}
+
-%%% (For my GNU Emacs:)
-%%% Local Variables:
-%%% mode: doctex
-%%% coding: utf-8
-%%% End:
\endinput
%%
%% End of file `gmdocc.cls'.