/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 20:47:26 UTC
  • Revision ID: distler@golem.ph.utexas.edu-20181130204726-8lt4ieu6zcw0hnbq
Tags: 2.8
Better (or, at least, DRYer).

Show diffs side-by-side

added added

removed removed

21
21
%                    Jonathan Flynn' suggestion. SPIRES now supports this field.
22
22
%                 7) Improved output of Proceedings entries
23
23
%
24
 
%    Modified by Jacques Distler, 2/11
 
24
%    Modified by Jacques Distler, 12/18
25
25
%           History: ver 1.0  9/96
26
26
%                    ver 1.1 10/96 - added "collaboration" field
27
27
%                    ver 1.2  7/97 - added a "\providecommand{\href}[2]{#2}"
475
475
FUNCTION {format.title}
476
476
{ title empty$
477
477
    { "" }
478
 
    {title title text.length$ #1 substring$ "?" =
479
 
     title title text.length$ #1 substring$ "!" =
480
 
     title title text.length$ #1 substring$ "." =
481
 
     or or
 
478
    {title title text.length$ #1 substring$ duplicate$ duplicate$ "?" =
 
479
     swap$ "!" = or
 
480
     swap$ "." = or
482
481
      { "``" title "t" change.case$ * "''" * }
483
482
      { "``" title "t" change.case$ * ",''" * }
484
483
    if$