From cdd2b31cbd68c2ceef3e77dc9de9f9f012f64b5f Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Fri, 14 Nov 2003 22:49:35 +0000 Subject: [PATCH] Created a reasonable DoNotIndex list --- mlastyle.dtx | 235 +++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 182 insertions(+), 53 deletions(-) diff --git a/mlastyle.dtx b/mlastyle.dtx index dc05e32..5da97f8 100644 --- a/mlastyle.dtx +++ b/mlastyle.dtx @@ -56,50 +56,171 @@ % % \GetFileInfo{mlastyle.sty} % -% \DoNotIndex{\the,\edef,\gdef,\voffset,\@undefined} -% \DoNotIndex{\@centercr,\@for,\@date,\do,\@startsection} -% \DoNotIndex{\@citea,\@citeb} -% \DoNotIndex{\@empty,\@ignoretrue} -% \DoNotIndex{\@ixpt} -% \DoNotIndex{\@M,\@minus,\@ne,\@plus} -% \DoNotIndex{\.,\ ,\\} -% \DoNotIndex{\addtolength,\advance} -% \DoNotIndex{\ast,\begin,\begingroup,\bfseries,\bgroup,\box} -% \DoNotIndex{\bullet} -% \DoNotIndex{\cdot,\cr,\day,\DeclareOption} -% \DoNotIndex{\def,\DocInput,\documentclass} -% \DoNotIndex{\DoNotIndex,\egroup,\ifx,\else,\fi,\endtrivlist} -% \DoNotIndex{\EnableCrossrefs,\end,\end@dblfloat,\end@float,\endgroup} -% \DoNotIndex{\endlist,\everycr,\ExecuteOptions,\expandafter} -% \DoNotIndex{\filedate,\filename,\fileversion,\futurelet} -% \DoNotIndex{\global,\halign,\hangindent,\hbox,\hfil,\hfill,\hrule} -% \DoNotIndex{\hsize,\hskip,\hspace,\hss,\ifcase,\or,\fi} -% \DoNotIndex{\ifvmode,\fi,\ifnum,\fi,\input} -% \DoNotIndex{\kern,\leavevmode,\let,\leftmark} -% \DoNotIndex{\list,\llap,\long,\m@ne,\m@th,\mark} -% \DoNotIndex{\mbox,\month,\newcommand,\newcounter,\newenvironment} -% \DoNotIndex{\mlastyle@bibstyletrue,\mlastyle@bibstylefalse} -% \DoNotIndex{\mlastyle@formattrue,\mlastyle@formatfalse} -% \DoNotIndex{\mlastyle@papersizetrue,\mlastyle@papersizefalse} -% \DoNotIndex{\mlastyle@styletrue,\mlastyle@stylefalse} -% \DoNotIndex{\mlastyle@timestrue,\mlastyle@timesfalse} -% \DoNotIndex{\mlastyle@underlinetrue,\mlastyle@underlinefalse} -% \DoNotIndex{\mlastyle@bibstyletrue,\mlastyle@bibstylefalse} -% \DoNotIndex{\mlastyle@slashnext,\mlastyle@slashx} -% \DoNotIndex{} -% \DoNotIndex{\NeedsTeXFormat,\newdimen} -% \DoNotIndex{\newpage,\nobreak,\noindent,\number} -% \DoNotIndex{\or,\p@} -% \DoNotIndex{\pagestyle,\par} -% \DoNotIndex{\penalty,\PrintChanges,\PrintIndex,\ProcessOptions} -% \DoNotIndex{\protect,\ProvidesClass,\raggedbottom,\raggedright} -% \DoNotIndex{\refstepcounter,\relax,\renewcommand,\renewenvironment} +% \DoNotIndex{\ } +% \DoNotIndex{\.} +% \DoNotIndex{\@afterindentfalse} +% \DoNotIndex{\@afterindenttrue} +% \DoNotIndex{\@arabic} +% \DoNotIndex{\@author} +% \DoNotIndex{\@auxout} +% \DoNotIndex{\@citea} +% \DoNotIndex{\@citeb} +% \DoNotIndex{\@date} +% \DoNotIndex{\@empty} +% \DoNotIndex{\@firstofone} +% \DoNotIndex{\@for} +% \DoNotIndex{\@ifundefined} +% \DoNotIndex{\@latex@warning} +% \DoNotIndex{\@listI} +% \DoNotIndex{\@listi} +% \DoNotIndex{\@listii} +% \DoNotIndex{\@listiii} +% \DoNotIndex{\@listiv} +% \DoNotIndex{\@listv} +% \DoNotIndex{\@listvi} +% \DoNotIndex{\@startsection} +% \DoNotIndex{\@tempswafalse} +% \DoNotIndex{\@title} +% \DoNotIndex{\@undefined} +% \DoNotIndex{\DeclareOption} +% \DoNotIndex{\ExecuteOptions} +% \DoNotIndex{\G@refundefinedtrue} +% \DoNotIndex{\ProcessOptions} +% \DoNotIndex{\RequirePackage} +% \DoNotIndex{\addtolength} +% \DoNotIndex{\advance} +% \DoNotIndex{\baselineskip} +% \DoNotIndex{\begin} +% \DoNotIndex{\bfseries} +% \DoNotIndex{\c@enumiv} +% \DoNotIndex{\catcode} +% \DoNotIndex{\centering} +% \DoNotIndex{\centerline} +% \DoNotIndex{\chapter} +% \DoNotIndex{\citation} +% \DoNotIndex{\clearpage} +% \DoNotIndex{\csname} +% \DoNotIndex{\day} +% \DoNotIndex{\def} +% \DoNotIndex{\do} +% \DoNotIndex{\edef} +% \DoNotIndex{\else} +% \DoNotIndex{\end} +% \DoNotIndex{\endcsname} +% \DoNotIndex{\endlist} +% \DoNotIndex{\exhyphenpenalty} +% \DoNotIndex{\expandafter} +% \DoNotIndex{\f@baselineskip} +% \DoNotIndex{\fancyhf} +% \DoNotIndex{\fancypagestyle} +% \DoNotIndex{\fi} +% \DoNotIndex{\futurelet} +% \DoNotIndex{\gdef} +% \DoNotIndex{\hangindent} +% \DoNotIndex{\headrulewidth} +% \DoNotIndex{\if@filesw} +% \DoNotIndex{\if@tempswa} +% \DoNotIndex{\ifcase} +% \DoNotIndex{\ifmlastyle@bibstyle} +% \DoNotIndex{\ifmlastyle@format} +% \DoNotIndex{\ifmlastyle@papersize} +% \DoNotIndex{\ifmlastyle@style} +% \DoNotIndex{\ifmlastyle@times} +% \DoNotIndex{\ifmlastyle@underline} +% \DoNotIndex{\ifx} +% \DoNotIndex{\immediate} +% \DoNotIndex{\item} +% \DoNotIndex{\itemindent} +% \DoNotIndex{\itemsep} +% \DoNotIndex{\labelsep} +% \DoNotIndex{\labelwidth} +% \DoNotIndex{\leavevmode} +% \DoNotIndex{\leftmargin} +% \DoNotIndex{\leftmargini,\leftmarginii,\leftmarginiii} +% \DoNotIndex{\leftmarginiv,\leftmarginv,\leftmarginvi} +% \DoNotIndex{\let} +% \DoNotIndex{\linespread} +% \DoNotIndex{\list} +% \DoNotIndex{\listparindent} +% \DoNotIndex{\makeenmark} +% \DoNotIndex{\mbox} +% \DoNotIndex{\mlastyle@bibstylefalse} +% \DoNotIndex{\mlastyle@bibstyletrue} +% \DoNotIndex{\mlastyle@cite} +% \DoNotIndex{\mlastyle@course} +% \DoNotIndex{\mlastyle@formatfalse} +% \DoNotIndex{\mlastyle@formattrue} +% \DoNotIndex{\mlastyle@instructor} +% \DoNotIndex{\mlastyle@intbib} +% \DoNotIndex{\mlastyle@papersizefalse} +% \DoNotIndex{\mlastyle@papersizetrue} +% \DoNotIndex{\mlastyle@qspread} +% \DoNotIndex{\mlastyle@sl@sh} +% \DoNotIndex{\mlastyle@slash} +% \DoNotIndex{\mlastyle@slashnext} +% \DoNotIndex{\mlastyle@slashx} +% \DoNotIndex{\mlastyle@stylefalse} +% \DoNotIndex{\mlastyle@styletrue} +% \DoNotIndex{\mlastyle@surname} +% \DoNotIndex{\mlastyle@timesfalse} +% \DoNotIndex{\mlastyle@timestrue} +% \DoNotIndex{\mlastyle@underlinefalse} +% \DoNotIndex{\mlastyle@underlinetrue} +% \DoNotIndex{\month} +% \DoNotIndex{\newblock} +% \DoNotIndex{\newcommand} +% \DoNotIndex{\newenvironment} +% \DoNotIndex{\newif} +% \DoNotIndex{\newpage} +% \DoNotIndex{\noindent} +% \DoNotIndex{\normalsize} +% \DoNotIndex{\notesname} +% \DoNotIndex{\number} +% \DoNotIndex{\or} +% \DoNotIndex{\p@} +% \DoNotIndex{\pagestyle} +% \DoNotIndex{\par} +% \DoNotIndex{\parindent} +% \DoNotIndex{\parsep} +% \DoNotIndex{\penalty} +% \DoNotIndex{\relax} +% \DoNotIndex{\renewcommand} +% \DoNotIndex{\renewenvironment} % \DoNotIndex{\reset@font} -% \DoNotIndex{\rightmargin,\rlap,\rmfamily} -% \DoNotIndex{\setbox,\setcounter,\setlength} -% \DoNotIndex{\skip,\slshape,\space} -% \DoNotIndex{\trivlist,\typeout,\tw@} -% \DoNotIndex{\voffset,\vskip,\vspace,\year,\z@} +% \DoNotIndex{\rhead} +% \DoNotIndex{\setlength} +% \DoNotIndex{\settowidth} +% \DoNotIndex{\sfcode} +% \DoNotIndex{\skip} +% \DoNotIndex{\sloppy} +% \DoNotIndex{\space} +% \DoNotIndex{\string} +% \DoNotIndex{\sw@llow} +% \DoNotIndex{\the} +% \DoNotIndex{\thepage} +% \DoNotIndex{\topsep} +% \DoNotIndex{\usecounter} +% \DoNotIndex{\vskip} +% \DoNotIndex{\write} +% \DoNotIndex{\year} +% \DoNotIndex{\z@} +% \DoNotIndex{\evensidemargin} +% \DoNotIndex{\headheight} +% \DoNotIndex{\headsep} +% \DoNotIndex{\hoffset} +% \DoNotIndex{\marginparwidth} +% \DoNotIndex{\oddsidemargin} +% \DoNotIndex{\raggedbottom} +% \DoNotIndex{\raggedright} +% \DoNotIndex{\textheight} +% \DoNotIndex{\textwidth} +% \DoNotIndex{\topmargin} +% \DoNotIndex{\voffset} +% \DoNotIndex{\paperheight} +% \DoNotIndex{\paperwidth} +% \DoNotIndex{\pdfpageheight} +% \DoNotIndex{\pdfpagewidth} +% \DoNotIndex{\special} % % \newcommand*{\Lopt}[1]{\textsf {#1}} % \newcommand*{\file}[1]{\texttt {#1}} @@ -137,7 +258,7 @@ %\end{document}\end{verbatim} % \subsection{Initiation Macros} % \DescribeMacro{\maketitle} -% \DescribeMacro{\instuctor} +% \DescribeMacro{\instructor} % \DescribeMacro{\course} % The mandatory heading\index{heading|usage} is generated with % |\maketitle|. Use the standard macros |\author|, |\title|, and |\date| @@ -177,9 +298,10 @@ % % \subsection{Documentating Sources} % -% Coupled with \BibTeX, \package{mlastyle} provides a experimental -% implementation of MLA documentation style. Put |\bibstyle{mlastyle}| in -% the document preamble to load the bibliography style. +% Coupled with \BibTeX\index{BibTeX\actualchar\BibTeX|usage} +% \package{mlastyle} provides a experimental implementation of MLA +% documentation style. Put |\bibliographystyle{mlastyle}| in the document +% preamble to load the bibliography style. % % \StopEventually{\PrintChanges\PrintIndex} % @@ -189,6 +311,9 @@ % \fi % \subsection{Options} % +% \begin{macro}{\ifmlastyle@*} +% \begin{macro}{\mlastyle@*true} +% \begin{macro}{\mlastyle@*false} % Most options are implemented by modifying a |\newif| declared for this % purpose. % \begin{macrocode} @@ -224,6 +349,9 @@ \ExecuteOptions{nobibstyle,nopapersize,mla,cm,doublespacequotes} \ProcessOptions % \end{macrocode} +% \end{macro} +% \end{macro} +% \end{macro} % If the \Lopt{papersize} option is set, add the appropriate % \textsc{PostScript} special, or adjust |\pdfpagewidth| and % |\pdfpageheight| if pdf\LaTeX{} is in use. @@ -320,6 +448,7 @@ % \end{macrocode} % \end{macro} % \begin{macro}{\section} +% \begin{macro}{\subsection} % Sections are formatted by centering the section name and beginning a new % page. Subsections simply center the section name. % \begin{macrocode} @@ -329,6 +458,7 @@ }{0pt}{1sp}{\centering}} % \end{macrocode} % \end{macro} +% \end{macro} % \subsubsection{Environments} % ^^A%\newenvironment{blocks}{\begin{quote} \linespread{1} \small \normalsize}{\end{quote} \linespread{2} \small \normalsize} % ^^A%\newenvironment{blockm}{\begin{quotation} \linespread{1} \small \normalsize}{\end{quotation} \linespread{2} \small \normalsize} @@ -464,11 +594,6 @@ \fi % \end{macrocode} % \subsubsection{Miscellaneous} -% With all packages loaded, we can now redefine |/|. -% \begin{macrocode} - %\catcode`/=13 - %\let/=\mlastyle@slash -% \end{macrocode} % The definition of |\thebibliography| varies depending on the document % class. % \begin{macrocode} @@ -486,6 +611,8 @@ \def\newblock{} \usecounter{enumiv} \sloppy%\sfcode`\.=1000\relax + \catcode`/=13 + \let/=\mlastyle@slash }} % \end{macrocode} % Report/book class. @@ -500,6 +627,8 @@ \def\newblock{} \usecounter{enumiv} \sloppy%\sfcode`\.=1000\relax + \catcode`/=13 + \let/=\mlastyle@slash }} % \end{macrocode} % We're done formatting! @@ -529,7 +658,7 @@ % \end{macro} % \subsubsection{MLA Style} % \begin{macro}{\citeM} -% If the \Lopt{compat} option is {\em not\/} used, the following is +% If the \Lopt{mla} or \Lopt{style} options are used, the following is % executed. % \begin{macrocode} \ifmlastyle@style -- 2.30.2