trying to use a Word/DOC/Zotero document with LibreOffice/ODT/Zotero
I have an older document created with MS Office Word 2007 and saved in the .DOC format containing Zotero citations.
For this case I would like to use the extended page layout settings and formatting styles) of the document and would not care if loosing all Zotero-related functionality (reconstruct bibliography from scratch).
I do not have MS Office Word 2007 with Zotero plugin available anymore and wonder how I could maybe edit the file so that Zotero works again. Currently the Zotero toolbar in LibreOffice Write gives me a error/warning window:
Zotero cannot update this document because it was created by a different word processing application with an incompatible field encoding. In order to make a document compatible with both Word and OpenOffice.org/LibreOffice/NeoOffice, open the document in the word processor with which it was originally created and switch the field type to Bookmarks in the Zotero Document Preferences.
I have consulted related pages like:
https://forums.zotero.org/discussion/52321/zotero-experienced-an-error-updating-your-document/
https://www.zotero.org/support/word_processor_plugin_troubleshooting#debugging_broken_documents
So I need to reconstruct the documents layout in LibO Write or is there some hacking in the ODT file format (when I save to this format) possible?
What if I have another such document where I would like to continue to work with the Zotero content?
Is trying to fix this on a system with Word + Zotero the only way?
For this case I would like to use the extended page layout settings and formatting styles) of the document and would not care if loosing all Zotero-related functionality (reconstruct bibliography from scratch).
I do not have MS Office Word 2007 with Zotero plugin available anymore and wonder how I could maybe edit the file so that Zotero works again. Currently the Zotero toolbar in LibreOffice Write gives me a error/warning window:
Zotero cannot update this document because it was created by a different word processing application with an incompatible field encoding. In order to make a document compatible with both Word and OpenOffice.org/LibreOffice/NeoOffice, open the document in the word processor with which it was originally created and switch the field type to Bookmarks in the Zotero Document Preferences.
I have consulted related pages like:
https://forums.zotero.org/discussion/52321/zotero-experienced-an-error-updating-your-document/
https://www.zotero.org/support/word_processor_plugin_troubleshooting#debugging_broken_documents
So I need to reconstruct the documents layout in LibO Write or is there some hacking in the ODT file format (when I save to this format) possible?
What if I have another such document where I would like to continue to work with the Zotero content?
Is trying to fix this on a system with Word + Zotero the only way?
- unzip the ODT
- open meta.xml and delete all Zotero meta fields
- rezip to ODT
- open in LibO Write (Zotero now works for me)
Still I wonder what to do with .DOC files were I would like to continue to use Zotero content but without having the original word processor software available?
FYI the code I deleted from the meta.xml
<meta:user-defined meta:name="ZOTERO_PREF_1">
<data data-version="3" zotero-version="3.0b2"><session id="SioeX4m7"/>
<style id="http://www.zotero.org/styles/plos-genetics" hasBibliography="1"
bibliographyStyleHasBeenSet="1"/><prefs><pref name="fieldType" value="Field"/>
<pref name="storeReferences" val</meta:user-defined>
<meta:user-defined meta:name="ZOTERO_PREF_2">
ue="false"/><pref name="noteType" value="0"/></prefs>
</data></meta:user-defined>
I'd have thought you could have achieved what you did by using "Remove Field Codes" in the Zotero LO add-on, but I didn't test this.
I renamed the docx to zip.
Opened the docProps/common.xml and deleted all the tags that were connected to Zotero.
Renamed back the file to docx.
Unfortunately I had to set the Zotero props again from Word, but at least it works.
Thanks ChristianR!
I got the notice that it might become unstable when renaming the file and ignored it. Libre gave me a warning that the file was corrupt and could be dangerous to open, but it could try to repair it. But it was unable to do so. Any ideas?
I lost my last hard drive. Recovered my files but am unable to regain access to Word, so I am working with Libre instead.