/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 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, 4/08
 
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}"
473
473
FUNCTION {format.title}
474
474
{ title empty$
475
475
    { "" }
476
 
    {title title text.length$ #1 substring$ "?" =
477
 
     title title text.length$ #1 substring$ "!" =
478
 
     title title text.length$ #1 substring$ "." =
479
 
     or or
 
476
    {title title text.length$ #1 substring$ duplicate$ duplicate$ "?" =
 
477
     swap$ "!" = or
 
478
     swap$ "." = or
480
479
      { "``" title * "''" * }
481
480
      { "``" title * ",''" * }
482
481
    if$