Genetics style - A few formatting questions

I'm trying to get a style working for Genetics. By modifying an existing style, I have gotten pretty close, but there are still two problems.

1 - The authors names need to by in small caps, which I have done with
<name font-variant="small-caps" />
However, the "and delimiter is now in small caps, but should be in lowercase. Any suggestions?

2 - I need a period and space between authors initials. It currently outputs as "BUDDE MW," but it should be "BUDDE M. W.,"
Any suggestions?
Thanks!
  • edited April 20, 2011
    2 - is easier: you put - initialize-with=". " in the <name...> segment of the author part.
    1 - is only possible in csl 1.0: You'd have to download the existing style from the csl 1.0 repository
    https://github.com/citation-style-language/styles
    and make your changes in that style. Specifically the directions for name parts are here:
    http://citationstyles.org/downloads/specification.html#name-part-formatting
  • Done and done. Thanks for the quick response.

    For part one, all I had to do was move
    'font-variant="small-caps"' from '<name>' to '<name-part name="family" font-variant="small-caps" />'
  • I now have it working well enough in my hands, but since I just modified an old file there is a bunch of stuff that I'm not sure is necessary. There might also be times when it would produce unexpected results. Should I go ahead and upload it, and if so, how?
  • please do make the style available if it's relevant to a broader audience:
    http://www.zotero.org/support/dev/citation_styles/sharing_styles
  • Wow, you responded in 4 seconds! Will do, thanks.
  • I'm not that fast - we overlapped - any effort you can put in making the style as good and reliable as possible is appreciated, of course.
  • Uploaded to http://forums.zotero.org/discussion/17646/genetics-style/

This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.