-% $Id: mlastyle.bst,v 1.15 2003-11-23 05:09:53 tpope Exp $
+% $Id: mlastyle.bst,v 1.19 2005-02-08 15:13:47 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.
urldate
accessdate
urlpath
+ database
version
% eid isbn issn doi
}
FUNCTION {tie.or.space.connect}
{ duplicate$ text.length$ #3 <
- { "~" }
- { do.space }
+ { "~" swap$ * * }
+ { swap$ do.space swap$ * }
if$
- swap$ * *
}
FUNCTION {either.or.check}
}
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"
+ "\theurldate{}"
}
{ "accessdate in " cite$ * " is depreciated; use urldate instead" *
warning$ accessdate
format.title "title" output.check
new.block
"Diss." format.thesis.type output.nonnull
+ new.block
school "school" output.check
address output
format.date "year" output.check
format.btitle "title" output.check
new.block
"Diss." format.thesis.type output.nonnull
+ new.block
school "school" output.check
address output
format.date "year" output.check