/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 utcaps.bst

  • Committer: Jacques Distler
  • Date: 2008-04-07 07:12:53 UTC
  • Revision ID: distler@golem.ph.utexas.edu-20080407071253-42a1qsvm1ttbm0xd
Initial Commits

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.1. 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,
45
45
%                   ver 1.9   6/05 - eprint support for other entry types
46
46
%                   ver 2.0   4/08 - support "new-style" eprint identifiers
47
47
%                   ver 2.1   4/08 - support for "url" field
48
 
%                   ver 2.2   4/08 - support for "doi" field
49
48
%
50
49
% HyperTeX Wizardry:
51
50
%
84
83
%
85
84
%     \href{http://cogprints.org/5542}{{\tt Cogprints:5542}}  
86
85
%
87
 
%  If a "doi" field is present, then the journal reference becomes a
88
 
%  clickable hyperlink to the online journal version of the paper.
89
 
%
90
86
% The bibtex output produced by SPIRES, while far from perfect, is pretty
91
87
% suitable for use with this style. Indeed, this style was designed with
92
88
% SPIRES in mind.
122
118
    archivePrefix
123
119
    primaryClass
124
120
    url
125
 
    doi
126
121
  }
127
122
  {}
128
123
  { label }
454
449
      if$
455
450
    }
456
451
    { month empty$
457
 
        {"(" year * ") " *}
458
 
        {"(" month * ", " * year * ") " *}
 
452
        {"(" year * ")" *}
 
453
        {"(" month * ", " * year * ")" *}
459
454
      if$
460
455
    }
461
456
  if$
582
577
FUNCTION {format.volume}
583
578
{ volume empty$
584
579
    { "" }
585
 
    { "{\bf " volume * "} " * }
 
580
    { "{\bf " volume * "}" * }
586
581
  if$
587
582
}
588
583
 
741
736
  " \cite{" * crossref * "}" *
742
737
}
743
738
 
744
 
FUNCTION {format.journal}
745
 
{ journal missing$   
746
 
    { "" }
747
 
    {journal emphasize " " *
748
 
     format.volume *
749
 
     format.date.paren *
750
 
     month empty$
751
 
             { format.number }
752
 
             'skip$
753
 
        if$ * " " *
754
 
      format.pages.nopp *
755
 
      }
756
 
    if$
757
 
}
758
 
 
759
739
FUNCTION {article}
760
740
{ output.bibitem
761
741
  format.collaboration output
765
745
  crossref missing$
766
746
  { journal missing$   
767
747
    {}
768
 
    { doi missing$
769
 
        {format.journal}
770
 
        { "\href{http://dx.doi.org/" doi * "}{" *
771
 
            format.journal * "}" *}
772
 
       if$ output
 
748
    { journal emphasize "journal" output.check
 
749
       blank.sep
 
750
      format.volume output
 
751
      blank.sep
 
752
      format.date.paren "year"  output.check
 
753
      month empty$
 
754
                { format.number output }
 
755
                'skip$
 
756
         if$
 
757
      blank.sep
 
758
      format.pages.nopp output
773
759
      }
774
760
      if$
775
761
      report missing$