Style Request: Global Ecology and Biogeography
Hi all,
I would like to request a style file for Wiley's "Global Ecology and Biogeography".
Luckily it seems to be quite close to Bioinformatics Journal:
Similar style:
* Bioinformatics Journal, http://www.zotero.org/styles/bioinformatics/dev
Differences:
* citation in the text:
- (M. Reiter and P. LaPointe, 2007) --> (Reiter & LaPointe, 2007)
- (Markus Neteler, 2010a, 2010b) --> (Neteler, 2010a, b)
* References:
# note the white space before ,N and after the first of several names which is also needed:
Achee,N.B. et al. (2006) Use of remote... --> Achee, N. B. & Moore, P. D. (1999)
(2006) Use of remote
Needs to be in Italics:
- title of book
- title of edited book
Invert order for edited books and give eds names in brackets:
- author, chapter title. Book title (ed. by Name1, Name2, and Name3), pp. pages, publisher, town.
* Link to style guide:
http://www.wiley.com/bw/submit.asp?ref=1466-822X&site=1
* A free PDF:
http://www3.interscience.wiley.com/cgi-bin/fulltext/122613906/PDFSTART
My attempts to modify the Bioinformatics Journal style myself failed...
thanks in advance
Markus
I would like to request a style file for Wiley's "Global Ecology and Biogeography".
Luckily it seems to be quite close to Bioinformatics Journal:
Similar style:
* Bioinformatics Journal, http://www.zotero.org/styles/bioinformatics/dev
Differences:
* citation in the text:
- (M. Reiter and P. LaPointe, 2007) --> (Reiter & LaPointe, 2007)
- (Markus Neteler, 2010a, 2010b) --> (Neteler, 2010a, b)
* References:
# note the white space before ,N and after the first of several names which is also needed:
Achee,N.B. et al. (2006) Use of remote... --> Achee, N. B. & Moore, P. D. (1999)
(2006) Use of remote
Needs to be in Italics:
- title of book
- title of edited book
Invert order for edited books and give eds names in brackets:
- author, chapter title. Book title (ed. by Name1, Name2, and Name3), pp. pages, publisher, town.
* Link to style guide:
http://www.wiley.com/bw/submit.asp?ref=1466-822X&site=1
* A free PDF:
http://www3.interscience.wiley.com/cgi-bin/fulltext/122613906/PDFSTART
My attempts to modify the Bioinformatics Journal style myself failed...
thanks in advance
Markus
No it would be great if you can include this new style as well as the style for "global change biology".
Thanks in advance.
Cheers
Clem
How long will it take to implement this style?
Thanks in advance.
http://www.zotero.org/support/dev/citation_styles/style_editing_step-by-step
http://citationstyles.org/downloads/primer.html
and more detailed:
http://citationstyles.org/downloads/specification.html
are starting points
When citing books the word "edition" ist abberviated with "edn" in Global Ecology and Biogeography.
<text term="edition" form="short" suffix="." strip-periods="true"/>
gives me the abbreviation "ed" which actually stands for "editor" am I right?
I can't find a possibility to change this.
http://citationstyles.org/downloads/specification.html#locale
most styles use ed. for edition, too.
I have another question:
<locale>
<terms>
<term name="edition" form="short">edn</term>
<term name="editor" form="verb">ed. by </term>
</terms>
</locale>
<macro name="editor">
<names variable="editor" delimiter=",">
<label form="verb" prefix=" (" text-case="lowercase" suffix=" " strip-periods="true"></label>
<name sort-separator=", " and="text" initialize-with="." delimiter=", " suffix=")"></name>
</names>
</macro>
works quite fine, except for the "." in "ed. by " There is no output of the "." in the bibliography. It works with a "," or a ":" but not with the ".". What could be the reason?
On the other hand I also don't get the clue how <label form="verb" prefix=" (" text-case="lowercase" suffix=" " strip-periods="true"></label> refers to the term I set in the locales.
The last problem I'm aware at the moment is the one I stated above.
The style already works good enough for me, but before adding it to the style repository someone with experience should have a look on it.
The period is stripped by the strip-periods="true" attribute you set on the cs:label element. Delete strip-periods="true" and the period will appear. (To clarify: all terms are definied with periods in the abbreviations in Zotero's locale files - if you don't want periods you add the strip-periods attribute, if you want periods you leave it out - for that reason I'd actually recommend defining edn. with a period and then stripping it later, i.e.
<text term="edition" form="short" strip-periods="true"/> - doesn't make a difference, but your style will be in line with CSL conventions.
To explain
<label form="verb" prefix=" (" text-case="lowercase" suffix=" " strip-periods="true"></label>
label elements are attached to variables that can require different labels - e.g. a name can be an editor or a translator - the label changes accordingly to ed. or trans. (the same is true for the labels for locators, which can be pages, paragraphs etc.). That's why the label variable in your example produces "ed. by" - if you changed the editor to an author in Zotero it would read "trans. by". form="short" means it uses the abbreviated version - i.e. "ed. by" instead of "edited by" and form="verb" means it uses a verb to describe the function - i.e. "edited by" instead of "editor(s)". Hope that makes sense.
When you're done, here are instructions for sharing the style:
http://www.zotero.org/support/dev/citation_styles/sharing_styles
once you put it on github I'll take a look and upload it to the repo if everything looks ok.
I already knew more or less what lable does, but didn't realise that it is always attached to a variable.
I still didn't get the difference of name and text elements, but I will hopefully find this in the style language specification.
I think I will upload the style script, which is hopefully not too chaotic, tomorrow.
git://gist.github.com/1018616.git
It worked fine for me, but I don't think it's perfekt already.
http://books.xmlschemata.org/relaxng/ch19-77049.html
I didn't check every detail of the style of course, but citations look good in general.
thanks a lot for preparing the style! There is one small error: the abbreviation of the first name of the author comes sometimes up in the text citations, while the journal requires that only the last names are given in the text citations. Would it be possible to change that? Or is it just a problem I have (since the abbreviations come only up in some but not all citations)?
Many thanks in advance.
http://www.zotero.org/support/kb/given_name_disambiguation