X-Git-Url: http://git.tpope.net/?p=latex-mlastyle.git;a=blobdiff_plain;f=mlastyle.bst;h=30b216959715dee3b2a194cef99a2ffe5d9a2375;hp=4f855302cd473715c61cfa91b695baf0b4932cc4;hb=77725df66cfb9a50347bf204074d25219f24e565;hpb=4848e62224cc86bba4f6e81225418ea48fb5c681 diff --git a/mlastyle.bst b/mlastyle.bst index 4f85530..30b2169 100644 --- a/mlastyle.bst +++ b/mlastyle.bst @@ -1,4 +1,4 @@ -% $Id: mlastyle.bst,v 1.15 2003-11-23 05:09:53 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,10 +789,14 @@ 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" + "\theurldate{}" } { "accessdate in " cite$ * " is depreciated; use urldate instead" * warning$ accessdate @@ -1182,6 +1187,7 @@ FUNCTION {mastersthesis} 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 @@ -1216,6 +1222,7 @@ FUNCTION {phdthesis} 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