Added database field
authorTim Pope <code@tpope.net>
Thu, 27 Nov 2003 05:11:13 +0000 (05:11 +0000)
committerTim Pope <code@tpope.net>
Thu, 27 Nov 2003 05:11:13 +0000 (05:11 +0000)
mlastyle.bst

index 296c93f5bd933d8ae761289fee32da523218ef83..30b216959715dee3b2a194cef99a2ffe5d9a2375 100644 (file)
@@ -1,4 +1,4 @@
-% $Id: mlastyle.bst,v 1.17 2003-11-26 19:24:27 tpope Exp $
+% $Id: mlastyle.bst,v 1.18 2003-11-27 05:11:13 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.
@@ -38,6 +38,7 @@ ENTRY
     urldate
     accessdate
     urlpath
+    database
     version
     % eid isbn issn doi
   }
@@ -788,7 +789,11 @@ FUNCTION {format.tr.number}
 }
 
 FUNCTION {format.urldate}
-{ urldate missing$
+{ database empty$
+    'skip$
+    { database selective.emphasize output.nonnull new.block }
+  if$
+  urldate missing$
   { accessdate empty$
       { cite$ " has no urldate field" * warning$
        "\theurldate{}"