From: Tim Pope Date: Sun, 23 Nov 2003 05:09:53 +0000 (+0000) Subject: \url, etc now created with \providecommand X-Git-Url: http://git.tpope.net/?p=latex-mlastyle.git;a=commitdiff_plain;h=4848e62224cc86bba4f6e81225418ea48fb5c681 \url, etc now created with \providecommand --- diff --git a/mlastyle.bst b/mlastyle.bst index 8803e79..4f85530 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.15 2003-11-23 05:09:53 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 @@ -1627,11 +1627,9 @@ FUNCTION {begin.bib} 'skip$ if$ url.used - { "\expandafter\ifx\csname url\endcsname\relax\let\url\relax\fi" + { "\providecommand\url[1]{\texttt{#1}}" write$ newline$ - "\expandafter\ifx\csname theurldate\endcsname\relax" - write$ newline$ - "\let\theurldate\today\fi" + "\providecommand\theurldate{\today}" write$ newline$ } 'skip$