X-Git-Url: http://git.tpope.net/?p=latex-mlastyle.git;a=blobdiff_plain;f=mlastyle.bst;h=637853d441a18e3d1d8557c10213d37f9147b0f2;hp=8803e799217bac81c4ad56ac37e8e75a72ebc6e1;hb=94e66ed8027650d5105bb5435537564567d032d2;hpb=7c5fbf305a88920432cd2a8a6b95b3a86a224d71 diff --git a/mlastyle.bst b/mlastyle.bst index 8803e79..637853d 100644 --- a/mlastyle.bst +++ b/mlastyle.bst @@ -1,4 +1,4 @@ -% $Id: mlastyle.bst,v 1.14 2003-11-23 00:15:32 tpope Exp $ +% $Id: mlastyle.bst,v 1.16 2003-11-23 07:08:18 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 @@ -1182,6 +1182,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 +1217,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 @@ -1627,11 +1629,9 @@ FUNCTION {begin.bib} 'skip$ if$ url.used - { "\expandafter\ifx\csname url\endcsname\relax\let\url\relax\fi" - write$ newline$ - "\expandafter\ifx\csname theurldate\endcsname\relax" + { "\providecommand\url[1]{\texttt{#1}}" write$ newline$ - "\let\theurldate\today\fi" + "\providecommand\theurldate{\today}" write$ newline$ } 'skip$