X-Git-Url: http://git.tpope.net/?p=latex-mlastyle.git;a=blobdiff_plain;f=mlastyle.dtx;h=46412055357c7ea7375d11b82db39337e27bd07c;hp=906ed671f6903ec1aa87d177d01f8e5120f55cda;hb=1877b83b5ede53de75ce8a0667bd9df4fd653444;hpb=6d6c34513e7937543b3b2dc0165c581e227d745c diff --git a/mlastyle.dtx b/mlastyle.dtx index 906ed67..4641205 100644 --- a/mlastyle.dtx +++ b/mlastyle.dtx @@ -630,16 +630,15 @@ Schlegl", % \end{macro} % \subsection{Formatting} % Formatting is done if the \Lopt{mla} or \Lopt{format} option is set. -% +% \begin{macrocode} +\ifmlastyle@format +% \end{macrocode} % \begin{macro}{\mlastyle@i} % This is the standard MLA format indent. % \begin{macrocode} \newdimen\mlastyle@i \mlastyle@i=.5in % \end{macrocode} % \end{macro} -% \begin{macrocode} -\ifmlastyle@format -% \end{macrocode} % \subsubsection{Macros} % \begin{macro}{\maketitle} % |\maketitle| generates a heading in MLA format. @@ -827,6 +826,9 @@ Schlegl", % The definition of |\thebibliography| varies depending on the document % class. % \begin{macrocode} +\ifx\@undefined\url + \def\url#1{{\catcode`/=13\let/=\mlastyle@slash#1}} +\fi \ifx\@undefined\citet \@ifundefined{chapter} % \end{macrocode} @@ -840,7 +842,6 @@ Schlegl", \itemindent-\leftmargin \def\newblock{} \usecounter{enumiv} - %\catcode`/=13\global\let/=\mlastyle@slash \sloppy%\sfcode`\.=\@m }} % \end{macrocode} @@ -854,7 +855,6 @@ Schlegl", \itemindent-\leftmargin \def\newblock{} \usecounter{enumiv} - %\catcode`/=13\let/=\mlastyle@slash \sloppy%\sfcode`\.=\@m }} % \end{macrocode}