/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: 2010-07-23 05:15:26 UTC
  • Revision ID: distler@golem.ph.utexas.edu-20100723051526-bdwovutom4p1wamx
New Styles

utmath.bst        The hypertex style preferred by Dan Freed
                  (based on ...)
hyperamsalpha.bst Hypertex version of amsalpha.bst
hyperamsplain.bst Hypertex version of amsplain.bst
                  (preferred by Marco Gualtieri)

Show diffs side-by-side

added added

removed removed

1
 
% UT Physics bibliographic style, ver. 2.5. 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,
49
49
%                   ver 2.3   8/09 - fix month formatting
50
50
%                   ver 2.4   7/10 - remove some deprecated font-constructws.
51
51
%                                    fix journal number formatting.
52
 
%                   ver 2.5   9/10 - Internationalization and some more journal
53
 
%                                    MACROs (thanks to Mateus Araujo)
54
52
%
55
53
% HyperTeX Wizardry:
56
54
%
101
99
% suitable for use with this style. Indeed, this style was designed with
102
100
% SPIRES in mind.
103
101
 
104
 
FUNCTION {string.and} {" and "}
105
 
FUNCTION {string.editors} {", eds."}
106
 
FUNCTION {string.editor} {", ed."}
107
 
FUNCTION {string.edition} {"~ed."}
108
 
FUNCTION {string.volume} {"vol.~"}
109
 
FUNCTION {string.capsvolume} {"Vol.~"}
110
 
FUNCTION {string.of} {" of "}
111
 
FUNCTION {string.number} {"no.~"}
112
 
FUNCTION {string.capsnumber} {"No.~"}
113
 
FUNCTION {string.in} {"in "}
114
 
FUNCTION {string.spacein} {" in "}
115
 
FUNCTION {string.capsin} {"In "}
116
 
FUNCTION {string.multipages} {"pp.~"}
117
 
FUNCTION {string.pages} {"p.~"}
118
 
FUNCTION {string.chapter} {"ch.~"}
119
 
FUNCTION {string.techrep} {"Tech. Rep."}
120
 
FUNCTION {string.mastersthesis} {"Master's thesis"}
121
 
FUNCTION {string.phdthesis} {"PhD thesis"}
122
 
 
123
 
MACRO {jan} {"Jan."}
124
 
MACRO {feb} {"Feb."}
125
 
MACRO {mar} {"Mar."}
126
 
MACRO {apr} {"Apr."}
127
 
MACRO {may} {"May"}
128
 
MACRO {jun} {"June"}
129
 
MACRO {jul} {"July"}
130
 
MACRO {aug} {"Aug."}
131
 
MACRO {sep} {"Sept."}
132
 
MACRO {oct} {"Oct."}
133
 
MACRO {nov} {"Nov."}
134
 
MACRO {dec} {"Dec."}
135
 
MACRO {am} {"Acta Math."}
136
 
MACRO {amj} {"Am. J. Phys."}
137
 
MACRO {ap} {"Ann. Phys."}
138
 
MACRO {cmp} {"Comm. Math. Phys."}
139
 
MACRO {ijmp} {"Int. Jour. Mod. Phys."}
140
 
MACRO {mpl} {"Mod. Phys. Lett."}
141
 
MACRO {njp} {"New J. Phys"}
142
 
MACRO {nup} {"Nucl. Phys."}
143
 
MACRO {pl} {"Phys. Lett."}
144
 
MACRO {pla} {"Phys. Lett. A"}
145
 
MACRO {pr} {"Phys. Rev."}
146
 
MACRO {pra} {"Phys. Rev. A"}
147
 
MACRO {prl} {"Phys. Rev. Lett."}
148
 
MACRO {repmp} {"Rep. Math. Phys"}
149
 
MACRO {rmp} {"Rev. Mod. Phys."}
150
 
 
151
 
MACRO {arXiv}     {"http://arxiv.org/abs"}
152
 
MACRO {cogprints} {"http://cogprints.org"}
153
 
MACRO {pubmed}    {"http://www.ncbi.nlm.nih.gov/pubmed"}
154
 
 
155
102
ENTRY
156
103
  { address
157
104
    author
370
317
              if$
371
318
              t "others" =
372
319
                { " {\em et al.}" * }
373
 
                { string.and * t * }
 
320
                { " and " * t * }
374
321
              if$
375
322
            }
376
323
          if$
446
393
     if$
447
394
}
448
395
 
449
 
FUNCTION {format.howpublished}
450
 
{ howpublished empty$
451
 
    { "" }
452
 
    { howpublished capitalize
453
 
    }
454
 
  if$
455
 
}
456
 
 
457
396
FUNCTION {format.editors}
458
397
{ editor empty$
459
398
    { "" }
460
399
    { editor format.names
461
400
      editor num.names$ #1 >
462
 
        { string.editors * }
463
 
        { string.editor * }
 
401
        { ", eds." * }
 
402
        { ", ed." * }
464
403
      if$
465
404
    }
466
405
  if$
469
408
FUNCTION {format.title}
470
409
{ title empty$
471
410
    { "" }
472
 
    { "``" title * ",''" * }
 
411
    { "``" title "t" change.case$ * ",''" * }
473
412
  if$
474
413
}
475
414
 
476
415
FUNCTION {format.title.p}
477
416
{ title empty$
478
417
    { "" }
479
 
    { "``" title * ".''" * }
 
418
    { "``" title "t" change.case$ * ".''" * }
480
419
  if$
481
420
}
482
421
 
575
514
FUNCTION {format.bvolume}
576
515
{ volume empty$
577
516
    { "" }
578
 
    { string.volume volume *
 
517
    { "vol.~" volume *
579
518
      series empty$
580
519
        'skip$
581
 
        { string.of * series emphasize * }
 
520
        { " of " * series emphasize * }
582
521
      if$
583
522
      "volume and number" number either.or.check
584
523
    }
590
529
    { number empty$
591
530
        { series field.or.null }
592
531
        { output.state mid.sentence =
593
 
            { string.number }
594
 
            { string.capsnumber }
 
532
            { "no.~" }
 
533
            { "No.~" }
595
534
          if$
596
535
          number *
597
536
          series empty$
598
537
            { "there's a number but no series in " cite$ * warning$ }
599
 
            { string.spacein * series * }
 
538
            { " in " * series * }
600
539
          if$
601
540
        }
602
541
      if$
608
547
FUNCTION {format.edition}
609
548
{ edition empty$
610
549
    { "" }
611
 
    { edition "l" change.case$ string.edition * }
 
550
    { edition "l" change.case$ "~ed." * }
612
551
  if$
613
552
}
614
553
 
638
577
{ pages empty$
639
578
    { "" }
640
579
    { pages multi.page.check
641
 
        { string.multipages pages n.dashify * }
642
 
        { string.pages pages * }
 
580
        { "pp.~" pages n.dashify * }
 
581
        { "p.~" pages * }
643
582
      if$
644
583
    }
645
584
  if$
677
616
{ chapter empty$
678
617
    'format.pages
679
618
    { type empty$
680
 
        { string.chapter chapter * }
 
619
        { "ch.~" chapter * }
681
620
        { type "l" change.case$ chapter tie.or.space.connect }
682
621
      if$
683
622
      pages empty$
691
630
FUNCTION {format.in.ed.booktitle}
692
631
{ booktitle empty$
693
632
    { "" }
694
 
    { string.in booktitle emphasize *
 
633
    { "in " booktitle emphasize *
695
634
      editor empty$
696
635
        'skip$
697
636
        { ", " * format.editors *  }
723
662
 
724
663
FUNCTION {format.tr.number}
725
664
{ type empty$
726
 
    { string.techrep }
 
665
    { "Tech. Rep." }
727
666
    'type
728
667
  if$
729
668
  number empty$
746
685
          warning$
747
686
          ""
748
687
        }
749
 
        { string.in "{\em " * journal * "\/}" * }
 
688
        { "in {\em " journal * "\/}" * }
750
689
      if$
751
690
    }
752
 
    { string.in key * }
 
691
    { "in " key * }
753
692
  if$
754
693
  " \cite{" * crossref * "}" *
755
694
}
763
702
        'skip$
764
703
        { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
765
704
            { " {\em et.~al.}" * }
766
 
            { string.and * editor #2 "{vv~}{ll}" format.name$ * }
 
705
            { " and " * editor #2 "{vv~}{ll}" format.name$ * }
767
706
          if$
768
707
        }
769
708
      if$
774
713
FUNCTION {format.book.crossref}
775
714
{ volume empty$
776
715
    { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
777
 
      string.capsin
 
716
      "In "
778
717
    }
779
 
    { string.capsvolume volume *
780
 
      string.of *
 
718
    { "Vol.~" volume *
 
719
      " of " *
781
720
    }
782
721
  if$
783
722
  editor empty$
810
749
              crossref * warning$
811
750
              ""
812
751
            }
813
 
            { string.in "{\em " * booktitle * "\/}" * }
 
752
            { "in {\em " booktitle * "\/}" * }
814
753
          if$
815
754
        }
816
 
        { string.in key * }
 
755
        { "in " key * }
817
756
      if$
818
757
    }
819
 
    { string.in format.crossref.editor * }
 
758
    { "in " format.crossref.editor * }
820
759
  if$
821
760
  " \cite{" * crossref * "}" *
822
761
}
918
857
      blank.sep
919
858
    }
920
859
  if$
921
 
  format.howpublished output
 
860
  howpublished capitalize output
922
861
  address output
923
862
  format.date output
924
863
  new.block
1081
1020
  format.authors "author" output.check
1082
1021
  format.title add.doi "title" output.check
1083
1022
  blank.sep
1084
 
  string.mastersthesis format.thesis.type output.nonnull
 
1023
  "Master's thesis" format.thesis.type output.nonnull
1085
1024
  school "school" output.check
1086
1025
  address output
1087
1026
  format.date "year" output.check
1107
1046
      blank.sep
1108
1047
    }
1109
1048
  if$
1110
 
  format.howpublished output
 
1049
  howpublished capitalize output
1111
1050
  format.date output
1112
1051
  new.block
1113
1052
  format.url output
1123
1062
  format.authors "author" output.check
1124
1063
  format.btitle add.doi "title" output.check
1125
1064
  new.block
1126
 
  string.phdthesis format.thesis.type output.nonnull
 
1065
  "PhD thesis" format.thesis.type output.nonnull
1127
1066
  school "school" output.check
1128
1067
  address output
1129
1068
  format.date "year" output.check
1200
1139
 
1201
1140
FUNCTION {default.type} { misc }
1202
1141
 
 
1142
MACRO {jan} {"Jan."}
 
1143
 
 
1144
MACRO {feb} {"Feb."}
 
1145
 
 
1146
MACRO {mar} {"Mar."}
 
1147
 
 
1148
MACRO {apr} {"Apr."}
 
1149
 
 
1150
MACRO {may} {"May"}
 
1151
 
 
1152
MACRO {jun} {"June"}
 
1153
 
 
1154
MACRO {jul} {"July"}
 
1155
 
 
1156
MACRO {aug} {"Aug."}
 
1157
 
 
1158
MACRO {sep} {"Sept."}
 
1159
 
 
1160
MACRO {oct} {"Oct."}
 
1161
 
 
1162
MACRO {nov} {"Nov."}
 
1163
 
 
1164
MACRO {dec} {"Dec."}
 
1165
 
 
1166
MACRO {nup} {"Nucl. Phys."}
 
1167
 
 
1168
MACRO {cmp} {"Comm. Math. Phys."}
 
1169
 
 
1170
MACRO {prl} {"Phys. Rev. Lett."}
 
1171
 
 
1172
MACRO {pl} {"Phys. Lett."}
 
1173
 
 
1174
MACRO {rmp} {"Rev. Mod. Phys."}
 
1175
 
 
1176
MACRO {ijmp} {"Int. Jour. Mod. Phys."}
 
1177
 
 
1178
MACRO {mpl} {"Mod. Phys. Lett."}
 
1179
 
 
1180
MACRO {pr} {"Phys. Rev."}
 
1181
 
 
1182
MACRO {arXiv}     {"http://arxiv.org/abs"}
 
1183
MACRO {cogprints} {"http://cogprints.org"}
 
1184
MACRO {pubmed}    {"http://www.ncbi.nlm.nih.gov/pubmed"}
 
1185
 
1203
1186
READ
1204
1187
 
1205
1188
STRINGS { longest.label }