/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: 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,
51
51
%                                    fix journal number formatting.
52
52
%                   ver 2.5   9/10 - Internationalization and some more journal
53
53
%                                    MACROs (thanks to Mateus Araujo)
54
 
%                   ver 2.7   8/11 - Fix "et~al." in format.crossref.editor, too.
55
 
%                                    (Reported by Blake Stacey)
56
 
%                   ver 2.8  12/18 - Fix format.title and format.title.p for when the
 
54
%                   ver 2.7  12/18 - Fix format.title and format.title.p for when the
57
55
%                                    title contains trailing punctuation.
58
56
%
59
57
% HyperTeX Wizardry:
373
371
                'skip$
374
372
              if$
375
373
              t "others" =
376
 
                { " {\em et~al.}" * }
 
374
                { " {\em et al.}" * }
377
375
                { string.and * t * }
378
376
              if$
379
377
            }
769
767
{ editor #1 "{vv~}{ll}" format.name$
770
768
  editor num.names$ duplicate$
771
769
  #2 >
772
 
    { pop$ " {\em et~al.}" * }
 
770
    { pop$ " {\em et.~al.}" * }
773
771
    { #2 <
774
772
        'skip$
775
773
        { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
776
 
            { " {\em et~al.}" * }
 
774
            { " {\em et.~al.}" * }
777
775
            { string.and * editor #2 "{vv~}{ll}" format.name$ * }
778
776
          if$
779
777
        }