X-Git-Url: http://git.tpope.net/?p=latex-mlastyle.git;a=blobdiff_plain;f=mlastyle.bst;h=73210a8d5301d1d84be505fc378069230e3a91d6;hp=296c93f5bd933d8ae761289fee32da523218ef83;hb=dff56533bcd958b2e43461718c6522019f973281;hpb=1c303e85c118c2d98c40c275c82b42ff8079fd4d diff --git a/mlastyle.bst b/mlastyle.bst index 296c93f..73210a8 100644 --- a/mlastyle.bst +++ b/mlastyle.bst @@ -1,4 +1,4 @@ -% $Id: mlastyle.bst,v 1.17 2003-11-26 19:24:27 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. @@ -38,6 +38,7 @@ ENTRY urldate accessdate urlpath + database version % eid isbn issn doi } @@ -538,10 +539,9 @@ FUNCTION {format.btitle} FUNCTION {tie.or.space.connect} { duplicate$ text.length$ #3 < - { "~" } - { do.space } + { "~" swap$ * * } + { swap$ do.space swap$ * } if$ - swap$ * * } FUNCTION {either.or.check} @@ -788,7 +788,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{}"