2.0 Beta breaks Citation Style? - Please Help!

Hi all,

I just installed the 2.0 beta and I think its really great!
But I just found out that the Citation Style that I created does not work like it used to with the new configuration.

Do you have suggestions how to fix the problems described below?
Thanks a lot(!) for any help,

Frank


PROBLEM 1

Dates of newspapers in the bibliography are no longer displayed correctly:

For example a date that was displayed as: "6. April 2009" is now displayed as: "6undefined April 2009"

What can I do to fix this?

This is the code for the date in my style:
- - - - - -
<macro name="published-date">
<choose>
<if type="article-newspaper">
<date variable="issued">
<date-part name="day" form="ordinal" suffix=" "/>
<date-part name="month" form="long" suffix=" "/>
<date-part name="year" form="long"/>
</date>
</if>
</choose>
</macro>

- - - - - - -

PROBLEM 2:

I programmed my style to make it possible that printed media can also have a URL in case they are also available online. In this case the bibliography should add:

"Zugleich online im Internet: URL: http://blabla.at (Zugriff am: 22.08.2009)"

(Translation: Additionally online on the Internet: URL: etc. (Acessed on: 22.08.2009)

VERY odd: this still seems to work for books and chapters but not for articles in journals or newspapers ??

This is the code for this in my style:

- - - - - -

<macro name="access">
<choose>
<if type="webpage">
<choose>
<if variable="URL">
<text value="Online im Internet: URL: "/>
<text variable="URL"/>
<group prefix=" (" delimiter=" " suffix=")">
<text value="Zugriff am:"/>
<date variable="accessed">
<date-part name="day" form="numeric-leading-zeros" suffix="." />
<date-part name="month" suffix="." form="numeric-leading-zeros"/>
<date-part name="year" form="long"/>
</date>
</group>
</if>
</choose>
</if>
<if type="book chapter article-journal article-newspaper" match="any">
<choose>
<if variable="URL">
<text value=". Zugleich online im Internet: URL: "/>
<text variable="URL"/>
<group prefix=" (" delimiter=" " suffix=")">
<text value="Zugriff am:"/>
<date variable="accessed">
<date-part name="day" form="numeric-leading-zeros" suffix="." />
<date-part name="month" suffix="." form="numeric-leading-zeros"/>
<date-part name="year" form="long"/>
</date>
</group>
</if>
</choose>
</if>
</choose>
</macro>

- - - - - - - - - - - -

Download - URL of the style:
http://www.fhv.at/learningsupport/LSC/download/fhv-citation-style-1-0.csl


- - -
This was my old configuration:

OS: Win XP
Firefox: 3.0.10
Word 2002 (10.4219.4219) SP2
Zotero-Plugin for Word 1.0b3
Zotero 1.0.9

With this configuration, the Style worked fine (and it also worked on OSX 10.5 with Word for Mac 2004)

- - - - -
This is the new configuration:

OS: Win XP
Firefox: 3.0.10
Word 2002 (10.4219.4219) SP2
Zotero-Plugin for Word 1.0b4
Zotero 2.0b5

This configuration has the problems mentioned above
- - - - - - -
  • Note that your style does not validate. You should use else-if @ line 113.
  • For example a date that was displayed as: "6. April 2009" is now displayed as: "6undefined April 2009"
    What locale do you use? Perhaps the ordinals are broken? If you don't want ordinals & do want the punctuation, replace:<date-part name="day" form="ordinal" suffix=" "/>with:<date-part name="day" form="numeric" suffix=". "/>
  • I programmed my style to make it possible that printed media can also have a URL in case they are also available online...VERY odd: this still seems to work for books and chapters but not for articles in journals or newspapers ??
    You much check "Include URLs of paper articles in references" in your Zotero export preferences.
  • It worked! Thanks a lot!
This discussion has been closed.