/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: 2018-11-30 06:59:56 UTC
  • Revision ID: distler@golem.ph.utexas.edu-20181130065956-t05fldeue0uq1utx
Fix format.title and format.title.p for when
the title contains trailing punctuation.

Show diffs side-by-side

added added

removed removed

1
 
% UT Physics bibliographic style, ver. 2.8. Based on:
 
1
% UT Physics bibliographic style, ver. 2.5. 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,
53
53
%                                    MACROs (thanks to Mateus Araujo)
54
54
%                   ver 2.6   2/11 - Yipes! Fix capitalization of titles, spooged
55
55
%                                    in previous version. (Reported by Ling Weak)
56
 
%                   ver 2.7   8/11 - Fix "et~al." in format.crossref.editor, too.
57
 
%                                    (Reported by Blake Stacey)
58
 
%                   ver 2.8  12/18 - Fix format.title and format.title.p for when the
 
56
%                   ver 2.7  12/18 - Fix format.title and format.title.p for when the
59
57
%                                    title contains trailing punctuation.
60
58
%
61
59
% HyperTeX Wizardry:
375
373
                'skip$
376
374
              if$
377
375
              t "others" =
378
 
                { " {\em et~al.}" * }
 
376
                { " {\em et al.}" * }
379
377
                { string.and * t * }
380
378
              if$
381
379
            }
771
769
{ editor #1 "{vv~}{ll}" format.name$
772
770
  editor num.names$ duplicate$
773
771
  #2 >
774
 
    { pop$ " {\em et~al.}" * }
 
772
    { pop$ " {\em et.~al.}" * }
775
773
    { #2 <
776
774
        'skip$
777
775
        { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
778
 
            { " {\em et~al.}" * }
 
776
            { " {\em et.~al.}" * }
779
777
            { string.and * editor #2 "{vv~}{ll}" format.name$ * }
780
778
          if$
781
779
        }