Inserting citation into a word document causes alot of repagination
I have a rather large document with a lot of citations. I'm using the latest version of Zotero.
Until recently, whenever I upgraded Zotero, inserting a new citation after the upgrade would cause word to repaginate the document alot (I'd have to walk away and have a coffee). That was tolerable ... upgrades didn't happen that frequently.
However, of late (since the last upgrade?), the problem of almost "endless" repagination has started happening even without having done an upgrade. In the past hour it's happened twice and it makes working impossible (word is effectively locked, and so is firefox, until the pagination is over).
Until recently, whenever I upgraded Zotero, inserting a new citation after the upgrade would cause word to repaginate the document alot (I'd have to walk away and have a coffee). That was tolerable ... upgrades didn't happen that frequently.
However, of late (since the last upgrade?), the problem of almost "endless" repagination has started happening even without having done an upgrade. In the past hour it's happened twice and it makes working impossible (word is effectively locked, and so is firefox, until the pagination is over).
This isn't a fix for the underlying issue, but you could try switching to draft view, which should make the document updates faster.
Presumably, Zotero is updating each citation and then word is re-paginating after each 'change'. I wonder why the behaviour has changed; could there be a way for Zotero to have Word defer the updates/re-pagination until after it has gone through the whole document.... or not have it update every citation in the first place.
In case it matters there isn't a bibliography in the document ... I stopped doing that a long time ago as it was too too slow.
That's clearly a work-around - the other thing is - I don't understand why Zotero would update/change any of the other citations - presumably the should stay the same?
Hi Anders ... Thanks for the advice. I'm not using track changes.
[The fact that I'm back here is a sign that word is frantically repaginating again).
Sorry, this is all a bit of guesswork here, but I don't think anyone has ever seen the behavior you're describing before, so we are scrambling to figure out what's going on - is there any way you can try this out on a second computer?
(i.e. copy your data folder
http://www.zotero.org/support/zotero_data, install Zotero on the 2nd computer, load your database, open the document and see if this occurs again.
I copied the document over to a new machine and I copied my library over too.
Inserted a new citation near the end of the start of the document. There was a short pause after clicking okay (4-5 seconds) and then the citation is there. I closed word (not saving the document).
I opened the document and went to the end and inserted a citation there. Long long wait (the machine is still going as I time this) whilst it repaginates.
The length of the citations may not change, but I'm guessing that word believes they might have changed. So it repaginates all 143 pages 466 times. Not a quick process.
This doesn't happen everytime ... maybe its only when Zotero/Word/Firefox thinks there has been some sort of upgrade to Zotero/Word/Firefox.
I was going to have a look at the code in Zotero.dot, but alas on my machine it says it is protected and I can't access it. Nor can I find the right place in the SVN to read it either.
If you download (rather than install) and unpack the full plugin .xpi
http://www.zotero.org/download/integration/Zotero-WinWord-Plugin-3.0a3.xpi
you should be able to look at all the code, I believe.
Best!
1) Use draft view.
2) Only insert citations at the end of the text. (Inserting a new numeric citation in the middle of your text requires that each subsequent citation be updated, which is probably the cause of the long repagination.)
3) Use an author-date style and then switch to a numeric style when you are done.
4) Use Zotero 2.1 beta, which should reduce the amount of repagination in Word for Windows (but not in Word for Mac). But this may not be such a great idea if you are in the middle of a 180 page document, since this is beta software.
You can combine some of these for better effect.
What I can say for sure is that I first noticed it after putting several section breaks into the document. Could this be a problem?
My solution has been to turn on draft view when I first open the document and insert a citation. It takes a little time for Word to calm down then, but not long. Then I can go back to whatever view I wish and insert citations freely.