diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/gmdoc/basedrivers/doc_gmdoc.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/gmdoc/basedrivers/doc_gmdoc.tex | 117 |
1 files changed, 30 insertions, 87 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 ac83c0917e8..1a0b8906a9f 100644 --- a/Master/texmf-dist/doc/latex/gmdoc/basedrivers/doc_gmdoc.tex +++ b/Master/texmf-dist/doc/latex/gmdoc/basedrivers/doc_gmdoc.tex @@ -1,67 +1,14 @@ -%% -% \skiplines -%<*master> -%% \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 $ -% \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) o2 (dot) pl -%% -%% 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[countalllines, -codespacesblank, outeroff, pagella, cronos, cursor, -fontspec=quiet]{gmdocc} +\documentclass[outeroff,minion]{gmdocc} \usepackage{array} -\VisSpacesGrey +\def\BasePath{/mnt/middle/TeXLive2005/texmf-dist/source/latex/base/}% Of course, +% you should change it to the respective path on your computer. -\def\BasePath{/home/natror/texmf/source/latex/base/}% Of course, \ltxLookSetup \gmdoccMargins @@ -74,38 +21,33 @@ fontspec=quiet]{gmdocc} \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 -\typeout{@@@@ in document} +\maketitle -\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\Store@Macro\protect\end - \def\protect\end{\protect\Restore@Macro\protect\end\protect\@gobble}% + \protect\StoreMacro\protect\end + \def\protect\end{\protect\RestoreMacro\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 @@ -121,6 +63,7 @@ fontspec=quiet]{gmdocc} % \label{explicit fileinfo} \let\GetFileInfo\relax \addtomacro\IndexParms{\arraybackslash}}% because |\IndexParms| use +% |\raggedright| and FM executes |\IndexParms| inside a~\env{tabular}. \DocInclude[\BasePath]{doc} @@ -128,7 +71,7 @@ fontspec=quiet]{gmdocc} \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 @@ -136,7 +79,7 @@ fontspec=quiet]{gmdocc} % 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}} @@ -148,39 +91,39 @@ fontspec=quiet]{gmdocc} \gmdocIncludes -\AtBegInputOnce{% +\SelfInclude{% \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 \jobname.gls \jobname.glo^^J + makeindex -r -s gmglo.ist -o \jobnamewoe.gls \jobnamewoe.glo^^J (gmglo.ist should be put into some texmf/makeindex directory.)^^J} \PrintChanges \typeout{% Produce index with^^J% - makeindex -r \jobname^^J} + makeindex -r \jobnamewoe^^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 \_} + -%%% (For my GNU Emacs:) -%%% Local Variables: -%%% mode: doctex -%%% coding: utf-8 -%%% End: -\endinput -%% -%% End of file `doc_gmdoc.tex'. +%%% Local Variables: +%%% mode: latex +%%% TeX-master: t +%%% End:
\ No newline at end of file |