Repository navigation
Annotate PDF v1.0.7 — write Zotero's annotations into the PDF file itself, from the item context menu or the PDF reader toolbar.
This release includes every fix since 1.0.0 (1.0.1 – 1.0.7):
Fixed
- Annotations no longer stack up when the same file is written repeatedly
(Zotero's writer appends to/Annots; only in-place writes hit this). Each
write now removes the annotations it wrote before, so files written several
times are repaired by the next write. - PDFs annotated in other apps are merged, not refused. Annotations that did
not come from this item are imported into Zotero as editable annotations
(Zotero's own Import Annotations… round trip) and then written back once. - Read-only ("external") leftovers are cleaned up: the locked copies Zotero
creates each time an annotated file is opened are moved to the trash when they
duplicate an editable annotation; read-only items with no counterpart in the
file are converted into editable ones. this._worker is nullon the first write after starting Zotero: the PDF
worker is now initialized before it is used directly.- Menu entry works on library items, not only on PDF attachment rows (a
regular item is expanded to its PDF attachments), and it is a single plain
entry (the previous submenu could not be expanded). - Menu entry marker: the entry carries a
🖍️glyph in front of its label,
which always renders (Zotero's menu icon CSS variables did not produce a
visible icon on some setups;menuIconStyle=imageswitches back to the PNG
approach). The entry's visibility/marker is applied from the first menu open. - Overwrite confirmation text now distinguishes linked files (never uploaded —
no sync impact) from Zotero-stored files.
Preferences
defaultAction (copy/overwrite/saveas/ask), outputDir,
backupOnOverwrite, confirmOverwrite, adoptForeignAnnotations,
menuIconStyle, silentErrors.
Verification
Automated end-to-end suite on Zotero 10.0.8 (Windows), all green: repeated
overwrite without stacking, adoption of externally made annotations, trashing of
read-only duplicates, cold-worker write, reader toolbar button, menu visibility
and marker, annotation round-trip (type/color/comment/rects), linked-file copy,
cleanup. Additionally verified against a real library: 39 affected papers fixed
in place, 5,269 annotations, none left read-only.
Install: Tools → Plugins → gear → Install Plugin From File… → pick the .xpi.