Differences between reference pane and MS Word bibliography
Hi all,
Did some searches and saw nothing on this, apologies if this has been covered already.
I've been editing a .csl file to create a new style for a journal that didn't have one previously in the repository.
Using the reference test pane, my book section component of the csl shows up correctly. Example:
Deignan, H. G. (1964). Birds of the Arnhem Land expedition. In ‘Records of the American-Australian scientific expedition to Arnhem Land. Vol. 4’. (Ed C. P. Mountford.) pp. 345–425. (Melbourne University Press: Melbourne, Australia).
When I look at the results in MS Word, however, it doesn't show up correctly. Example:
Deignan, H. G. (1964). Birds of the Arnhem Land expedition. In C. P. Mountford, ed. Records of the American-Australian scientific expedition to Arnhem Land. Vol. 4. Melbourne University Press: Melbourne, Australia, pp.345–425.
The problem appears to be that the reference pane recognizes a Zotero entry with Item Type: Book Section as such (am I right that this is referred to as "chapter" in the csl file? per: http://gsl-nagoya-u.net/http/pub/csl-fields/bookSection.html), while the MS Word plugin does not, and defaults to the last else statement in the csl file, e.g. the display for some other item type.
Thanks for any help you can offer!
Did some searches and saw nothing on this, apologies if this has been covered already.
I've been editing a .csl file to create a new style for a journal that didn't have one previously in the repository.
Using the reference test pane, my book section component of the csl shows up correctly. Example:
Deignan, H. G. (1964). Birds of the Arnhem Land expedition. In ‘Records of the American-Australian scientific expedition to Arnhem Land. Vol. 4’. (Ed C. P. Mountford.) pp. 345–425. (Melbourne University Press: Melbourne, Australia).
When I look at the results in MS Word, however, it doesn't show up correctly. Example:
Deignan, H. G. (1964). Birds of the Arnhem Land expedition. In C. P. Mountford, ed. Records of the American-Australian scientific expedition to Arnhem Land. Vol. 4. Melbourne University Press: Melbourne, Australia, pp.345–425.
The problem appears to be that the reference pane recognizes a Zotero entry with Item Type: Book Section as such (am I right that this is referred to as "chapter" in the csl file? per: http://gsl-nagoya-u.net/http/pub/csl-fields/bookSection.html), while the MS Word plugin does not, and defaults to the last else statement in the csl file, e.g. the display for some other item type.
Thanks for any help you can offer!
Post the style to gist.github.com or pastebin.com and provide a link and we can take a look.
stdin:55:10: error: missing attributes of http://purl.org/net/xbiblio/csl^text
required:
attribute ^macro
attribute ^term
attribute ^value
attribute ^variable
allowed:
attribute ^form
attribute ^plural
attribute ^form
attribute ^prefix
attribute ^display
attribute ^font-style
attribute ^font-variant
attribute ^font-weight
attribute ^text-decoration
attribute ^vertical-align
attribute ^quotes
attribute ^strip-periods
error: invalid input
Link: https://gist.github.com/3751067
Any help as to what I did to screw the file up would be greatly appreciated.
Thanks!
<text text-case="capitalize-first" suffix=" "/>
What gives?
https://gist.github.com/raw/3751375/c89f9ed7bca46b77c24ed8963d343bfa335fb88e/emu.csl
Note that in an existing document, you may have to switch to a different style and back.
https://github.com/citation-style-language/styles/wiki/Submitting-Styles
https://gist.github.com/3756913
Let me know if I should do something different (e.g. start a new thread for this)
https://github.com/citation-style-language/styles/wiki/Style-Requirements
also, I'd suggest using the full journal title - i.e. Emu - Austral Ornithology for title, ID, and file name.
Thanks!
If you want to update the style in the future, please always start with the version on the repository, since we usually touch up some formatting etc. (if you're interested, note how I've replace the quotation marks with quotes="true" which has some important advantages.
Thanks for contributing!
Re-opening this conversation since the topic is the same
The style I have encoded (that validates; git://gist.github.com/3880061.git), anything goes nice with the test panel but nothing goes with MS Word 2007.
The main (and sole) problem lies around using
to create a carriage return in the bibliography.
Other CR code tested (
) didn't work neither in word.
What could I do?
Thanks in advance
Tested: & # 10 ;
Smith, J. [CR]
2010: Blablabla [CR]
2011: Blablabla
Zmith, R. [CR]
2009: Bla [CR]
2010: Blablabla [CR]
2011: Blablabla
Cf. l'autre discussion.