/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: 2010-07-04 17:42:01 UTC
  • Revision ID: distler@golem.ph.utexas.edu-20100704174201-ddwfyriylmkj6br9
Journal Number

Restore journal number output.
Also fix some deprecated font constructions.
Both reported by Mateus Araujo.

Show diffs side-by-side

added added

removed removed

1
 
% UT Physics bibliographic style, ver. 2.3. Based on:
 
1
% UT Physics bibliographic style, ver. 2.4. 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,
47
47
%                   ver 2.1   4/08 - support for "url" field
48
48
%                   ver 2.2   4/08 - support for "doi" field
49
49
%                   ver 2.3   8/09 - fix month formatting
 
50
%                   ver 2.4   7/10 - remove some deprecated font-constructws.
 
51
%                                    fix journal number formatting.
50
52
%
51
53
% HyperTeX Wizardry:
52
54
%
57
59
%   eprint   = "hep-th/9605023"
58
60
% both produce 
59
61
%
60
 
%    \href{http://arxiv.org/abs/hep-th/9605023}{{\tt hep-th/9605023}}
 
62
%    \href{http://arxiv.org/abs/hep-th/9605023}{{\ttfamily hep-th/9605023}}
61
63
%
62
64
% in the bibliographic output at the appropriate point. More generally,
63
65
% if the archive field is present, we produce a URL of the form
68
70
%
69
71
% "New-style" arXiv identifiers are also supported.
70
72
%
71
 
%     archivePrefix = "arXiv",
 
 
'%     eprint    = "0707.3168",'
 
73
%     archivePrefix = "arXiv",
 
74
%     eprint    = "0707.3168",
72
75
%     primaryClass = "hep-th",
73
76
%
74
77
% produces
75
78
%
76
 
%     \href{http://arxiv.org/abs/0707.3168}{{\tt arXiv:0707.3168 [hep-th]}}
 
79
%     \href{http://arxiv.org/abs/0707.3168}{{\ttfamily arXiv:0707.3168 [hep-th]}}
77
80
%
78
81
% Another (non-arXiv) example:
79
82
%
83
86
%
84
87
%  produces
85
88
%
86
 
%     \href{http://cogprints.org/5542}{{\tt Cogprints:5542}}  
 
89
%     \href{http://cogprints.org/5542}{{\ttfamily Cogprints:5542}}  
87
90
%
88
91
%  If a
89
92
%
90
93
%       doi = "10.xxxx"
91
94
%
92
95
%  field is present, then the journal reference becomes a
93
 
%  clickable hyperlink to the online journal version of the paper.
 
96
%  clickable hyperlink to the online journal version of the paper.
94
97
%
95
98
% The bibtex output produced by SPIRES, while far from perfect, is pretty
96
99
% suitable for use with this style. Indeed, this style was designed with
355
358
     { ""}
356
359
     { archive empty$
357
360
          {"\href{http://arxiv.org/abs/" eprint * "}" * 
358
 
             "{{\tt " * format.archive * eprint *
 
361
             "{{\ttfamily " * format.archive * eprint *
359
362
              format.primaryClass * "}}" *}
360
363
          {"\href{" archive *  "/" * eprint * "}" * 
361
 
             "{{\tt " * format.archive * eprint *
 
364
             "{{\ttfamily " * format.archive * eprint *
362
365
              format.primaryClass * "}}" *}
363
366
       if$
364
367
     }
478
481
FUNCTION {format.collaboration}
479
482
{ collaboration empty$
480
483
    { "" }
481
 
    { "{\bf " collaboration * "} " * "Collaboration" * }
 
484
    { "{\bfseries " collaboration * "} " * "Collaboration" * }
482
485
  if$
483
486
}
484
487
 
583
586
 
584
587
FUNCTION {format.pages.nopp}
585
588
{ pages empty$
586
 
    { "" }
 
589
    { "empty pages in " cite$ * warning$
 
590
      ""
 
591
    }
587
592
    { pages multi.page.check
588
593
        { pages n.dashify  }
589
594
        { pages }
596
601
FUNCTION {format.volume}
597
602
{ volume empty$
598
603
    { "" }
599
 
    { "{\bf " volume * "} " * }
 
604
    { "{\bfseries " volume * "} " * }
600
605
  if$
601
606
}
602
607
 
603
608
FUNCTION {format.number}
604
609
{ number empty$
605
610
    { "" }
606
 
    { "no.~" number * "," *}
 
611
    { "no.~" number * ", " *}
607
612
  if$
608
613
}
609
614
 
760
765
    { "" }
761
766
    {journal emphasize " " *
762
767
     format.volume *
 
768
     format.number *
763
769
     format.date.paren *
764
770
     format.pages.nopp *
765
771
      }