Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
kb:debugging_broken_documents [2023/06/13 21:32] – [Troubleshooting Errors in Word Processor Documents] dstillmankb:debugging_broken_documents [2024/12/02 03:10] (current) – Add an entry for Word macOS users about disabling clipboard software adomasven
Line 1: Line 1:
 ====== Troubleshooting Errors in Word Processor Documents ====== ====== Troubleshooting Errors in Word Processor Documents ======
  
-Follow the steps for your word processor below.+Follow the steps below for [[#microsoft_word|Microsoft Word]], [[#google_docs|Google Docs]], or [[#libreoffice|LibreOffice]].
 ===== Microsoft Word ===== ===== Microsoft Word =====
  
Line 10: Line 10:
     - Restart both Zotero and Word.     - Restart both Zotero and Word.
     - Make sure you're using the latest versions of Zotero and Word.     - Make sure you're using the latest versions of Zotero and Word.
-    - While troubleshooting, disable the Track Changes feature in Word/, as it can have complicated effects when working with Zotero. If Track Changes is enabled when you insert or modify a Zotero citation, it may mark many or all of the Zotero citations in your document as changed or cause [[word_field_codes|field codes to be displayed]]. On rare occasions, Track Changes may cause Zotero to think a citation is corrupted. If you had Track Changes enabled previously, try accepting all changes to see if that resolves the issue. +    - While troubleshooting, disable the Track Changes feature in Word, as it can have complicated effects when working with Zotero. If Track Changes is enabled when you insert or modify a Zotero citation, it may mark many or all of the Zotero citations in your document as changed or cause [[word_field_codes|field codes to be displayed]]. On rare occasions, Track Changes may cause Zotero to think a citation is corrupted. If you had Track Changes enabled previously, try accepting all changes to see if that resolves the issue
-    - Check for citations in image captions. Zotero won't let you insert them, but if you copied a citation to a caption that's most likely the source of the problem. Delete it.+    - In Word Options → Advanced, make sure "Typing replaces selected text" is checked. 
 +    - If you use any clipboard enhancing software on macOS such as TextExpander, LaunchBar, Pure Paste, etc., temporarily disable it
 +    - Check for citations in image captions. Zotero won't let you insert them, but if you copied a citation to a captionthat's most likely the source of the problem. Delete it.
     - Try copying and pasting the document content into a new document to see if the problem goes away. You may need to click the "Set Document Preferences" button before your old citations will be recognized.     - Try copying and pasting the document content into a new document to see if the problem goes away. You may need to click the "Set Document Preferences" button before your old citations will be recognized.
     - Make a copy of your document — by duplicating the file itself, not by copying and pasting the content — to use for debugging.     - Make a copy of your document — by duplicating the file itself, not by copying and pasting the content — to use for debugging.
-    - If using OneDrive on Windows, save the copy of the document to your local hard drive, or try  renaming the file to remove any spaces in the filename. OneDrive is known to interfere with the plugin for some people.+    - If using OneDrive on Windows, save the copy of the document to your local hard drive, or try renaming the file to remove any spaces in the filename. OneDrive is known to interfere with the plugin for some people.
     - Open the copied file and check if you get the error after switching to a different bibliography style.     - Open the copied file and check if you get the error after switching to a different bibliography style.
-    - If the document has a bibliography, delete it and check if you still get the error.+    - If the document has a bibliography, delete it completely and check if you still get the error.
     - While debugging, if you are using Fields mode in the Word plugin, it may help to display field codes rather than formatted text. To do this, press Alt/Option-F9 (or Alt/Option-Fn-F9) in Word.     - While debugging, if you are using Fields mode in the Word plugin, it may help to display field codes rather than formatted text. To do this, press Alt/Option-F9 (or Alt/Option-Fn-F9) in Word.
     - **Isolate the problematic citations.** In the copy of your document, delete half of the contents at a time and see if the error still occurs. If not, use Undo to restore the deleted section and then try deleting the other half. Repeat the halving process on the section that fails, or pick one at random if both do. Continue this until you find the smallest possible section, ideally with a single citation, that must be present for the problem to occur. Remove the isolated citations from the original document and the problem should go away (unless there are multiple broken citations, in which case you'll need to repeat the process). Unless the error still occurs if you completely clear the contents of the document, **this final step will by definition identify the problem.**     - **Isolate the problematic citations.** In the copy of your document, delete half of the contents at a time and see if the error still occurs. If not, use Undo to restore the deleted section and then try deleting the other half. Repeat the halving process on the section that fails, or pick one at random if both do. Continue this until you find the smallest possible section, ideally with a single citation, that must be present for the problem to occur. Remove the isolated citations from the original document and the problem should go away (unless there are multiple broken citations, in which case you'll need to repeat the process). Unless the error still occurs if you completely clear the contents of the document, **this final step will by definition identify the problem.**
  
-If you encounter a broken document, please create a new thread in the [[/forum|Zotero Forums]] so we can attempt to fix the issue. Be sure to include a [[:reporting_problems#provide_a_report_id|Report ID]] from Zotero, your operating system and Word versions, and the steps you've taken to try to fix the error. You should also send the document excerpt from Step 11 and a link to your forum thread to [[mailto:support@zotero.org|support@zotero.org]] so that we can try to reproduce the problem.+If you encounter a broken document, please create a new thread in the [[/forum|Zotero Forums]] so we can attempt to fix the issue. Include a [[:reporting_problems#provide_a_report_id|Report ID]] from Zotero, your operating system and Word versions, and the steps you've taken to try to fix the error. You should also send the document excerpt from Step 11 and a link to your forum thread to [[mailto:support@zotero.org|support@zotero.org]] so that we can try to reproduce the problem.
  
 ===== Google Docs ===== ===== Google Docs =====
Line 36: Line 38:
     - **Isolate the problematic citations.** In the copy of your document, delete half of the contents at a time and see if the error still occurs. If not, use Undo to restore the deleted section and then try deleting the other half. Repeat the halving process on the section that fails, or pick one at random if both do. Continue this until you find the smallest possible section, ideally with a single citation, that must be present for the problem to occur. Remove the isolated citations from the original document and the problem should go away (unless there are multiple broken citations, in which case you'll need to repeat the process). Unless the error still occurs if you completely clear the contents of the document, **this final step will by definition identify the problem.**     - **Isolate the problematic citations.** In the copy of your document, delete half of the contents at a time and see if the error still occurs. If not, use Undo to restore the deleted section and then try deleting the other half. Repeat the halving process on the section that fails, or pick one at random if both do. Continue this until you find the smallest possible section, ideally with a single citation, that must be present for the problem to occur. Remove the isolated citations from the original document and the problem should go away (unless there are multiple broken citations, in which case you'll need to repeat the process). Unless the error still occurs if you completely clear the contents of the document, **this final step will by definition identify the problem.**
  
-If you encounter a broken document, please create a new thread in the [[/forum|Zotero Forums]] so we can attempt to fix the issue. Include a [[:debug_output|Debug ID]] from the Zotero Connector for reproducing the problem and the steps you've taken to try to fix the error. You should also make a sharing link for the document excerpt from Step 7 and email it to [[mailto:support@zotero.org|support@zotero.org]] with a link to your forum thread so that we can try to reproduce the problem.+If you encounter a broken document, please create a new thread in the [[/forum|Zotero Forums]] so we can attempt to fix the issue. Include a [[:debug_output|Debug ID]] from the Zotero for reproducing the problem and the steps you've taken to try to fix the error. You should also make a sharing link for the document excerpt from Step 7 and email it to [[mailto:support@zotero.org|support@zotero.org]] with a link to your forum thread so that we can try to reproduce the problem.
  
 ===== LibreOffice ===== ===== LibreOffice =====
Line 48: Line 50:
     - While troubleshooting, disable the Track Changes feature in LibreOffice, as it can have complicated effects when working with Zotero. If Track Changes is enabled when you insert or modify a Zotero citation, it may mark many or all of the Zotero citations in your document as changed or cause [[word_field_codes|field codes to be displayed]]. On rare occasions, Track Changes may cause Zotero to think a citation is corrupted. If you had Track Changes enabled previously, try accepting all changes to see if that resolves the issue.     - While troubleshooting, disable the Track Changes feature in LibreOffice, as it can have complicated effects when working with Zotero. If Track Changes is enabled when you insert or modify a Zotero citation, it may mark many or all of the Zotero citations in your document as changed or cause [[word_field_codes|field codes to be displayed]]. On rare occasions, Track Changes may cause Zotero to think a citation is corrupted. If you had Track Changes enabled previously, try accepting all changes to see if that resolves the issue.
     - Check for citations in image captions. Zotero won't let you insert them, but if you copied a citation to a caption that's most likely the source of the problem. Delete it.     - Check for citations in image captions. Zotero won't let you insert them, but if you copied a citation to a caption that's most likely the source of the problem. Delete it.
 +    - Make sure your LibreOffice text style uses the same text style in the "Next Style" property.
     - Try copying and pasting the document content into a new document to see if the problem goes away. You may need to click the "Set Document Preferences" button before your old citations will be recognized.     - Try copying and pasting the document content into a new document to see if the problem goes away. You may need to click the "Set Document Preferences" button before your old citations will be recognized.
     - Make a copy of your document — by duplicating the file itself, not by copying and pasting the content — to use for debugging.     - Make a copy of your document — by duplicating the file itself, not by copying and pasting the content — to use for debugging.
Line 55: Line 58:
     - **Isolate the problematic citations.** In the copy of the document, delete half of the contents at a time and see if the error still occurs. If not, use Undo to restore the deleted section and then try deleting the other half. Repeat the halving process on the section that fails, or pick one at random if both do. Continue this until you find the smallest possible section, ideally with a single citation, that must be present for the problem to occur. Remove the isolated citations from the original document and the problem should go away (unless there are multiple broken citations, in which case you'll need to repeat the process). Unless the error still occurs if you completely clear the contents of the document, **this final step will by definition identify the problem.**     - **Isolate the problematic citations.** In the copy of the document, delete half of the contents at a time and see if the error still occurs. If not, use Undo to restore the deleted section and then try deleting the other half. Repeat the halving process on the section that fails, or pick one at random if both do. Continue this until you find the smallest possible section, ideally with a single citation, that must be present for the problem to occur. Remove the isolated citations from the original document and the problem should go away (unless there are multiple broken citations, in which case you'll need to repeat the process). Unless the error still occurs if you completely clear the contents of the document, **this final step will by definition identify the problem.**
  
-If you encounter a broken document, please create a new thread in the [[/forum|Zotero Forums]] so we can attempt to fix the issue. Be sure to include a [[:reporting_problems#provide_a_report_id|Report ID]] from Zotero, your operating system and LibreOffice versions, and the steps you've taken to try to fix the error. You should also send the document excerpt from Step 11 and a link to your forum thread to [[mailto:support@zotero.org|support@zotero.org]] so that we can try to reproduce the problem.+If you encounter a broken document, please create a new thread in the [[/forum|Zotero Forums]] so we can attempt to fix the issue. Include a [[:reporting_problems#provide_a_report_id|Report ID]] from Zotero, your operating system and LibreOffice versions, and the steps you've taken to try to fix the error. You should also send the document excerpt from Step 11 and a link to your forum thread to [[mailto:support@zotero.org|support@zotero.org]] so that we can try to reproduce the problem.
kb/debugging_broken_documents.1686706348.txt.gz · Last modified: 2023/06/13 21:32 by dstillman