Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 8th, 2012  |  syntax: Latex  |  size: 0.84 KB  |  hits: 29  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. FUNCTION {format.journal.date}
  2. {
  3.  month "month" bibinfo.check
  4.  duplicate$ empty$
  5.  year  "year"  bibinfo.check duplicate$ empty$
  6.    {
  7.      swap$ 'skip$
  8.      { "there's a month but no year in " cite$ * warning$ }
  9.      if$
  10.      *
  11.    }
  12.    { swap$ 'skip$
  13.        {
  14.          " " * swap$
  15.        }
  16.      if$
  17.      *
  18.      remove.dots
  19.    }
  20.  if$
  21.  duplicate$ empty$
  22.    'skip$
  23.    {
  24.      before.all 'output.state :=
  25.    after.sentence 'output.state :=
  26.    }
  27.  if$
  28. }
  29.  
  30. FUNCTION {format.date}
  31. {
  32.  no.blank.or.punct
  33.  " "
  34.  duplicate$ empty$
  35.  year  "year"  bibinfo.check duplicate$ empty$
  36.    { swap$ 'skip$
  37.        { "there's a month but no year in " cite$ * warning$ }
  38.      if$
  39.      *
  40.    }
  41.    { swap$ 'skip$
  42.        {
  43.          swap$
  44.          " " * swap$
  45.        }
  46.      if$
  47.      *
  48.    }
  49.  if$
  50. }