\url, etc now created with \providecommand
authorTim Pope <code@tpope.net>
Sun, 23 Nov 2003 05:09:53 +0000 (05:09 +0000)
committerTim Pope <code@tpope.net>
Sun, 23 Nov 2003 05:09:53 +0000 (05:09 +0000)
mlastyle.bst

index 8803e799217bac81c4ad56ac37e8e75a72ebc6e1..4f855302cd473715c61cfa91b695baf0b4932cc4 100644 (file)
@@ -1,4 +1,4 @@
-% $Id: mlastyle.bst,v 1.14 2003-11-23 00:15:32 tpope Exp $
+% $Id: mlastyle.bst,v 1.15 2003-11-23 05:09:53 tpope Exp $
 % BibTeX bibliography style `mlastyle'
 % Based on BibTeX standard bibliography style `plain'
        % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09.
@@ -64,7 +64,7 @@ FUNCTION {init.consts}
   #0 'citealp.used :=
   #0 'url.used :=
   " \ \ \ \ \unskip\unskip\unskip\unskip\unskip " 'empty.title :=
-  %"" 'empty.title :=
+  "" 'empty.title :=
 }
 
 % I do this a lot
@@ -1627,11 +1627,9 @@ FUNCTION {begin.bib}
     'skip$
   if$
   url.used
-    { "\expandafter\ifx\csname url\endcsname\relax\let\url\relax\fi"
+    { "\providecommand\url[1]{\texttt{#1}}"
       write$ newline$
-      "\expandafter\ifx\csname theurldate\endcsname\relax"
-      write$ newline$
-      "\let\theurldate\today\fi"
+      "\providecommand\theurldate{\today}"
       write$ newline$
     }
     'skip$