Required url package
authorTim Pope <code@tpope.net>
Sat, 22 Nov 2003 08:15:19 +0000 (08:15 +0000)
committerTim Pope <code@tpope.net>
Sat, 22 Nov 2003 08:15:19 +0000 (08:15 +0000)
More indexing

mlastyle.dtx

index bdcb18fbe7646b6af551b598d42a43454a916dca..8c3cc7a6d21466f64443c98b8ad683aea1a83b96 100644 (file)
@@ -123,26 +123,22 @@ Schlegl",
 %
 % \GetFileInfo{mlastyle.sty}
 %
 %
 % \GetFileInfo{mlastyle.sty}
 %
-% \DoNotIndex{\ }
-% \DoNotIndex{\.}
+% \DoNotIndex{\ ,\:,\/}
 % \DoNotIndex{\@afterindentfalse,\@afterindenttrue}
 % \DoNotIndex{\@arabic}
 % \DoNotIndex{\@author}
 % \DoNotIndex{\@auxout}
 % \DoNotIndex{\@afterindentfalse,\@afterindenttrue}
 % \DoNotIndex{\@arabic}
 % \DoNotIndex{\@author}
 % \DoNotIndex{\@auxout}
-% \DoNotIndex{\@citea,\@citeb}
+% \DoNotIndex{\@citea,\@citeb,\@citex}
 % \DoNotIndex{\@date}
 % \DoNotIndex{\@empty}
 % \DoNotIndex{\@for}
 % \DoNotIndex{\@ifnextchar,\@ifstar,\@ifundefined}
 % \DoNotIndex{\@latex@warning}
 % \DoNotIndex{\@listI}
 % \DoNotIndex{\@date}
 % \DoNotIndex{\@empty}
 % \DoNotIndex{\@for}
 % \DoNotIndex{\@ifnextchar,\@ifstar,\@ifundefined}
 % \DoNotIndex{\@latex@warning}
 % \DoNotIndex{\@listI}
-% \DoNotIndex{\@listi}
-% \DoNotIndex{\@listii}
-% \DoNotIndex{\@listiii}
-% \DoNotIndex{\@listiv}
-% \DoNotIndex{\@listv}
-% \DoNotIndex{\@listvi}
+% \DoNotIndex{\@listi,\@listii,\@listiii}
+% \DoNotIndex{\@listiv,\@listv,\@listvi}
 % \DoNotIndex{\@m}
 % \DoNotIndex{\@m}
+% \DoNotIndex{\@noitemerr}
 % \DoNotIndex{\@startsection}
 % \DoNotIndex{\@tempswafalse}
 % \DoNotIndex{\@title}
 % \DoNotIndex{\@startsection}
 % \DoNotIndex{\@tempswafalse}
 % \DoNotIndex{\@title}
@@ -151,9 +147,12 @@ Schlegl",
 % \DoNotIndex{\ExecuteOptions}
 % \DoNotIndex{\G@refundefinedtrue}
 % \DoNotIndex{\NAT@@citetp,\NAT@citetp,\NAT@ctype,\NAT@date,\NAT@sep}
 % \DoNotIndex{\ExecuteOptions}
 % \DoNotIndex{\G@refundefinedtrue}
 % \DoNotIndex{\NAT@@citetp,\NAT@citetp,\NAT@ctype,\NAT@date,\NAT@sep}
+% \DoNotIndex{\ifNAT@par,\ifNAT@swa}
 % \DoNotIndex{\ProcessOptions}
 % \DoNotIndex{\RequirePackage}
 % \DoNotIndex{\UL@start,\UL@stop}
 % \DoNotIndex{\ProcessOptions}
 % \DoNotIndex{\RequirePackage}
 % \DoNotIndex{\UL@start,\UL@stop}
+% \DoNotIndex{\url@samestyle,\urlstyle,\UrlBigBreaks,\UrlBreakPenalty}
+% \DoNotIndex{\do@url@hyp}
 % \DoNotIndex{\addtolength}
 % \DoNotIndex{\advance}
 % \DoNotIndex{\baselineskip}
 % \DoNotIndex{\addtolength}
 % \DoNotIndex{\advance}
 % \DoNotIndex{\baselineskip}
@@ -192,7 +191,7 @@ Schlegl",
 % \DoNotIndex{\headrulewidth}
 % \DoNotIndex{\if@filesw}
 % \DoNotIndex{\if@tempswa}
 % \DoNotIndex{\headrulewidth}
 % \DoNotIndex{\if@filesw}
 % \DoNotIndex{\if@tempswa}
-% \DoNotIndex{\ifcase}
+% \DoNotIndex{\ifcase,\ifhmode,\ifnum}
 % \DoNotIndex{\ifmlastyle@bibstyle}
 % \DoNotIndex{\ifmlastyle@format}
 % \DoNotIndex{\ifmlastyle@pages}
 % \DoNotIndex{\ifmlastyle@bibstyle}
 % \DoNotIndex{\ifmlastyle@format}
 % \DoNotIndex{\ifmlastyle@pages}
@@ -215,6 +214,7 @@ Schlegl",
 % \DoNotIndex{\linespread}
 % \DoNotIndex{\list}
 % \DoNotIndex{\listparindent}
 % \DoNotIndex{\linespread}
 % \DoNotIndex{\list}
 % \DoNotIndex{\listparindent}
+% \DoNotIndex{\mathchardef}
 % \DoNotIndex{\makeenmark}
 % \DoNotIndex{\mbox}
 % \DoNotIndex{\ml@}
 % \DoNotIndex{\makeenmark}
 % \DoNotIndex{\mbox}
 % \DoNotIndex{\ml@}
@@ -280,6 +280,7 @@ Schlegl",
 % \DoNotIndex{\usecounter}
 % \DoNotIndex{\unskip}
 % \DoNotIndex{\vskip}
 % \DoNotIndex{\usecounter}
 % \DoNotIndex{\unskip}
 % \DoNotIndex{\vskip}
+% \DoNotIndex{\xdef}
 % \DoNotIndex{\write}
 % \DoNotIndex{\year}
 % \DoNotIndex{\z@}
 % \DoNotIndex{\write}
 % \DoNotIndex{\year}
 % \DoNotIndex{\z@}
@@ -795,7 +796,7 @@ Schlegl",
 % No penalty for |\slash|.
 % ^^A\let\mlastyle@sl@sh=/
 %    \begin{macrocode}
 % No penalty for |\slash|.
 % ^^A\let\mlastyle@sl@sh=/
 %    \begin{macrocode}
-  \def\slash{/\penalty\z@}
+  \edef\slash{/\penalty\z@}
 %    \end{macrocode}
 % ^^A \def\mlastyle@slash{/\futurelet\mlastyle@slashnext\mlastyle@slashx}
 % ^^A \def\mlastyle@slashx{\ifx\mlastyle@slashnext/\else
 %    \end{macrocode}
 % ^^A \def\mlastyle@slash{/\futurelet\mlastyle@slashnext\mlastyle@slashx}
 % ^^A \def\mlastyle@slashx{\ifx\mlastyle@slashnext/\else
@@ -955,6 +956,9 @@ Schlegl",
   \def\footnotesize{\normalsize}
 %    \end{macrocode}
 % ^^A\let\footnoterule\relax
   \def\footnotesize{\normalsize}
 %    \end{macrocode}
 % ^^A\let\footnoterule\relax
+% \begin{macro}{\enoteformat}
+% \begin{macro}{\enoteheading}
+% \begin{macro}{\enotesize}
 % Endnotes are supported, but only if the \package{endnotes} package is
 % loaded {\em before\/} this package.
 %    \begin{macrocode}
 % Endnotes are supported, but only if the \package{endnotes} package is
 % loaded {\em before\/} this package.
 %    \begin{macrocode}
@@ -964,16 +968,28 @@ Schlegl",
     \def\enotesize{\normalsize}
   \fi
 %    \end{macrocode}
     \def\enotesize{\normalsize}
   \fi
 %    \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
 % \subsubsection{Bibliography}
 % \subsubsection{Bibliography}
-% \textsc{To Do}: Switch to the \package{url} package.
+% \begin{macro}{\url@mlastyle}
+% |\url| is needed to format urls in the bibliography.
+% Are |\UrlBreakPenalty| and |\UrlBigBreakPenalty| reversed?
 %    \begin{macrocode}
 %    \begin{macrocode}
-\ifx\@undefined\url{
-  \catcode`/=13
-    \gdef\url{\bgroup\catcode`/=13
-    \let/\slash\mlastyle@url}
-    \gdef\mlastyle@url#1{#1\egroup}
-}\fi
+\RequirePackage{url}
+\def\url@mlastyle{\url@samestyle
+  \mathchardef\UrlBreakPenalty 0
+  \def\UrlBigBreaks{\do\/\do@url@hyp}
+  }
+\urlstyle{mla}
 %    \end{macrocode}
 %    \end{macrocode}
+% \end{macro}
+% ^^A\ifx\@undefined\url{
+% ^^A  \catcode`/=13
+% ^^A    \gdef\url{\bgroup\catcode`/=13
+% ^^A    \let/\slash\mlastyle@url}
+% ^^A    \gdef\mlastyle@url#1{#1\egroup}}
+% ^^A}\fi
 % \begin{environment}{thebibliography}
 % The definition of |thebibliography| varies depending on the document
 % class.
 % \begin{environment}{thebibliography}
 % The definition of |thebibliography| varies depending on the document
 % class.