"Syntax error" after any zotero plugin command - ID D97952544
Hi there,
I just edited my style (no warning in validator) and now, whatever action I try (add/edit citation/bibliography, setting preferences), I instantly get the error "Sntyx error in your document from MacWord.
Any ideas to fix this?
Mac OSX 10.6.8
MacWord 2011
Zotero 2.1.8
Thx!
I just edited my style (no warning in validator) and now, whatever action I try (add/edit citation/bibliography, setting preferences), I instantly get the error "Sntyx error in your document from MacWord.
Any ideas to fix this?
Mac OSX 10.6.8
MacWord 2011
Zotero 2.1.8
Thx!
This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
I was able fix this problem with the old copy, paste & reselect style-trick.
Then I got the message XML tag name mismatch (parent) and now I get the syntax error again :(
reinstalled macword plugin, restarted computer, word & firefox - no changes
I uploaded the style under https://gist.github.com/1099920
Meanwhile, I copy-pasted my document in a new word document, removed the last citation and added it again and it seems to work now.
The old file could not be repared by deleting the faulty citation, still claims the syntax error.
So my problem is fixed, but the question remains :)
Thx for the quick reply and have a nice weekend!
Anne
Thanks in advance
Anne
I have five days left to fix this problem and finish the thesis - trying not to panic....
my style worked very well but since a couple of month, the following error appears:
XML tag name mismatch (expected parent).
It happens with all different files, so it has to be the style. I guess it is due to change of csl 0.8 to csl 1.0. my style was created under csl 0.8 but i tried to change it to the new version.
if i use it in the test pane (chrome://zotero/content/tools/csledit.xul), a different error appears:
TypeError: state.fun.decorate[params[0]][params[1]] is not a function
here is the style: https://gist.github.com/1151234
i use firefox 5.0.1, zotero 2.1.8, mac wordintegration 3.1.6
thanks a lot!
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only">
instead of
<style class="in-text" version="1.0" demote-non-dropping-particle="sort-only">
2) in the "locator" macro, there is a line
<text variable="volume" font-style="italic "/>
removing the space after "italic" eliminates the error for me. I'm not sure why validator.nu doesn't catch this, though.
now. the validator accepts the style.
but it is similar to before. I can insert citations but when I insert bibliography,
the following error appears:
this.dateparts is undefined
do you know why?
thanks again
<date variable="issued"/>
Presumably, you want to show the whole date here? In that case, replace the line with something like:
<date variable="issued">
<date-part name="month" suffix=" "/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
now it works.
thanks