Troubles adding a citation ID: 1987002443

I am having the following problem: I have updated my zotero to version 2.1.1. Since then I am having troubles adding citations into word 2007 documents. Everytime I want to add or edit a citation I receive an error message. I am using a german version, I can hardly translate it in English, since I neither understand it properly in German. In German it sais: "Der Wert für das Maß muss zwischen 0,7 pt und 1584 pt liegen" Meaning something like: the criterion for the coefficient has to be between 0,7 pt and 1584 pt.
What does it mean? And what do I need to do?
  • have you tried different citation styles?
  • edited April 4, 2011
    I had the same problem. After changing the citation style the error disappeared.
    Thanks for the advice!
  • edited April 28, 2011
    I had the same problem (it only happened with books and so on) and it does disappear when I change the citation style. The problem is that I needed my style.

    So I found a solution which might work:
    In the "author-short" macro I had this:

    <macro name="author-short">
    <choose>
    <if variable="volume" type="book" match="all">
    <text variable="volume" />
    </if>
    <else>
    ...
    </else>
    </choose>


    I deleted all this code and just left the part replaced by "..." and it worked again. I don't exactly know why it works but perhaps that works for you too...
  • the reason this didn't work is that invalid csl fails more consistently in Zotero 2.1 -
    if you need to test for a variable and a type you need two nested ifs:
    <if variable="volume">
    <if type="book">
    ....
    <if>
    </if>
  • edited April 28, 2011
    Ah, I didn't notice that. In the course of sorting out another issue today, I discovered that the "all" match term was not working correctly. I've fixed that processor bug, and the original CSL should work in the next release (I think).
  • @adamsmith: it should be possible to test multiple conditions on a single cs:if element. Also, your nested example contains some errors (you'd need to nest both cs:choose and cs:if, and the third tag should be an end-tag).
  • Using my self-made citation style I get the same error message although not using either combined if queries or the "all" match term.

    Any general hints?
  • Have you validated your citation style?
    http://www.zotero.org/support/dev/citation_styles#validation
    Invalid styles won't work in Z2.1, even if they used to.
  • Thanks for your comment; actually there are two mistakes in the code.
  • let us know if you have trouble fixing them.
Sign In or Register to comment.