Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
kb:debugging_broken_documents [2023/06/13 21:29] – dstillman | kb: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 ====== | ||
- | ===== Word ===== | + | Follow the steps below for [[# |
+ | ===== Microsoft | ||
If you get an error trying to use Zotero in a **new, empty document**, see [[: | If you get an error trying to use Zotero in a **new, empty document**, see [[: | ||
- | If you can insert citations into a new, empty document but get an error using Zotero in an **existing document**, follow these steps: | + | If you can insert citations into a new, empty Word document but get an error using Zotero in an **existing document**, follow these steps: |
- 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, | + | - While troubleshooting, |
- | - 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 " |
+ | - If you use any clipboard enhancing software on macOS such as TextExpander, | ||
+ | - 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. | ||
- 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" | - 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" | ||
- 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, | + | - If the document has a bibliography, |
- 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/ | - 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/ | ||
- **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 [[/ | + | If you encounter a broken document, please create a new thread in the [[/ |
===== Google Docs ===== | ===== Google Docs ===== | ||
Line 25: | Line 28: | ||
If you get an error trying to use Zotero in a **new, empty document**, see [[: | If you get an error trying to use Zotero in a **new, empty document**, see [[: | ||
- | If you can insert citations into a new, empty document | + | If you can insert citations into a new, empty Google Doc but get an error using Zotero in an **existing document**, follow these steps: |
- Restart both Zotero and your browser. | - Restart both Zotero and your browser. | ||
Line 35: | 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 [[/ | + | If you encounter a broken document, please create a new thread in the [[/ |
===== LibreOffice ===== | ===== LibreOffice ===== | ||
Line 41: | Line 44: | ||
If you get an error trying to use Zotero in a **new, empty document**, see [[: | If you get an error trying to use Zotero in a **new, empty document**, see [[: | ||
- | If you can insert citations into a new, empty document but get an error using Zotero in an **existing document**, follow these steps: | + | If you can insert citations into a new, empty LibreOffice |
- Restart both Zotero and LibreOffice. | - Restart both Zotero and LibreOffice. | ||
Line 47: | Line 50: | ||
- While troubleshooting, | - While troubleshooting, | ||
- 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" | - 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" | ||
- 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 54: | 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 [[/ | + | If you encounter a broken document, please create a new thread in the [[/ |