Fixed urlstyle
authorTim Pope <code@tpope.net>
Sun, 23 Nov 2003 06:08:48 +0000 (06:08 +0000)
committerTim Pope <code@tpope.net>
Sun, 23 Nov 2003 06:08:48 +0000 (06:08 +0000)
mlastyle.dtx

index 038c451..4722b1b 100644 (file)
@@ -775,6 +775,12 @@ Schlegl",
 % \begin{macro}{\urlstyle@mlastyle}
 % This first bit is always done, even if formatting is disabled.
 %    \begin{macrocode}
+\RequirePackage{url}
+\def\url@mlastyle{\url@samestyle
+  \mathchardef\UrlBreakPenalty 0
+  \relpenalty\UrlBreakPenalty
+  \def\UrlBigBreaks{\do\/\do@url@hyp}
+}
 %    \end{macrocode}
 % \end{macro}
 % \begin{macro}{\mlastyle@i}
@@ -995,11 +1001,6 @@ Schlegl",
 % \begin{macro}{\url@mlastyle}
 % |\url| is needed to format urls in the bibliography.
 %    \begin{macrocode}
-\RequirePackage{url}
-\def\url@mlastyle{\url@samestyle
-  \mathchardef\UrlBreakPenalty 0
-  \def\UrlBigBreaks{\do\/\do@url@hyp}
-  }
 \urlstyle{mla}
 %    \end{macrocode}
 % \end{macro}