/utphys

To download this project, use:
bzr branch http://golem.ph.utexas.edu/~distler/code/utphys/

« back to all changes in this revision

Viewing changes to utphys.bst

  • Committer: Jacques Distler
  • Date: 2009-08-05 21:36:13 UTC
  • Revision ID: distler@golem.ph.utexas.edu-20090805213613-73hx1d63ey499pjn
Fix Month Formatting

Fix bug in month formatting, reported by Florian Goth.

Show diffs side-by-side

added added

removed removed

1
 
% UT Physics bibliographic style, ver. 2.2. Based on:
 
1
% UT Physics bibliographic style, ver. 2.3. Based on:
2
2
%
3
3
%X     IEEE Transactions bibliography style (29-Jan-88 version)
4
4
%X       numeric labels, order-of-reference, IEEE abbreviations,
46
46
%                   ver 2.0   4/08 - support "new-style" eprint identifiers
47
47
%                   ver 2.1   4/08 - support for "url" field
48
48
%                   ver 2.2   4/08 - support for "doi" field
 
49
%                   ver 2.3   8/09 - fix month formatting
49
50
%
50
51
% HyperTeX Wizardry:
51
52
%
451
452
    }
452
453
    { month empty$
453
454
        'year
454
 
        { month ", " * year * }
 
455
        { month capitalize ", " * year * }
455
456
      if$
456
457
    }
457
458
  if$
468
469
    }
469
470
    { month empty$
470
471
        {"(" year * ") " *}
471
 
        {"(" month * ", " * year * ") " *}
 
472
        {"(" month capitalize * ", " * year * ") " *}
472
473
      if$
473
474
    }
474
475
  if$
760
761
    {journal emphasize " " *
761
762
     format.volume *
762
763
     format.date.paren *
763
 
     month empty$
764
 
             { format.number }
765
 
             'skip$
766
 
        if$ * " " *
767
 
      format.pages.nopp *
 
764
     format.pages.nopp *
768
765
      }
769
766
    if$
770
767
}