Éamonn Linehan wrote:
I have tried the .bst you suggested and it does work but deviates from APA
style in a number of places. I wonder if there is someone on the list who
could help me modify the .bst?

I can't do this right now---no time---but I'll look at it Monday.

rh
Books with an addition are formatted as "Catania, C. A. (1998). Learning.
Cornwall-on-Hudson, NY: Sloan Publishing, 4 ed." by this style but APA
requires they be formatted as "Catania, C. A. (1998). Learning (4th ed.).
Cornwall-on-Hudson, NY: Sloan Publishing.".

Looking through the .bst Style I found these two functions that seem to be
responsible but any modifications I have tried have resulted in the style
not working for books at all. Could anyone help me with this?

FUNCTION {book}
{ output.bibitem
  author empty$
    { format.editors "author and editor" output.check
      editor format.key output
      add.blank
    }
    { format.authors output.nonnull
      crossref missing$
        { "author and editor" editor either.or.check }
        'skip$
      if$
    }
  if$
  format.date "year" output.check
  date.block
  format.btitle "title" output.check
  crossref missing$
    { format.bvolume output
      new.block
      format.number.series output
      new.sentence
      format.publisher.address output
    }
    {
      new.block
      format.book.crossref output.nonnull
    }
  if$
  format.edition output
  new.block
  format.note output
  fin.entry
  write.url
}


FUNCTION {format.edition}
{ edition duplicate$ empty$ 'skip$
    {
      output.state mid.sentence =
        { "l" }
        { "t" }
      if$ change.case$
      "edition" bibinfo.check
      " " * bbl.edition *
    }
  if$
}
INTEGERS { multiresult }
FUNCTION {multi.page.check}
{ 't :=
  #0 'multiresult :=
    { multiresult not
      t empty$ not
      and
    }
    { t #1 #1 substring$
      duplicate$ "-" =
      swap$ duplicate$ "," =
      swap$ "+" =
      or or
        { #1 'multiresult := }
        { t #2 global.max$ substring$ 't := }
      if$
    }
  while$
  multiresult
}


Thanks

On Dec 28, 2007 6:29 PM, Jürgen Spitzmüller <[EMAIL PROTECTED]>
wrote:

Éamonn Linehan wrote:
Thanks Jürgen. Im sure i read somewhere that apalike is one of the
styles
compatible with natbib.
yes, this is a widespread misunderstanding.

If i can't use apalike with natbib is there another
style that is compatible with natbib that also implements the APA style
rules? Or can apalike be easily modified to support full author lists
(as
it appears to support all other features)
This one aims to do so (I have not tested it):
http://web.reed.edu/cis/help/LaTeX/images/apa-good.bst.zip

Jürgen





Reply via email to