[new csl] Trends In Parasitology
Hi all,
I am looking for some help in creating a csl for Trends in Parasitology (Cell Press)... I have got a basic level of understanding in csl hacking (minor changes only) but I need some significant help to build a new csl (or get someone to build a csl for me ;) ) for this journal.
Particular problems I am having are:
* Italicised "et al."
* Periods following journal title contractions
* General organisation for a full csl (ie. support for all media types)
I would have thought this would be a simple hack from existing Cell press journals, though sadly it is looking less and less like that! Any help would be much appreciated.
Some (possibly) useful links:
http://www.cell.com/trends/parasitology/home
http://www.cell.com/trends/parasitology/authors
I am looking for some help in creating a csl for Trends in Parasitology (Cell Press)... I have got a basic level of understanding in csl hacking (minor changes only) but I need some significant help to build a new csl (or get someone to build a csl for me ;) ) for this journal.
Particular problems I am having are:
* Italicised "et al."
* Periods following journal title contractions
* General organisation for a full csl (ie. support for all media types)
I would have thought this would be a simple hack from existing Cell press journals, though sadly it is looking less and less like that! Any help would be much appreciated.
Some (possibly) useful links:
http://www.cell.com/trends/parasitology/home
http://www.cell.com/trends/parasitology/authors
the best way to learn about style organization is from good existing styles - APA is pretty good for example and covers many different item types. Chicago Manual of Style covers even more, but might be too complicated.
References in this journal are (as a modern biological review journal) almost exclusively previous papers so as far as I am concerned I only need to consider the formatting of references to papers... Is it "bad form" to simply ignore other types of reference if I submitted this style to the repository?
Specific problems:
I want to make sure all journal title contractions use periods to indicate the contraction; ie:
Int. J. Parasit.
Curr. Opin. Microbiol.
Not:
Int J Parasit
Curr Opin Microbiol
In short, how!?
Secondly; what is the default text used as a prefix and suffix? I was having problems with formatting the volume number correctly until explicitly stating a prefix and suffix of "" (which I don't like as I feel it may mess up a reference with multiple volumes).
My WIP csl can be downloaded here:
http://dl.dropbox.com/u/1994002/cell_TrendsInParasitology.csl
What you should do is to resolve one type of item through an <else> loop rather than by specifying the item type in an <else-if> of <if>. That way all the types that aren't specifically defined will default to something rather than not creating any visible entry. If that "something" isn't necessarily right for item types that are never going to be used in a style, i.e. if your parasitology journal doesn't deal with legal cases "correctly" no one will ever complain.
Nevertheless, it would seem like any style should be able to do books, book sections, and journal articles and I have never seen authors instructions that didn't cover at least those three.
As Frank notes above, no solution to the journal abbr. issue - Zotero will print exactly whatever is in the journal abbr. field.
The only potentially relavent error log message is:
[JavaScript Error: "[Exception... "'CSL: style references undefined macro issuance' when calling method: [nsITimerCallback::notify]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no]"]
What is likely to be the cause of this? You can download the WIP style here:
http://dl.dropbox.com/u/1994002/TrendsInParasitology2.csl
A second problem (when working without a bibliography) is it doesn't renumber the numerical citations correctly. Ie. if you add a new citation at the end of the document (further on than existing citations) it is given the number [1]. Refreshing the document doesn't help but if you reformat to an alternative (fully functional) numerical reference style then switch back to this style it fixes the problem...
I'm guessing this is a problem with a sort tag somewhere, though I have no idea how to fix it!
Neither "et. al. term" nor "include-period="true" "
exist in the current csl, but I believe they are included in 1.0, which is forthcoming
If you take these two out things may look better, at least then the style validates.
validating against
http://xbiblio.svn.sourceforge.net/viewvc/xbiblio/csl/schema/tags/0.8/csl.rnc
would have caught these errors.
Any valid csl style will generally work with zotero, although there are some errors - especially referring to non existing macros - that the validator doesn't catch.
Latest version available here:
http://dl.dropbox.com/u/1994002/TrendsInParasitology3.csl
If this is true, we could use your style for all Trends Journals.
Zephyris, where can the latest version of your CSL be found?
1: http://download.cell.com/images/edimages/Trends/parasitology/TREPAR_Letter_Author_Guidelines_Feb_2009.pdf
http://download.cell.com/images/edimages/Trends/Endometabolism/TEM_Review_Guidelines2010.pdf
<!-- -->
to point out limitations in the current version
Sorry it's not in a better state, but here you go:
http://dl.dropbox.com/u/1994002/TrendsInParasitology4.csl