Capitalization problem with american-medical-association.csl

I am experiencing a capitalization problem with american-medical-association.csl. I am not sure whether the problem is due to an error in the CSL definition or whether pandoc-citeproc is to blame?

Here is a copy of the hs-citeproc bug I filed earlier over at https://code.google.com/p/citeproc-hs/issues/detail?id=100


What steps will reproduce the problem?

1. Download http://www.zotero.org/styles/american-medical-association

2. Create input.md and previews.bib from http://tex.stackexchange.com/a/182835/26348

3. pandoc --bibliography=previews.bib --csl=american-medical-association.csl -o output.pdf input.md


What is the expected output?

1. Sambrook J, Russell DW. Molecular Cloning: A Laboratory Manual. 3rd ed. Cold Spring Harbor, NY: CSHL Press; 2001.

2. Kötter P, Ciriacy M. Xylose fermentation by Saccharomyces cerevisiae. Appl Microbiol Biotechnol. 1993;38(6):776-783. doi:10.1007/BF00167144.

3. Pear R. Crisis Puts Tax Moves Into Play. The New York Times. http://www.nytimes.com/2008/10/02/business/02tax.html. Published October 2, 2008. Accessed October 4, 2008.

4. Method and system for placing a purchase order via a communications network. 1999. Available at: http://www.patentstorm.us/patents/5960411.html. Accessed October 4, 2008.

5. Hogue CWV. Structure Databases. In: Baxevanis AD, Ouellette BFF, eds. Bioinformatics. 2nd ed. Life Sciences Series. New York, NY: Wiley-Interscience; 2001:83-109.


What do you see instead?

The capitalisation of the book titles is not according to the AMA spec.
http://www.lib.jmu.edu/citation/amaguide.pdf

1. Sambrook J, Russell DW. Molecular cloning: A laboratory manual. 3rd ed.
Cold Spring Harbor, NY: CSHL Press; 2001.

2. Kötter P, Ciriacy M. Xylose fermentation by saccharomyces cerevisiae. Applied
Microbiology and Biotechnology. 1993;38(6):776-783. doi:10.1007/BF00167144.

3. Pear R. Crisis puts tax moves into play. The New York Times. 2008. Available
at: http://www.nytimes.com/2008/10/02/business/02tax.html.

4. Method and system for placing a purchase order via a communications
network. 1999. Available at: http://www.google.com/patents/US5960411.

5. Hogue CWV. Structure databases. In: Baxevanis AD, Ouellette BFF, eds.
Bioinformatics. 2nd ed. Life sciences series. New York, NY: Wiley-Interscience;
2001:83-109.


What version of the product are you using? On what operating system?
Ubuntu precise (12.04.4 LTS)
x86_64 GNU/Linux

Please provide any additional information below.
Might be related to http://tex.stackexchange.com/q/10772/26348
  • (generally, please do not file tickets with citeproc developers unless you have either specifically checked the style code or someone who has tells you that something is a processor bug)
    This looks like a style issue. I'll see when I can get to it.
  • FWIW, though, your expected output for chapters and Newspaper articles is incorrect. Those should be the way they are formatted now.
  • FYI, I copied the expected output from the pop-up on the Zotero Style Repository.
  • no, that was the output before we updated the data (see your other thread). If you look now, it's pretty much the same as in pandoc.
  • Sorry, I am a bit confused. In the Zotero Style Repository, it still carries the tag
    <updated>2014-03-02T06:43:03+00:00</updated>
  • I have also come to realise that the last "Hogue" citation does not lend itself well for testing capitalisation. The book title should be composed of at least two major words for CSL testing purposes.

    5. Hogue CWV. Structure databases. In: Baxevanis AD, Ouellette BFF, eds. Bioinformatics. 2nd ed. Life sciences series. New York, NY: Wiley-Interscience;
    2001:83-109.
  • the timestamp reflects the last time the style was updated, not the data.
  • The only remaining capitalisation problem with american-medical-association.csl would then be with citations of the "InProceedings" and the "InCollection" type in BibTeX. Here are two respective examples generated with the latest CSL:

    1. Carrel R. The design of log-periodic dipole antennas. In: IRE international convention record.Vol 9.; 1961:61-75. doi:10.1109/IRECON.1961.1151016.

    7. DuHamel RH, Scherer JP. Frequency-independent antennas. In: Johnson RC, ed. Antenna engineering handbook. 3rd ed. McGraw-Hill, Inc.; 1993:35-53.

    "IRE international convention record" and "Antenna engineering handbook" need to have the major words capitalised according to the AMA Manual of Style.
    http://www.amamanualofstyle.com/
    http://www.lib.jmu.edu/citation/amaguide.pdf
    The latter link is free.
  • this affects all book titles, both as containers (for chapters) and as individual monographs.
  • Thanks for all your help. I am looking forward to the style correction.
  • I did it myself; see pull-request:
    https://github.com/citation-style-language/styles/pull/977
  • The styles are now fixed. The updated version will appear on the repository within 30mins (check the timestamp). Update your copy of the style by clicking "Update Now" in the General tab of the Zotero preferences.

    Styles also update automatically within 24hs for Zotero 4.0+
    In an existing document, you may have to switch to a different style and back for the changes to take effect once the style is updated.
    Any further problems please let us know & thanks for reporting
Sign In or Register to comment.