[texhax] Problem with BIBTEX (apa-good.bst file)

Stephen Hicks sdh33 at cornell.edu
Thu Mar 25 19:31:52 CET 2010


I'm looking at the apa-good.bst source here:

http://github.com/whenders0n/thesis/blob/78c5338cfb25b2a0e3b7b31e4babee394d5b1088/extrrrastuff/APA/apa-good.bst

Note that on line 978 (FUNCTION {inbook}) there are two "if$"
statements (this is a postfix language, like postscript or RPN
calculators).  The editor fields are only output if the author is
empty (I'm not sure what's going on in the other branch since I've
never found a good reference to bst).  In any case, you might try
copying the bst file and replacing it with a new one in your local
directory with a slightly different name, and change lines 980-990
(inclusive) to

  author empty$
    { format.editors "author and editor" output.check
      editor format.key output
    }
    { format.authors output.nonnull
      editor empty$
      'skip$
      { format.editors output.nonnull }
      if$
    }
  if$

I've certainly removed functionality here, since I don't know what's
up with crossref, but this could maybe possibly get the job done for
you...?

Cheers,
steve

On Wed, Mar 24, 2010 at 2:02 PM, Chandrasekaran, Lakshmi
<lchand at lsuhsc.edu> wrote:
> Hi,
>
>
>
> I am Lakshmi Chandrasekaran, a postdoctoral fellow, in Louisiana State
> University Health Sciences Center, New Orleans.
>
>
>
> I am using LATEX to write a journal article. I use the “apa-good.bst” style
> file in order to run BIBTEX.  I need to include a book Chapter in the
> references list.  In the .bib file,  when I use the heading @INBOOK and then
> give the required information like author  name, editor name, year, pages,
> publisher etc.  I do not see the “editor names” appearing in the references
> page when I compile the tex file.  I am not sure what the problem is and  I
> am wondering if you could help me fix this issue.
>
>
>
> Thanks.
>
> Lakshmi
>
>
>
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
>
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org
>



More information about the texhax mailing list