Some minor tweaks for APA style in BibTeX exporter

First of all, thanks for creating Zotero. It's great!

I'm using the apalike bibliography style in the LyX document processor, and noticed a few problems. I tweaked the export portion of Simon Kornblith's BibTeX filter a bit to clear them up.

The modified version:

1. Uses "webpage" type rather than forcing it into "misc".
2. If the author or date isn't specified, uses "Anonymous" and "n.d." respectively. If either of these fields is missing, the apalike bibliography style in LyX (and possibly other LaTeX-based applications) chokes, generating unfriendly and unhelpful LaTeX error messages. Having the author show up as "Anonymous" and the date as "n.d." at least makes the problem visible (and also conforms to APA style when the author or date really are unavailable. I don't know how other styles handle this).
3. Adds an APA style "Retrieved (date) from (url)" BibTeX note field to entries of type "webpage" (again, this may be APA-specific -- other styles probably handle this differently).
4. If the author is a single field in Zotero's last name field, the exporter now surrounds the field with {} so that BibTeX considers it a single unit. This prevents (e.g.) "Croquet Consortium" from showing up as "Consortium, C." in the APA-style bibliography.

If anyone wants the modified version drop me a line. I'd post it here, but I don't see any way to attach files.

Thanks again for this great tool!

-- Tony
  • Hi,

    I ran into the same problem, finding webpages in the @misc category. Using plain style the URL didn't show up because Zotero Export defines the field "url = {http://distrowatch.com/}", but what one really needs in order for the URLs to show is "howpublished = {http://distrowatch.com/}" (without quotation marks). Any means to fix this even in the standard export filter? If not I'd be happy to try your customized export filter.

    Regards
Sign In or Register to comment.